From 8796570b4efc438680aaa2b7fb5117d7610960cb Mon Sep 17 00:00:00 2001 From: Patrick Brady Date: Mon, 7 May 2018 14:49:11 -0700 Subject: Removed the property which toggles configscaleout Change-Id: I9d5aaa07aeed62c83eea123f34de2735fb58ef02 Signed-off-by: Patrick Brady Issue-ID: APPC-886 --- src/app/cdt.application.properties.json | 5 ++--- .../reference-dataform/reference-dataform.component.ts | 9 ++------- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'src/app') diff --git a/src/app/cdt.application.properties.json b/src/app/cdt.application.properties.json index d96780a..899529e 100644 --- a/src/app/cdt.application.properties.json +++ b/src/app/cdt.application.properties.json @@ -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" +} diff --git a/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.ts b/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.ts index 14ccdbc..acd99e0 100644 --- a/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.ts +++ b/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.ts @@ -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 +} -- cgit 1.2.3-korg