cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [8/9] git commit: updated refs/heads/ui-cisco-asa1000v-support to 2ac22ef
Date Thu, 09 May 2013 18:33:20 GMT
CLOUDSTACK-2408: Object name is Null with list VNMC/List ASA API response

Made the object name consistent between list and add api responses


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

Branch: refs/heads/ui-cisco-asa1000v-support
Commit: 8f9a42e0af7424517c7853197a781c0c81addad1
Parents: bde9ad3
Author: Koushik Das <koushik.das@citrix.com>
Authored: Thu May 9 15:58:59 2013 +0530
Committer: Koushik Das <koushik.das@citrix.com>
Committed: Thu May 9 15:58:59 2013 +0530

----------------------------------------------------------------------
 .../commands/ListCiscoAsa1000vResourcesCmd.java    |    2 +-
 .../api/commands/ListCiscoVnmcResourcesCmd.java    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8f9a42e0/plugins/network-elements/cisco-vnmc/src/com/cloud/api/commands/ListCiscoAsa1000vResourcesCmd.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/cisco-vnmc/src/com/cloud/api/commands/ListCiscoAsa1000vResourcesCmd.java
b/plugins/network-elements/cisco-vnmc/src/com/cloud/api/commands/ListCiscoAsa1000vResourcesCmd.java
index 7a4db69..88ea270 100755
--- a/plugins/network-elements/cisco-vnmc/src/com/cloud/api/commands/ListCiscoAsa1000vResourcesCmd.java
+++ b/plugins/network-elements/cisco-vnmc/src/com/cloud/api/commands/ListCiscoAsa1000vResourcesCmd.java
@@ -89,7 +89,7 @@ public class ListCiscoAsa1000vResourcesCmd extends BaseListCmd {
             if (ciscoAsa1000vDevices != null && !ciscoAsa1000vDevices.isEmpty())
{
                 for (CiscoAsa1000vDevice ciscoAsa1000vDeviceVO : ciscoAsa1000vDevices) {
                     CiscoAsa1000vResourceResponse ciscoAsa1000vResourceResponse = _ciscoAsa1000vService.createCiscoAsa1000vResourceResponse(ciscoAsa1000vDeviceVO);
-                    ciscoAsa1000vResourceResponse.setObjectName("asa1000v");
+                    ciscoAsa1000vResourceResponse.setObjectName("CiscoAsa1000vResource");
                     ciscoAsa1000vResourcesResponse.add(ciscoAsa1000vResourceResponse);
                 }
             }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8f9a42e0/plugins/network-elements/cisco-vnmc/src/com/cloud/api/commands/ListCiscoVnmcResourcesCmd.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/cisco-vnmc/src/com/cloud/api/commands/ListCiscoVnmcResourcesCmd.java
b/plugins/network-elements/cisco-vnmc/src/com/cloud/api/commands/ListCiscoVnmcResourcesCmd.java
index b15c4e1..73128ec 100644
--- a/plugins/network-elements/cisco-vnmc/src/com/cloud/api/commands/ListCiscoVnmcResourcesCmd.java
+++ b/plugins/network-elements/cisco-vnmc/src/com/cloud/api/commands/ListCiscoVnmcResourcesCmd.java
@@ -84,7 +84,7 @@ public class ListCiscoVnmcResourcesCmd extends BaseListCmd {
             if (ciscoVnmcResources != null && !ciscoVnmcResources.isEmpty()) {
                 for (CiscoVnmcController ciscoVnmcResourceVO : ciscoVnmcResources) {
                     CiscoVnmcResourceResponse ciscoVnmcResourceResponse = _ciscoVnmcElementService.createCiscoVnmcResourceResponse(ciscoVnmcResourceVO);
-                    ciscoVnmcResourceResponse.setObjectName("vnmc");
+                    ciscoVnmcResourceResponse.setObjectName("CiscoVnmcResource");
                     ciscoVnmcResourcesResponse.add(ciscoVnmcResourceResponse);
                 }
             }


Mime
View raw message