diff options
author | ezhil <ezhrajam@in.ibm.com> | 2019-01-30 20:14:08 +0530 |
---|---|---|
committer | ezhil <ezhrajam@in.ibm.com> | 2019-01-30 20:14:28 +0530 |
commit | 35a56c0a3fcf54aa8862b157bb6732522661fc80 (patch) | |
tree | 0a93f1743e9993dcf55ec32d88d19c04a16b5199 /cds-ui/client/src/app/common/constants | |
parent | 5e0ae9df92d5dea5549839696845613d7b8978ad (diff) |
CBA wizard stepper form
Change-Id: I1df4882bafe581a3d0f7cc7c31de228166fa5312
Issue-ID: CCSDK-703
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/common/constants')
-rw-r--r-- | cds-ui/client/src/app/common/constants/app-constants.ts | 74 |
1 files changed, 67 insertions, 7 deletions
diff --git a/cds-ui/client/src/app/common/constants/app-constants.ts b/cds-ui/client/src/app/common/constants/app-constants.ts index a00e25f4b..0efabebf5 100644 --- a/cds-ui/client/src/app/common/constants/app-constants.ts +++ b/cds-ui/client/src/app/common/constants/app-constants.ts @@ -22,13 +22,73 @@ export const GlobalContants = { endpoints: { }, + // cbawizard: { + // stepsRequired: {stepCount: 3, + // steps: [{name:'CBA Metadata', componentURL:'/controllerBlueprint/selectTemplate'}, + // {name:'Controller Blueprint Designer', componentURL:'/controllerBlueprint/modifyTemplate'}, + // {name:'Test', componentURL:'/controllerBlueprint/testTemplate'}, + // {name:'Deploy', componentURL:'/controllerBlueprint/deployTemplate'}] + // } + // } cbawizard: { - stepsRequired: {stepCount: 3, - steps: [{name:'CBA Metadata', componentURL:'/controllerBlueprint/selectTemplate'}, - {name:'Controller Blueprint Designer', componentURL:'/controllerBlueprint/modifyTemplate'}, - {name:'Test', componentURL:'/controllerBlueprint/testTemplate'}, - {name:'Deploy', componentURL:'/controllerBlueprint/deployTemplate'}] - } - } + stepsRequired: + { + stepCount: 4, + steps: [{ + name: 'CBA Metadata', + componentURL: '/controllerBlueprint/selectTemplate', + label: 'CBA Metadata', + link: '/blueprint/selectTemplate', + index: 0, + component: 'SelectTemplateComponent' + }, + { + name: 'Controller Blueprint Designer', + componentURL: '/controllerBlueprint/modifyTemplate', + label: 'Controller Blueprint Designer', + link: '/blueprint/modifyTemplate', + index: 1, + component: 'ModifyTemplateComponent' + }, + { + name: 'Test', + componentURL: '/controllerBlueprint/testTemplate', + label: 'Test', + link: '/blueprint/testTemplate', + index: 2, + component: 'TestTemplateComponent' + }, + { + name: 'Deploy', + componentURL: '/controllerBlueprint/deployTemplate', + label: 'Deploy', + link: '/blueprint/deployTemplate', + index: 3, + component: 'DeployTemplateComponent' + }] + } + }, + datadictionary: { + stepsRequired: + { + stepCount: 3, + steps: [{ + name: 'Resource Creation', componentURL: '/dataDictionary/selectTemplate', + label: 'Resource Creation', + component: 'ResourceCreationComponent' + }, + { + name: 'Edit/Validate', componentURL: '/dataDictionary/modifyTemplate', + label: 'Edit/Validate', + component: 'ResourceEditComponent' + }, + { + name: 'Save', componentURL: '/dataDictionary/saveTemplate', + label: 'Save Resource', + component: 'SaveResourceComponent' + }] + } + + } };
\ No newline at end of file |