1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
|
const SDC_MENU_CONFIG = {
"roles": {
"ADMIN": {
"title": "Admin's Workspace",
},
"DESIGNER": {
"title": "Designer's Workspace",
"dashboard": {
"showCreateNew": true
},
"changeLifecycleStateButtons": {
"NOT_CERTIFIED_CHECKOUT": {
"RESOURCE": {
"certify": {
"text": "Certify",
"url": "lifecycleState/certify",
"confirmationModal": "lifecycleState/certify"
},
"checkIn": {
"text": "Check in",
"url": "lifecycleState/CHECKIN",
"confirmationModal": "lifecycleState/CHECKIN"
},
"deleteVersion": {
"text": "Delete Version",
"url": "lifecycleState/UNDOCHECKOUT",
"alertModal": "lifecycleState/UNDOCHECKOUT"
}
},
"SERVICE": {
"certify": {
"text": "Certify",
"url": "lifecycleState/certify",
"confirmationModal": "lifecycleState/certify"
},
"checkIn": {
"text": "Check in",
"url": "lifecycleState/CHECKIN",
"confirmationModal": "lifecycleState/CHECKIN"
},
"deleteVersion": {
"text": "Delete Version",
"url": "lifecycleState/UNDOCHECKOUT",
"alertModal": "lifecycleState/UNDOCHECKOUT"
}
}
},
"CERTIFIED": {
"RESOURCE": {
"checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
},
"SERVICE": {
"checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
}
},
"NOT_CERTIFIED_CHECKIN": {
"RESOURCE": {
"certify": {
"text": "Certify",
"url": "lifecycleState/certify",
"confirmationModal": "lifecycleState/certify"
},
"checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
},
"SERVICE": {
"certify": {
"text": "Certify",
"url": "lifecycleState/certify",
"confirmationModal": "lifecycleState/certify"
},
"checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
}
},
"DISTRIBUTION_NOT_APPROVED": {
"RESOURCE":{},
"SERVICE": {
"distribute": {
"text": "Distribute",
"url": "distribution/PROD/activate",
"conformanceLevelModal": {
"url": "distribution-state/reject",
"confirmationModal": "distribution-state/reject"
}
},
"checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
}
},
"DISTRIBUTED": {
"RESOURCE":{},
"SERVICE": {
"redistribute": {
"text": "Redistribute",
"url": "distribution/PROD/activate",
"conformanceLevelModal": {
"url": "distribution-state/reject",
"confirmationModal": "distribution-state/reject"
}
},
"checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
}
}
},
"folder": [
{"text": "Active Projects", "groupname": "IN_PROGRESS"},
{"text": "Check Out", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKOUT"},
{"text": "Check In", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKIN"},
{"text": "Followed Projects", "groupname": "FOLLOWING"},
{"text": "Certified", "group": "FOLLOWING", "state": "CERTIFIED"},
{"text": "Distributed", "group": "FOLLOWING", "state": "DISTRIBUTED"}
]
}
},
"confirmationMessages": {
"lifecycleState/CHECKIN": {
"showComment": true,
"title": "Check in confirmation",
"message": "Please add comment and confirm the check in."
},
"lifecycleState/CHECKOUT": {
"showComment": true,
"title": "Check out confirmation",
"message": "Please add comment and confirm the check out."
},
"lifecycleState/certify": {
"showComment": true,
"title": "Certification confirmation",
"message": "Please add comment and confirm test results."
},
"updateTemplate": {
"showComment": false,
"title": "Update Template Confirmation",
"message": "Modifying the Template might cause losing of previous information"
}
},
"alertMessages": {
"lifecycleState/UNDOCHECKOUT": {
"title": "Delete Version Confirmation",
"message": "Are you sure you want to delete this version?"
},
"exitWithoutSaving": {
"title": "Exit Without Saving Confirmation",
"message": "All unsaved changes will be lost. Are you sure you want to exit this page?"
},
"upgradeInstance": {
"title": "Switch Versions",
"message": "Switching versions will erase service paths: %1. Are you sure you want to proceed?"
},
"deleteInstance": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1?"},
"deleteInput": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1?"},
"okButton": "OK"
},
"statuses": {
"inDesign": {
"name": "In Design",
"values": [
"NOT_CERTIFIED_CHECKOUT",
"NOT_CERTIFIED_CHECKIN"
]
},
"certified": {
"name": "Certified",
"values": ["CERTIFIED"]
},
"distributed": {
"name": "Distributed",
"values": ["DISTRIBUTED"]
}
},
"categoriesDictionary": {
"Mobility": "Application Layer 4+",
"Network L1-3": "Network Layer 2-3",
"Network L4": "Network Layer 4+",
"VoIP Call Control": "Application Layer 4+"
},
"catalogMenuItem": {
"DESIGNER": {
"states": {
"NOT_CERTIFIED_CHECKOUT": {
"ANY": []
},
"NOT_CERTIFIED_CHECKIN": {
"ANY": []
},
"CERTIFIED": {
"ANY": []
}
}
},
"OTHER": {
"states": {
"ANY": {
"ANY": []
}
}
}
},
"LifeCycleStatuses": {
"NOT_CERTIFIED_CHECKOUT": {"text": "In Design Check Out", "icon": "checkout-editable-status-icon"},
"NOT_CERTIFIED_CHECKIN": {"text": "In Design Check In", "icon": "checkin-status-icon "},
"CERTIFIED": {"text": "Certified", "icon": "checkin-status-icon "}
},
"DistributionStatuses": {
"DISTRIBUTION_NOT_APPROVED": {"text": "Waiting For Distribution"},
"DISTRIBUTED": {"text": "Distributed"}
},
"canvas_buttons": {
"checkIn": {
"text": "Check in",
"action": "changeLifecycleState",
"url": "lifecycleState/CHECKIN",
"confirmationModal": "lifecycleState/CHECKIN"
},
"deleteVersion": {
"text": "Delete Version",
"action": "changeLifecycleState",
"url": "lifecycleState/UNDOCHECKOUT",
"alertModal": "lifecycleState/UNDOCHECKOUT"
}
},
"component_workspace_menu_option": {
"VFC": [
{"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
{"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
{"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
{"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
{"text": "Properties", "action": "onMenuItemPressed", "state": "workspace.properties"},
{"text": "Attributes", "action": "onMenuItemPressed", "state": "workspace.attributes"},
{"text": "Interfaces", "action": "onMenuItemPressed", "state": "workspace.interface-definition"},
{"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCap"},
{"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}
],
"VL": [
{"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
{"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
{"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
{"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
{"text": "Properties", "action": "onMenuItemPressed", "state": "workspace.properties"},
{"text": "Attributes", "action": "onMenuItemPressed", "state": "workspace.attributes"},
{"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCap"},
{"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}
],
"CP": [
{"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
{"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
{"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
{"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
{"text": "Properties", "action": "onMenuItemPressed", "state": "workspace.properties"},
{"text": "Attributes", "action": "onMenuItemPressed", "state": "workspace.attributes"},
{"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCap"},
{"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}
],
"VF": [
{"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
{"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
{"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
{"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
{"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"},
{"text": "Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"},
{"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
{"text": "Deployment", "action": "onMenuItemPressed", "state": "workspace.deployment"},
{"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"},
{"text": "Attributes & Outputs", "action": "onMenuItemPressed", "state": "workspace.attributes_outputs"},
{"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCapEditable"}
],
"PNF": [
{"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
{"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
{"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
{"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
{"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"},
{"text": "Operation", "action": "onMenuItemPressed", "state": "workspace.interface_operation"},
{"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
{"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"},
{"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCapEditable"}
],
"CR": [
{"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
{"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
{"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
{"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
{"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details", "disabledCategories":["Partner Domain Service"]},
{"text": "Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"},
{"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
{"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"},
{"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCapEditable"}
],
"SERVICE": [
{"text": "General", "action": "onMenuItemPressed", "state": "workspace.general", "hiddenCategories":["Partner Domain Service"]},
{"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
{"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details", "disabledCategories":["Partner Domain Service"]},
{"text": "Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"},
{"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
{"text": "Management Workflow", "action": "onMenuItemPressed", "state": "workspace.management_workflow"},
{"text": "Network Call Flow ", "action": "onMenuItemPressed", "state": "workspace.network_call_flow"},
{"text": "Distribution","action": "onMenuItemPressed","state": "workspace.distribution","disabledRoles": ["ADMIN"]},
{"text": "Deployment", "action": "onMenuItemPressed", "state": "workspace.deployment"},
{"text": "Interfaces Assignment", "action": "onMenuItemPressed", "state": "workspace.interface-definition"},
{"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"},
{"text": "Attributes & Outputs", "action": "onMenuItemPressed", "state": "workspace.attributes_outputs"}
],
"DataType": [
{"text": "General", "action": "onMenuItemPressed", "state": "general"},
{"text": "Properties", "action": "onMenuItemPressed", "state": "properties"},
{"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "tosca_artifacts"}
]
}
};
module.exports = SDC_MENU_CONFIG;
|