Removed the property which toggles configscaleout 75/46475/1
authorPatrick Brady <pb071s@att.com>
Mon, 7 May 2018 21:49:11 +0000 (14:49 -0700)
committerPatrick Brady <pb071s@att.com>
Mon, 7 May 2018 21:49:21 +0000 (14:49 -0700)
Change-Id: I9d5aaa07aeed62c83eea123f34de2735fb58ef02
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-886

src/app/cdt.application.properties.json
src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.ts

index d96780a..899529e 100644 (file)
@@ -4,6 +4,5 @@
         "CONTACT_US_SUBJECT": "CDT Contact Us"
     },
     "username": "appc123@appc.onap.org",
-    "password": "test",
-    "showconfigsaleout": true
-}
\ No newline at end of file
+    "password": "test"
+}
index 14ccdbc..acd99e0 100644 (file)
@@ -157,12 +157,7 @@ export class ReferenceDataformComponent implements OnInit {
     }
 
     ngOnInit() {
-        this.configScaleOutExist = require('../../../cdt.application.properties.json').showconfigsaleout;
-        if (this.configScaleOutExist) {
-            this.actions = ['', 'Configure', 'ConfigModify', 'ConfigBackup', 'ConfigRestore', 'GetRunningConfig', 'HealthCheck', 'StartApplication', 'StopApplication', 'QuiesceTraffic', 'ResumeTraffic', 'UpgradeBackout', 'UpgradeBackup', 'UpgradePostCheck', 'UpgradePreCheck', 'UpgradeSoftware', 'OpenStack Actions', 'ConfigScaleOut'];
-        } else {
-            this.actions = ['', 'Configure', 'ConfigModify', 'ConfigBackup', 'ConfigRestore', 'GetRunningConfig', 'HealthCheck', 'StartApplication', 'StopApplication', 'QuiesceTraffic', 'ResumeTraffic', 'UpgradeBackout', 'UpgradeBackup', 'UpgradePostCheck', 'UpgradePreCheck', 'UpgradeSoftware', 'OpenStack Actions'];
-        }
+
         this.self = this;
         let path = this.location.path;
         this.title = 'Reference Data';
@@ -1367,4 +1362,4 @@ export class ReferenceDataformComponent implements OnInit {
         this.remUploadedDataArray = vnfcFunctionCodeArrayList;
        }
     }
-}
\ No newline at end of file
+}