Test Storage

main
Anthony 2024-11-12 01:09:10 +08:00
parent 17ec4bb45f
commit 7cc7310f45
1 changed files with 9 additions and 2 deletions

View File

@ -6,8 +6,15 @@ var wafAddon = getParam('settings.wafAddon', true);
var resp = {
result: 0,
ssl: !!jelastic.billing.account.GetQuotas('environment.jelasticssl.enabled').array[0].value,
nodes: []
ssl: !!jelastic.billing.account.GetQuotas('environment.jelasticssl.enabled').array[0]?.value,
nodes: [{
nodeType: "storage",
flexibleCloudlets: getParam('settings.st_flexibleCloudlets', 8),
fixedCloudlets: getParam('settings.st_fixedCloudlets', 1),
diskLimit: getParam('settings.st_diskLimit', 100),
nodeGroup: "storage",
displayName: "Storage"
}]
};
resp.nodes.push({