Guard policy clean up
Remove guard policy related code, so that it will not be shown or
created in the legacy policy UI.
Issue-ID: CLAMP-825
Change-Id: I6c654fef9fd9df810fd48600c91ffef96db371cd
Signed-off-by: xuegao <xg353y@intl.att.com>
diff --git a/ui-react/src/api/LoopCache.test.js b/ui-react/src/api/LoopCache.test.js
index 4642ff5..b0eef75 100644
--- a/ui-react/src/api/LoopCache.test.js
+++ b/ui-react/src/api/LoopCache.test.js
@@ -34,7 +34,6 @@
const opPolicy = [{
"name": "OPERATIONAL_h2NMX_v1_0_ResourceInstanceName1_tca",
"configurationsJson": {
- "guard_policies": {},
"operational_policy": {
"controlLoop": {},
"policies": []
@@ -51,7 +50,6 @@
const opPolicy = [{
"name": "OPERATIONAL_h2NMX_v1_0_ResourceInstanceName1_tca",
"configurationsJson": {
- "guard_policies": {},
"operational_policy": {
"controlLoop": {},
"policies": []
@@ -157,7 +155,7 @@
"id": 1,
"logType": "INFO",
"logComponent": "CLAMP",
- "message": "Operational and Guard policies UPDATED",
+ "message": "Operational policies UPDATED",
"logInstant": "2019-07-08T09:44:37Z"
}
];
@@ -196,7 +194,6 @@
it('updateOperationalPolicyProperties', () => {
const newOpPolicy = {
- "guard_policies": {},
"operational_policy": {
"controlLoop": {},
"policies": []