Add new actions DownloadNESw and ActivateNESw for CDT 07/101007/2
authorEnbo Wang <wangenbo@huawei.com>
Sat, 1 Feb 2020 13:49:51 +0000 (21:49 +0800)
committerPatrick Brady <patrick.brady@att.com>
Fri, 7 Feb 2020 22:24:39 +0000 (22:24 +0000)
Issue-ID: APPC-1813
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
Change-Id: I1eecaf465d2f9a5be2991dc8f055b8fd3da447c3

src/app/test/test.component.spec.ts
src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.ts
src/constants/app-constants.ts

index 8db1b6f..691c5ca 100644 (file)
@@ -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');
index 10a22fc..a3ef4f7 100644 (file)
@@ -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':
index b5c4ab2..4125ef7 100644 (file)
@@ -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
+};