aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnbo Wang <wangenbo@huawei.com>2020-02-01 21:49:51 +0800
committerPatrick Brady <patrick.brady@att.com>2020-02-07 22:24:39 +0000
commit179fea047479a44ef2fb0490c272f7f97127bbe9 (patch)
tree3569bf253b35703194e97ebb888caf152d3e39e0
parent700ac8a7ec822f1b7a0505319e4c453ca045d2ed (diff)
Add new actions DownloadNESw and ActivateNESw for CDT
Issue-ID: APPC-1813 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Change-Id: I1eecaf465d2f9a5be2991dc8f055b8fd3da447c3
-rw-r--r--src/app/test/test.component.spec.ts2
-rw-r--r--src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.ts4
-rw-r--r--src/constants/app-constants.ts4
3 files changed, 9 insertions, 1 deletions
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
+};