diff options
-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 +} |