diff options
author | Patrick Brady <pb071s@att.com> | 2018-05-07 14:49:11 -0700 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2018-05-07 14:49:21 -0700 |
commit | 8796570b4efc438680aaa2b7fb5117d7610960cb (patch) | |
tree | a91e9c41920ee1ca2ad4ed0cedb77eefcb5681c8 | |
parent | 0d96963cd3b07b26c29aa96da5fe159a4ef722c0 (diff) |
Removed the property which toggles configscaleout
Change-Id: I9d5aaa07aeed62c83eea123f34de2735fb58ef02
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-886
-rw-r--r-- | src/app/cdt.application.properties.json | 5 | ||||
-rw-r--r-- | src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.ts | 9 |
2 files changed, 4 insertions, 10 deletions
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 +} |