summaryrefslogtreecommitdiffstats
path: root/src/app
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 /src/app
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
Diffstat (limited to 'src/app')
-rw-r--r--src/app/test/test.component.spec.ts2
-rw-r--r--src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.ts4
2 files changed, 6 insertions, 0 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':