mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-3818: Cache Storage API commands have been renamed. Here is related UI change.
This commit is contained in:
parent
1c2362c163
commit
81b121bbe0
@ -7371,11 +7371,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: createURL('listCacheStores' + searchByArgs),
|
url: createURL('listSecondaryStagingStore' + searchByArgs),
|
||||||
data: data,
|
data: data,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
args.response.success({
|
args.response.success({
|
||||||
data: json.listcachestoreresponse.imagestore
|
data: json.listsecondarystagingstoreresponse.imagestore
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
error: function(json) {
|
error: function(json) {
|
||||||
@ -14869,7 +14869,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: createURL('createCacheStore'),
|
url: createURL('createSecondaryStagingStore'),
|
||||||
data: nfsCacheData,
|
data: nfsCacheData,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
//do nothing
|
//do nothing
|
||||||
@ -15157,10 +15157,10 @@
|
|||||||
url: nfsURL(args.data.nfsServer, args.data.path)
|
url: nfsURL(args.data.nfsServer, args.data.path)
|
||||||
};
|
};
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: createURL('createCacheStore'),
|
url: createURL('createSecondaryStagingStore'),
|
||||||
data: data,
|
data: data,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
var item = json.createcachestoreresponse.secondarystorage;
|
var item = json.createsecondarystagingstoreresponse.secondarystorage;
|
||||||
args.response.success({
|
args.response.success({
|
||||||
data: item
|
data: item
|
||||||
});
|
});
|
||||||
@ -15202,7 +15202,7 @@
|
|||||||
id: args.context.cacheStorage[0].id
|
id: args.context.cacheStorage[0].id
|
||||||
};
|
};
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: createURL('deleteCacheStore'),
|
url: createURL('deleteSecondaryStagingStore'),
|
||||||
data: data,
|
data: data,
|
||||||
async: true,
|
async: true,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
@ -15262,13 +15262,13 @@
|
|||||||
|
|
||||||
dataProvider: function(args) {
|
dataProvider: function(args) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: createURL('listCacheStores'),
|
url: createURL('listSecondaryStagingStore'),
|
||||||
data: {
|
data: {
|
||||||
id: args.context.cacheStorage[0].id
|
id: args.context.cacheStorage[0].id
|
||||||
},
|
},
|
||||||
async: false,
|
async: false,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
var item = json.listcachestoreresponse.imagestore[0];
|
var item = json.listsecondarystagingstoreresponse.imagestore[0];
|
||||||
args.response.success({
|
args.response.success({
|
||||||
data: item
|
data: item
|
||||||
});
|
});
|
||||||
|
|||||||
@ -4171,7 +4171,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: createURL('createCacheStore'),
|
url: createURL('createSecondaryStagingStore'),
|
||||||
data: nfsCacheData,
|
data: nfsCacheData,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
//do nothing
|
//do nothing
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user