Merge "Input source doesn't support dynamic values or properties"
[ccsdk/cds.git] / cds-ui / client-frankfurt / src / app / common / constants / app-constants.ts
1 /*
2 ============LICENSE_START==========================================
3 ===================================================================
4 Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
5
6 Modifications Copyright (C) 2019 Orange
7
8 ===================================================================
9
10 Unless otherwise specified, all software contained herein is licensed
11 under the Apache License, Version 2.0 (the License);
12 you may not use this software except in compliance with the License.
13 You may obtain a copy of the License at
14
15     http://www.apache.org/licenses/LICENSE-2.0
16
17 Unless required by applicable law or agreed to in writing, software
18 distributed under the License is distributed on an "AS IS" BASIS,
19 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 See the License for the specific language governing permissions and
21 limitations under the License.
22 ============LICENSE_END============================================
23 */
24 export const GlobalContants = {
25     endpoints: {},
26     cbawizard: {
27         stepsRequired:
28             {
29                 stepCount: 4,
30                 steps: [{
31                     name: 'CBA Metadata',
32                     componentURL: '/controllerBlueprint/selectTemplate',
33                     label: 'CBA Metadata',
34                     link: '/blueprint/selectTemplate',
35                     index: 0,
36                     component: 'SelectTemplateComponent'
37                 },
38                     {
39                         name: 'Controller Blueprint Designer',
40                         componentURL: '/controllerBlueprint/modifyTemplate',
41                         label: 'Controller Blueprint Designer',
42                         link: '/blueprint/modifyTemplate',
43                         index: 1,
44                         component: 'ModifyTemplateComponent'
45                     },
46                     {
47                         name: 'Test',
48                         componentURL: '/controllerBlueprint/testTemplate',
49                         label: 'Test',
50                         link: '/blueprint/testTemplate',
51                         index: 2,
52                         component: 'TestTemplateComponent'
53                     },
54                     {
55                         name: 'Deploy',
56                         componentURL: '/controllerBlueprint/deployTemplate',
57                         label: 'Deploy',
58                         link: '/blueprint/deployTemplate',
59                         index: 3,
60                         component: 'DeployTemplateComponent'
61                     }]
62             }
63     },
64     datadictionary: {
65         stepsRequired:
66             {
67                 stepCount: 3,
68                 steps: [{
69                     name: 'Resource Creation', componentURL: '/dataDictionary/selectTemplate',
70                     label: 'Resource Creation',
71                     component: 'ResourceCreationComponent'
72
73                 },
74                     {
75                         name: 'Edit/Validate', componentURL: '/dataDictionary/modifyTemplate',
76                         label: 'Edit/Validate',
77                         component: 'ResourceEditComponent'
78                     },
79                     {
80                         name: 'Save', componentURL: '/dataDictionary/saveTemplate',
81                         label: 'Save Resource',
82                         component: 'SaveResourceComponent'
83                     }]
84             }
85
86     }
87 };
88
89 export const BlueprintURLs = {
90     getAllBlueprints: '/controllerblueprint/all',
91     searchByTag: '/controllerblueprint/searchByTags/',
92     save: '/controllerblueprint/create-blueprint',
93     publish: '/controllerblueprint/publish',
94     enrich: '/controllerblueprint/enrich-blueprint',
95     download: '/controllerblueprint/download-blueprint/',
96     deploy: '/controllerblueprint/deploy-blueprint',
97     getMetaDate: '/controllerblueprint/meta-data/'
98 };
99
100 export const ResourceDictionaryURLs = {
101     saveResourceDictionary: '/resourcedictionary/save',
102     searchResourceDictionaryByTags: '/resourcedictionary/search',
103     searchResourceDictionaryByName: '',
104     getSources: '/resourcedictionary/source-mapping',
105     getModelType: '/resourcedictionary/model-type',
106     getDataType: '/resourcedictionary/model-type/by-definition/data_type'
107 };
108
109 export const ControllerCatalogURLs = {
110     searchControllerCatalogByTags: '/controllercatalog/search',
111     saveControllerCatalog: '/controllercatalog/save',
112     getDefinition: '/controllercatalog/model-type/by-definition',
113     getDerivedFrom: '/controllercatalog/model-type/by-derivedfrom'
114 };