aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts
diff options
context:
space:
mode:
authorRachithaRamappa93 <rachitha.ramappa@att.com>2021-01-27 18:43:58 +0530
committerIkram Ikramullah <ikram@research.att.com>2021-02-02 20:12:35 +0000
commit0fcfb59f750894e7be6d087c61672a68ed4679d8 (patch)
tree12139b118e983bcbbd0ab3d27b82f091c33c2cfa /vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts
parent5340236b84bd3289e5f5010158a0f40a4b1edb32 (diff)
Audit screen corrections from drawing board
Change-Id: Ia1479d18f9af34e39258bd68ae0b14cb52f3fbd0 Issue-ID: VID-945 Signed-off-by: rachitha.ramappa@att.com
Diffstat (limited to 'vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts')
-rw-r--r--vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts b/vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts
index 069ef82e8..20c6dbe85 100644
--- a/vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts
+++ b/vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts
@@ -12,6 +12,7 @@ export enum ServiceActions {
UNDO_DELETE_ACTION_SERVICE_INSTANCE = "UNDO_DELETE_ACTION_SERVICE_INSTANCE",
CHANGE_SERVICE_IS_DIRTY = "CHANGE_SERVICE_IS_DIRTY",
UPGRADE_SERVICE_ACTION = "UPGRADE_SERVICE_ACTION",
+ UPDATE_SERVICE_INFO_MODEL = "UPDATE_SERVICE_INFO_MODEL",
UNDO_UPGRADE_SERVICE_ACTION = "UNDO_UPGRADE_SERVICE_ACTION"
}
@@ -63,6 +64,10 @@ export interface ChangeServiceDirty extends Action {
serviceId : string;
}
+export interface UpdateServiceModelInfoAction extends Action {
+ serviceInfoModel?: any;
+}
+
export const addServiceAction: ActionCreator<AddServiceAction> = (serviceUuid : string, actionName : ServiceInstanceActions) => ({
type: ServiceActions.ADD_SERVICE_ACTION,
serviceUuid: serviceUuid,
@@ -117,3 +122,8 @@ export const undoUpgradeService: ActionCreator<UndoUpgradeServiceAction> = (serv
type: ServiceActions.UNDO_UPGRADE_SERVICE_ACTION,
serviceUuid
});
+
+export const updateServiceInfoModel : ActionCreator<UpdateServiceModelInfoAction> = (serviceInfoModel : any) => ({
+ type: ServiceActions.UPDATE_SERVICE_INFO_MODEL,
+ serviceInfoModel
+});