incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muralire...@apache.org
Subject [40/50] [abbrv] git commit: refs/heads/gslb-wip - CLOUDSTACK-1717, CLOUDSTACK-1718: Corrected RemoveRegion response. Removed /api in Local region end_point
Date Wed, 20 Mar 2013 01:41:17 GMT
CLOUDSTACK-1717, CLOUDSTACK-1718: Corrected RemoveRegion response. Removed /api in Local region
end_point


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/217ebf20
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/217ebf20
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/217ebf20

Branch: refs/heads/gslb-wip
Commit: 217ebf20a62006c999505ff1535a7bbf908b7763
Parents: c02ab3f
Author: Kishan Kavala <kishan@cloud.com>
Authored: Tue Mar 19 14:24:12 2013 +0530
Committer: Kishan Kavala <kishan@cloud.com>
Committed: Tue Mar 19 16:58:43 2013 +0530

----------------------------------------------------------------------
 .../api/command/admin/region/RemoveRegionCmd.java  |    2 +-
 setup/db/db/schema-40to410.sql                     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/217ebf20/api/src/org/apache/cloudstack/api/command/admin/region/RemoveRegionCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/admin/region/RemoveRegionCmd.java b/api/src/org/apache/cloudstack/api/command/admin/region/RemoveRegionCmd.java
index 79c34d0..d2b696d 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/region/RemoveRegionCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/region/RemoveRegionCmd.java
@@ -33,7 +33,7 @@ import com.cloud.user.Account;
 @APICommand(name = "removeRegion", description="Removes specified region", responseObject=SuccessResponse.class)
 public class RemoveRegionCmd extends BaseCmd {
     public static final Logger s_logger = Logger.getLogger(RemoveRegionCmd.class.getName());
-    private static final String s_name = "updateregionresponse";
+    private static final String s_name = "removeregionresponse";
 
     /////////////////////////////////////////////////////
     //////////////// API parameters /////////////////////

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/217ebf20/setup/db/db/schema-40to410.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-40to410.sql b/setup/db/db/schema-40to410.sql
index 865fbd3..0f316a5 100644
--- a/setup/db/db/schema-40to410.sql
+++ b/setup/db/db/schema-40to410.sql
@@ -261,7 +261,7 @@ CREATE TABLE  `cloud`.`region` (
   PRIMARY KEY  (`id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
-INSERT INTO `cloud`.`region` values ('1','Local','http://localhost:8080/client/api');
+INSERT INTO `cloud`.`region` values ('1','Local','http://localhost:8080/client');
 
 INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Account Defaults', 'DEFAULT', 'management-server',
'max.account.cpus', '40', 'The default maximum number of cpu cores that can be used for an
account');
 


Mime
View raw message