2 ============LICENSE_START==========================================
3 ===================================================================
4 Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
6 Modifications Copyright (C) 2019 TechMahindra
7 ===================================================================
9 Unless otherwise specified, all software contained herein is licensed
10 under the Apache License, Version 2.0 (the License);
11 you may not use this software except in compliance with the License.
12 You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21 ============LICENSE_END============================================
23 export const GlobalContants = {
28 // stepsRequired: {stepCount: 3,
29 // steps: [{name:'CBA Metadata', componentURL:'/controllerBlueprint/selectTemplate'},
30 // {name:'Controller Blueprint Designer', componentURL:'/controllerBlueprint/modifyTemplate'},
31 // {name:'Test', componentURL:'/controllerBlueprint/testTemplate'},
32 // {name:'Deploy', componentURL:'/controllerBlueprint/deployTemplate'}]
41 componentURL: '/controllerBlueprint/selectTemplate',
42 label: 'CBA Metadata',
43 link: '/blueprint/selectTemplate',
45 component: 'SelectTemplateComponent'
48 name: 'Controller Blueprint Designer',
49 componentURL: '/controllerBlueprint/modifyTemplate',
50 label: 'Controller Blueprint Designer',
51 link: '/blueprint/modifyTemplate',
53 component: 'ModifyTemplateComponent'
57 componentURL: '/controllerBlueprint/testTemplate',
59 link: '/blueprint/testTemplate',
61 component: 'TestTemplateComponent'
65 componentURL: '/controllerBlueprint/deployTemplate',
67 link: '/blueprint/deployTemplate',
69 component: 'DeployTemplateComponent'
78 name: 'Resource Creation', componentURL: '/dataDictionary/selectTemplate',
79 label: 'Resource Creation',
80 component: 'ResourceCreationComponent'
84 name: 'Edit/Validate', componentURL: '/dataDictionary/modifyTemplate',
85 label: 'Edit/Validate',
86 component: 'ResourceEditComponent'
89 name: 'Save', componentURL: '/dataDictionary/saveTemplate',
90 label: 'Save Resource',
91 component: 'SaveResourceComponent'
98 export const BlueprintURLs = {
99 getAllBlueprints: '/controllerblueprint/all',
100 searchByTag: '/controllerblueprint/searchByTags/',
101 save: '/controllerblueprint/create-blueprint',
102 publish: '/controllerblueprint/publish',
103 enrich: '/controllerblueprint/enrich-blueprint',
104 download: '/controllerblueprint/download-blueprint/',
105 deploy:'/controllerblueprint/deploy-blueprint'
108 export const ResourceDictionaryURLs = {
109 saveResourceDictionary: '/resourcedictionary/save',
110 searchResourceDictionaryByTags: '/resourcedictionary/search',
111 searchResourceDictionaryByName: '',
112 getSources: '/resourcedictionary/source-mapping',
113 getModelType: '/resourcedictionary/model-type',
114 getDataType: '/resourcedictionary/model-type/by-definition/data_type'
117 export const ControllerCatalogURLs = {
118 searchControllerCatalogByTags: '/controllercatalog/search',
119 saveControllerCatalog: '/controllercatalog/save',
120 getDefinition: '/controllercatalog/model-type/by-definition',
121 getDerivedFrom: '/controllercatalog/model-type/by-derivedfrom',
122 deleteCatalog:'/controllercatalog'