diff options
author | 2020-03-16 21:47:40 +0200 | |
---|---|---|
committer | 2020-03-19 07:51:44 +0200 | |
commit | e4ec69b8a8a179bc095f7e62efc9bbfa94017a5b (patch) | |
tree | 346e206178410f047264c3cb289445ac0ec50e22 /vid-webpack-master/src/app/shared/components/genericFormPopup/genericFormServices/vfModuleUpgrade/vfModule.upgrade.popuop.service.ts | |
parent | c0c81ece5aee559c9d35c8a9e7c5c24678ae674d (diff) |
set default values in VFM Upgrade popup
Issue-ID: VID-794
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: Ic8c896e0eea0535e0e52a394c403c2e167240b47
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Diffstat (limited to 'vid-webpack-master/src/app/shared/components/genericFormPopup/genericFormServices/vfModuleUpgrade/vfModule.upgrade.popuop.service.ts')
-rw-r--r-- | vid-webpack-master/src/app/shared/components/genericFormPopup/genericFormServices/vfModuleUpgrade/vfModule.upgrade.popuop.service.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vid-webpack-master/src/app/shared/components/genericFormPopup/genericFormServices/vfModuleUpgrade/vfModule.upgrade.popuop.service.ts b/vid-webpack-master/src/app/shared/components/genericFormPopup/genericFormServices/vfModuleUpgrade/vfModule.upgrade.popuop.service.ts index 5fcdc3093..afc099c1e 100644 --- a/vid-webpack-master/src/app/shared/components/genericFormPopup/genericFormServices/vfModuleUpgrade/vfModule.upgrade.popuop.service.ts +++ b/vid-webpack-master/src/app/shared/components/genericFormPopup/genericFormServices/vfModuleUpgrade/vfModule.upgrade.popuop.service.ts @@ -45,8 +45,9 @@ export class VfModuleUpgradePopupService extends VfModulePopupServiceBase { getControls(serviceId: string, vnfStoreKey: string, vfModuleStoreKey: string, isUpdateMode: boolean): FormControlModel[] { let result: FormControlModel[] =[ this.getRetainAssignmentsControl(), - this._sharedControllersService.getSDNCControl(null) + this._sharedControllersService.getSDNCControl(null, true) ]; + const vfModuleInstance :VfModuleInstance = this._vfModuleControlGenerator.getVfModuleInstance(serviceId, vnfStoreKey, this.uuidData, isUpdateMode); let volumeGroupAllowed = this._store.getState().service.serviceHierarchy[serviceId].vfModules[this.uuidData['modelName']].volumeGroupAllowed; @@ -83,7 +84,7 @@ export class VfModuleUpgradePopupService extends VfModulePopupServiceBase { controlName: UpgradeFormControlNames.RETAIN_VOLUME_GROUPS, displayName: 'Retain Volume Groups', dataTestId: UpgradeFormControlNames.RETAIN_VOLUME_GROUPS, - value: true, + value: false, validations: [] }) }; @@ -94,7 +95,7 @@ export class VfModuleUpgradePopupService extends VfModulePopupServiceBase { controlName: UpgradeFormControlNames.RETAIN_ASSIGNMENTS, displayName: 'Retain Assignments', dataTestId: UpgradeFormControlNames.RETAIN_ASSIGNMENTS, - value: true, + value: false, validations: [] }) }; |