cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: updated refs/heads/master to 81b121b
Date Fri, 26 Jul 2013 21:46:16 GMT
Updated Branches:
  refs/heads/master 1c2362c16 -> 81b121bbe


CLOUDSTACK-3818: Cache Storage API commands have been renamed. Here is related UI change.


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

Branch: refs/heads/master
Commit: 81b121bbe0f042bdf97f105d38a11eef63f8e16e
Parents: 1c2362c
Author: Jessica Wang <jessicawang@apache.org>
Authored: Fri Jul 26 14:44:01 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Fri Jul 26 14:46:08 2013 -0700

----------------------------------------------------------------------
 ui/scripts/system.js     | 16 ++++++++--------
 ui/scripts/zoneWizard.js |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/81b121bb/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index 03a65d8..14a71df 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -7371,11 +7371,11 @@
                                                     };
 
                                                     $.ajax({
-                                                        url: createURL('listCacheStores'
+ searchByArgs),
+                                                        url: createURL('listSecondaryStagingStore'
+ searchByArgs),
                                                         data: data,
                                                         success: function(json) {
                                                             args.response.success({
-                                                                data: json.listcachestoreresponse.imagestore
+                                                                data: json.listsecondarystagingstoreresponse.imagestore
                                                             });
                                                         },
                                                         error: function(json) {
@@ -14869,7 +14869,7 @@
                                                 };
 
                                                 $.ajax({
-                                                    url: createURL('createCacheStore'),
+                                                    url: createURL('createSecondaryStagingStore'),
                                                     data: nfsCacheData,
                                                     success: function(json) {
                                                         //do nothing
@@ -15157,10 +15157,10 @@
                                             url: nfsURL(args.data.nfsServer, args.data.path)
                                         };
                                         $.ajax({
-                                            url: createURL('createCacheStore'),
+                                            url: createURL('createSecondaryStagingStore'),
                                             data: data,
                                             success: function(json) {
-                                                var item = json.createcachestoreresponse.secondarystorage;
+                                                var item = json.createsecondarystagingstoreresponse.secondarystorage;
                                                 args.response.success({
                                                     data: item
                                                 });
@@ -15202,7 +15202,7 @@
                                             	id: args.context.cacheStorage[0].id
                                             };
                                             $.ajax({
-                                                url: createURL('deleteCacheStore'),
+                                                url: createURL('deleteSecondaryStagingStore'),
                                                 data: data,
                                                 async: true,
                                                 success: function(json) {
@@ -15262,13 +15262,13 @@
 
                                         dataProvider: function(args) {
                                             $.ajax({
-                                                url: createURL('listCacheStores'),
+                                                url: createURL('listSecondaryStagingStore'),
                                                 data: {
                                                     id: args.context.cacheStorage[0].id
                                                 },
                                                 async: false,
                                                 success: function(json) {
-                                                    var item = json.listcachestoreresponse.imagestore[0];
+                                                    var item = json.listsecondarystagingstoreresponse.imagestore[0];
                                                     args.response.success({
                                                         data: item
                                                     });

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/81b121bb/ui/scripts/zoneWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js
index 67f67d9..10aa486 100755
--- a/ui/scripts/zoneWizard.js
+++ b/ui/scripts/zoneWizard.js
@@ -4171,7 +4171,7 @@
                             };
 
                             $.ajax({
-                                url: createURL('createCacheStore'),
+                                url: createURL('createSecondaryStagingStore'),
                                 data: nfsCacheData,
                                 success: function(json) {
                                     //do nothing


Mime
View raw message