From 179fea047479a44ef2fb0490c272f7f97127bbe9 Mon Sep 17 00:00:00 2001 From: Enbo Wang Date: Sat, 1 Feb 2020 21:49:51 +0800 Subject: Add new actions DownloadNESw and ActivateNESw for CDT Issue-ID: APPC-1813 Signed-off-by: Enbo Wang Change-Id: I1eecaf465d2f9a5be2991dc8f055b8fd3da447c3 --- src/app/test/test.component.spec.ts | 2 ++ .../reference-dataform/reference-dataform.component.ts | 4 ++++ src/constants/app-constants.ts | 4 +++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/app/test/test.component.spec.ts b/src/app/test/test.component.spec.ts index 8db1b6f..691c5ca 100644 --- a/src/app/test/test.component.spec.ts +++ b/src/app/test/test.component.spec.ts @@ -434,6 +434,8 @@ fdescribe( 'TestComponent', () => { expect(component.getUrlEndPoint('upgradepostcheck')).toEqual('upgradepostcheck'); expect(component.getUrlEndPoint('upgradeprecheck')).toEqual('upgradeprecheck'); expect(component.getUrlEndPoint('upgradesoftware')).toEqual('upgradesoftware'); + expect(component.getUrlEndPoint('downloadnesw')).toEqual('downloadnesw'); + expect(component.getUrlEndPoint('activatenesw')).toEqual('activatenesw'); expect(component.getUrlEndPoint('DeFaultCASE')).toEqual('de-fault-c-a-s-e'); expect(component.getUrlEndPoint('upgradebackup')).toEqual('upgradebackup'); expect(component.getUrlEndPoint('attachvolume')).toEqual('attachvolume'); 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 10a22fc..a3ef4f7 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 @@ -165,6 +165,8 @@ export class ReferenceDataformComponent implements OnInit { , 'UpgradePostCheck' , 'UpgradePreCheck' , 'UpgradeSoftware' + , 'DownloadNESw' + , 'ActivateNESw' , 'OpenStack Actions' ]; //.. manual ordering public groupAnotationValue = ['', 'Pair']; @@ -1171,6 +1173,8 @@ export class ReferenceDataformComponent implements OnInit { case 'UpgradePostCheck': case 'UpgradePreCheck': case 'UpgradeSoftware': + case 'DownloadNESw': + case 'ActivateNESw': case 'ConfigRestore': case 'StartApplication': case 'StopApplication': diff --git a/src/constants/app-constants.ts b/src/constants/app-constants.ts index b5c4ab2..4125ef7 100644 --- a/src/constants/app-constants.ts +++ b/src/constants/app-constants.ts @@ -70,6 +70,8 @@ export const appConstants = { "upgradePostCheck": "UpgradePostCheck", "upgradePreCheck": "UpgradePreCheck", "upgradeSoftware": "UpgradeSoftware", + "downloadNESw": "DownloadNESw", + "activateNESw": "ActivateNESw", "openStackActions": "OpenStack Actions", "configScaleOut": "ConfigScaleOut", "configScaleIn": "ConfigScaleIn" @@ -226,4 +228,4 @@ export const appConstants = { "vnfType" : 'vnfType', "vnfcType" : 'vnfcType' } -}; \ No newline at end of file +}; -- cgit 1.2.3-korg