summaryrefslogtreecommitdiffstats
path: root/ui-react/src/api/LoopCache.js
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-02-27 11:39:50 -0800
committersebdet <sebastien.determe@intl.att.com>2020-02-27 11:39:50 -0800
commit58135b810746267b300fbd5b1483e9920166c221 (patch)
tree089c96bcc02700cfad7abe10ca8e501cf3823740 /ui-react/src/api/LoopCache.js
parentd2a4df0b62b6a32c42bac45b4bee344016faa8fb (diff)
Fix the loopCache
Fix the loop cache so that the micro service configuration are well read. Issue-ID: CLAMP-653 Change-Id: I68524bd3d5bfbf5ca5a3acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'ui-react/src/api/LoopCache.js')
-rw-r--r--ui-react/src/api/LoopCache.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-react/src/api/LoopCache.js b/ui-react/src/api/LoopCache.js
index b17723089..03cec9fa6 100644
--- a/ui-react/src/api/LoopCache.js
+++ b/ui-react/src/api/LoopCache.js
@@ -31,7 +31,7 @@ export default class LoopCache {
updateMicroServiceProperties(name, newMsProperties) {
for (var policy in this.loopJsonCache["microServicePolicies"]) {
if (this.loopJsonCache["microServicePolicies"][policy]["name"] === name) {
- this.loopJsonCache["microServicePolicies"][policy]["properties"] = newMsProperties;
+ this.loopJsonCache["microServicePolicies"][policy]["configurationsJson"] = newMsProperties;
}
}
}
@@ -91,7 +91,7 @@ export default class LoopCache {
getOperationalPolicyPropertiesForName(name) {
var opConfig = this.getOperationalPolicyForName(name);
if (opConfig !== null) {
- return opConfig["properties"];
+ return opConfig["configurationsJson"];
}
return null;
}
@@ -118,7 +118,7 @@ export default class LoopCache {
getMicroServicePropertiesForName(name) {
var msConfig = this.getMicroServiceForName(name);
if (msConfig !== null) {
- return msConfig["properties"];
+ return msConfig["configurationsJson"];
}
return null;
}