2 ============LICENSE_START==========================================
3 ===================================================================
4 Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
5 ===================================================================
7 Unless otherwise specified, all software contained herein is licensed
8 under the Apache License, Version 2.0 (the License);
9 you may not use this software except in compliance with the License.
10 You may obtain a copy of the License at
12 http://www.apache.org/licenses/LICENSE-2.0
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END============================================
21 export const GlobalContants = {
26 // stepsRequired: {stepCount: 3,
27 // steps: [{name:'CBA Metadata', componentURL:'/controllerBlueprint/selectTemplate'},
28 // {name:'Controller Blueprint Designer', componentURL:'/controllerBlueprint/modifyTemplate'},
29 // {name:'Test', componentURL:'/controllerBlueprint/testTemplate'},
30 // {name:'Deploy', componentURL:'/controllerBlueprint/deployTemplate'}]
39 componentURL: '/controllerBlueprint/selectTemplate',
40 label: 'CBA Metadata',
41 link: '/blueprint/selectTemplate',
43 component: 'SelectTemplateComponent'
46 name: 'Controller Blueprint Designer',
47 componentURL: '/controllerBlueprint/modifyTemplate',
48 label: 'Controller Blueprint Designer',
49 link: '/blueprint/modifyTemplate',
51 component: 'ModifyTemplateComponent'
55 componentURL: '/controllerBlueprint/testTemplate',
57 link: '/blueprint/testTemplate',
59 component: 'TestTemplateComponent'
63 componentURL: '/controllerBlueprint/deployTemplate',
65 link: '/blueprint/deployTemplate',
67 component: 'DeployTemplateComponent'
76 name: 'Resource Creation', componentURL: '/dataDictionary/selectTemplate',
77 label: 'Resource Creation',
78 component: 'ResourceCreationComponent'
82 name: 'Edit/Validate', componentURL: '/dataDictionary/modifyTemplate',
83 label: 'Edit/Validate',
84 component: 'ResourceEditComponent'
87 name: 'Save', componentURL: '/dataDictionary/saveTemplate',
88 label: 'Save Resource',
89 component: 'SaveResourceComponent'
96 export const BlueprintURLs = {
97 getAllBlueprints: '/controllerblueprint/all',
98 searchByTag: '/controllerblueprint/searchByTags/{tags}',
99 save: '/controllerblueprint/create-blueprint',
100 publish: '/controllerblueprint/publish',
101 enrich: '/controllerblueprint/enrich-blueprint',
102 download: '/controllerblueprint/download-blueprint/{name}/{version}',
103 deploy:'/controllerblueprint/deploy-blueprint'
106 export const ResourceDictionaryURLs = {
107 saveResourceDictionary: '/resourcedictionary/save',
108 searchResourceDictionaryByTags: '/resourcedictionary/search',
109 searchResourceDictionaryByName: '',
110 getSources: '/resourcedictionary/source-mapping',
111 getModelType: '/resourcedictionary/model-type'