blob: 71eed114488774ea247a599e624a2d03513c1853 [file] [log] [blame]
Michael Landoed64b5e2017-06-09 03:19:04 +03001const SDC_MENU_CONFIG = {
Michael Lando5b593492018-07-29 16:13:45 +03002 "roles": {
3 "ADMIN": {
Michael Landoed64b5e2017-06-09 03:19:04 +03004 "title": "Admin's Workspace",
Michael Landoed64b5e2017-06-09 03:19:04 +03005 },
Michael Lando5b593492018-07-29 16:13:45 +03006 "DESIGNER": {
Michael Landoed64b5e2017-06-09 03:19:04 +03007 "title": "Designer's Workspace",
Michael Landoed64b5e2017-06-09 03:19:04 +03008 "dashboard": {
Michael Lando75aacbb2017-07-17 21:12:03 +03009 "showCreateNew": true
Michael Landoed64b5e2017-06-09 03:19:04 +030010 },
Michael Lando5b593492018-07-29 16:13:45 +030011 "changeLifecycleStateButtons": {
12 "NOT_CERTIFIED_CHECKOUT": {
13 "RESOURCE": {
14 "certify": {
15 "text": "Certify",
16 "url": "lifecycleState/certify",
17 "confirmationModal": "lifecycleState/certify"
18 },
19 "checkIn": {
20 "text": "Check in",
21 "url": "lifecycleState/CHECKIN",
22 "confirmationModal": "lifecycleState/CHECKIN"
23 },
24 "deleteVersion": {
25 "text": "Delete Version",
26 "url": "lifecycleState/UNDOCHECKOUT",
27 "alertModal": "lifecycleState/UNDOCHECKOUT"
28 }
29 },
30 "SERVICE": {
31 "submitForTesting": {
32 "text": "Submit for Testing",
33 "url": "lifecycleState/certificationRequest",
34 "emailModal": "lifecycleState/CERTIFICATIONREQUEST"
35 },
36 "checkIn": {
37 "text": "Check in",
38 "url": "lifecycleState/CHECKIN",
39 "confirmationModal": "lifecycleState/CHECKIN"
40 },
41 "deleteVersion": {
42 "text": "Delete Version",
43 "url": "lifecycleState/UNDOCHECKOUT",
44 "alertModal": "lifecycleState/UNDOCHECKOUT"
45 }
46 }
47
Michael Landoed64b5e2017-06-09 03:19:04 +030048 },
Michael Lando5b593492018-07-29 16:13:45 +030049 "CERTIFIED": {
50 "RESOURCE": {
51 "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
52 },
53 "SERVICE": {
54 "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
55 }
Michael Landoed64b5e2017-06-09 03:19:04 +030056 },
57 "NOT_CERTIFIED_CHECKIN": {
Michael Lando5b593492018-07-29 16:13:45 +030058 "RESOURCE": {
59 "certify": {
60 "text": "Certify",
61 "url": "lifecycleState/certify",
62 "confirmationModal": "lifecycleState/certify"
63 },
64 "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
65 },
66 "SERVICE": {
67 "submitForTesting": {
68 "text": "Submit for Testing",
69 "url": "lifecycleState/certificationRequest",
70 "emailModal": "lifecycleState/CERTIFICATIONREQUEST"
71 },
72 "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
73 }
Michael Landoed64b5e2017-06-09 03:19:04 +030074 }
75 },
Michael Lando5b593492018-07-29 16:13:45 +030076 "folder": [
77 {"text": "Active Projects", "groupname": "IN_PROGRESS"},
78 {"text": "Check Out", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKOUT"},
79 {"text": "Check In", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKIN"},
80 {"text": "Followed Projects", "groupname": "FOLLOWING"},
81 {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"},
Michael Landoed64b5e2017-06-09 03:19:04 +030082 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"},
Michael Lando5b593492018-07-29 16:13:45 +030083 {"text": "Certified", "group": "FOLLOWING", "state": "CERTIFIED"}
Michael Landoed64b5e2017-06-09 03:19:04 +030084 ]
85
86 },
Michael Lando5b593492018-07-29 16:13:45 +030087 "TESTER": {
Michael Landoed64b5e2017-06-09 03:19:04 +030088 "title": "Tester's Workspace",
Michael Landoed64b5e2017-06-09 03:19:04 +030089 "dashboard": {
Michael Lando75aacbb2017-07-17 21:12:03 +030090 "showCreateNew": false
Michael Landoed64b5e2017-06-09 03:19:04 +030091 },
Michael Lando5b593492018-07-29 16:13:45 +030092 "changeLifecycleStateButtons": {
93 "READY_FOR_CERTIFICATION": {
94 "RESOURCE":{},
95 "SERVICE":{
96 "startTesting": {"text": "Start Testing", "url": "lifecycleState/startCertification"}
97 }
Michael Landoed64b5e2017-06-09 03:19:04 +030098 },
Michael Lando5b593492018-07-29 16:13:45 +030099 "CERTIFICATION_IN_PROGRESS": {
100 "RESOURCE":{},
101 "SERVICE": {
102 "accept": {
103 "text": "Accept",
104 "url": "lifecycleState/certify",
105 "confirmationModal": "lifecycleState/certify"
106 },
107 "reject": {
108 "text": "Reject",
109 "url": "lifecycleState/failCertification",
110 "confirmationModal": "lifecycleState/failCertification"
111 },
112 "cancel": {
113 "text": "Cancel",
114 "action": "changeLifecycleState",
115 "url": "lifecycleState/cancelCertification",
116 "confirmationModal": "lifecycleState/cancel"
117 }
118 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300119 }
120 },
Michael Lando5b593492018-07-29 16:13:45 +0300121 "folder": [
122 {"text": "Active Projects", "groupname": "FOLLOWING"},
123 {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"},
Michael Landoed64b5e2017-06-09 03:19:04 +0300124 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"}
125 ]
126 },
Michael Lando5b593492018-07-29 16:13:45 +0300127 "OPS": {
Michael Landoed64b5e2017-06-09 03:19:04 +0300128 "title": "Operations Workspace",
Michael Landoed64b5e2017-06-09 03:19:04 +0300129 "dashboard": {
Michael Lando75aacbb2017-07-17 21:12:03 +0300130 "showCreateNew": false
Michael Landoed64b5e2017-06-09 03:19:04 +0300131 },
Michael Lando5b593492018-07-29 16:13:45 +0300132 "changeLifecycleStateButtons": {
133 "DISTRIBUTION_APPROVED": {
134 "RESOURCE":{},
135 "SERVICE": {
136 "distribute": {
137 "text": "Distribute",
138 "url": "distribution/PROD/activate",
139 "conformanceLevelModal": {
140 "url": "distribution-state/reject",
141 "confirmationModal": "distribution-state/reject"
142 }
143 },
144 "monitor": {"text": "Monitor", "disabled": true}
145 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300146 },
Michael Lando5b593492018-07-29 16:13:45 +0300147 "DISTRIBUTED": {
148 "RESOURCE":{},
149 "SERVICE": {
150 "redistribute": {
151 "text": "Redistribute",
152 "url": "distribution/PROD/activate",
153 "conformanceLevelModal": {
154 "url": "distribution-state/reject",
155 "confirmationModal": "distribution-state/reject"
156 }
157 },
158 "monitor": {"text": "Monitor", "url": "distribution-state/monitor"}
159 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300160 }
161 },
Michael Lando5b593492018-07-29 16:13:45 +0300162 "folder": [
163 {"text": "Active Projects", "groupname": "FOLLOWING"},
164 {
165 "text": "Waiting For Distribution",
166 "group": "FOLLOWING",
167 "state": "CERTIFIED",
168 "dist": "DISTRIBUTION_APPROVED"
169 },
170 {"text": "Distributed", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTED"}
Michael Landoed64b5e2017-06-09 03:19:04 +0300171 ]
172 },
Michael Lando5b593492018-07-29 16:13:45 +0300173 "GOVERNOR": {
Michael Landoed64b5e2017-06-09 03:19:04 +0300174 "title": "Governance Rep's Workspace",
Michael Landoed64b5e2017-06-09 03:19:04 +0300175 "dashboard": {
Michael Lando75aacbb2017-07-17 21:12:03 +0300176 "showCreateNew": false
Michael Landoed64b5e2017-06-09 03:19:04 +0300177 },
Michael Lando5b593492018-07-29 16:13:45 +0300178 "changeLifecycleStateButtons": {
179 "DISTRIBUTION_NOT_APPROVED": {
180 "RESOURCE":{},
181 "SERVICE": {
182 "approve": {
183 "text": "Approve",
184 "url": "distribution-state/approve",
185 "confirmationModal": "distribution-state/approve",
186 "conformanceLevelModal": {
187 "url": "distribution-state/reject",
188 "confirmationModal": "distribution-state/reject"
189 }
190 },
191 "reject": {
192 "text": "Reject",
193 "url": "distribution-state/reject",
194 "confirmationModal": "distribution-state/reject"
195 }
196 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300197 },
Michael Lando5b593492018-07-29 16:13:45 +0300198 "DISTRIBUTION_APPROVED": {
199 "RESOURCE":{},
200 "SERVICE": {
201 "reject": {
202 "text": "Reject",
203 "url": "distribution-state/reject",
204 "confirmationModal": "distribution-state/reject"
205 }
206 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300207 },
Michael Lando5b593492018-07-29 16:13:45 +0300208 "DISTRIBUTED": {
209 "RESOURCE":{},
210 "SERVICE": {
211 "reject": {
212 "text": "Reject",
213 "url": "distribution-state/reject",
214 "confirmationModal": "distribution-state/reject"
215 }
216 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300217 },
Michael Lando5b593492018-07-29 16:13:45 +0300218 "DISTRIBUTION_REJECTED": {
219 "RESOURCE":{},
220 "SERVICE": {
221 "approve": {
222 "text": "Approve",
223 "url": "distribution-state/approve",
224 "confirmationModal": "distribution-state/approve",
225 "conformanceLevelModal": {
226 "url": "distribution-state/reject",
227 "confirmationModal": "distribution-state/reject"
228 }
229 }
230 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300231 }
232 },
Michael Lando5b593492018-07-29 16:13:45 +0300233 "folder": [
234 {"text": "Active Projects", "groupname": "FOLLOWING"},
235 {
236 "text": "Waiting For Approval",
237 "group": "FOLLOWING",
238 "state": "CERTIFIED",
239 "dist": "DISTRIBUTION_NOT_APPROVED"
240 },
241 {
242 "text": "Distribution Rejected",
243 "group": "FOLLOWING",
244 "state": "CERTIFIED",
245 "dist": "DISTRIBUTION_REJECTED"
246 },
247 {
248 "text": "Distribution Approved",
249 "group": "FOLLOWING",
250 "state": "CERTIFIED",
251 "dist": "DISTRIBUTION_APPROVED,DISTRIBUTED"
Michael Landoed64b5e2017-06-09 03:19:04 +0300252 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300253
254 ]
255 }
256 },
257 "confirmationMessages": {
Michael Lando5b593492018-07-29 16:13:45 +0300258 "lifecycleState/CHECKIN": {
259 "showComment": true,
260 "title": "Check in confirmation",
261 "message": "Please add comment and confirm the check in."
262 },
263 "lifecycleState/CHECKOUT": {
264 "showComment": true,
265 "title": "Check out confirmation",
266 "message": "Please add comment and confirm the check out."
267 },
268 "lifecycleState/certify": {
269 "showComment": true,
270 "title": "Certification confirmation",
271 "message": "Please add comment and confirm test results."
272 },
273 "lifecycleState/cancel": {
274 "showComment": true,
275 "title": "Cancel test",
276 "message": "Please add comment and cancel test."
277 },
278 "lifecycleState/failCertification": {
279 "showComment": true,
280 "title": "Rejection confirmation",
281 "message": "Please add comment and confirm test results."
282 },
283 "lifecycleState/CERTIFICATIONREQUEST": {
284 "showComment": true,
285 "title": "Submit for testing",
286 "message": "Please add comment and submit for testing."
287 },
288 "distribution-state/approve": {
289 "showComment": true,
290 "title": "Distribution confirmation",
291 "message": "Please add comment and confirm %1 approval for distribution."
292 },
293 "distribution-state/reject": {
294 "showComment": true,
295 "title": "Rejection confirmation",
296 "message": "Please add comment and confirm %1 rejection for distribution."
297 },
298 "updateTemplate": {
299 "showComment": false,
300 "title": "Update Template Confirmation",
301 "message": "Modifying the Template might cause losing of previous information"
302 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300303 },
304 "alertMessages": {
Michael Lando5b593492018-07-29 16:13:45 +0300305 "lifecycleState/UNDOCHECKOUT": {
306 "title": "Delete Version Confirmation",
307 "message": "Are you sure you want to delete this version?"
308 },
309 "exitWithoutSaving": {
310 "title": "Exit Without Saving Confirmation",
311 "message": "All unsaved changes will be lost. Are you sure you want to exit this page?"
312 },
313 "upgradeInstance": {
314 "title": "Switch Versions",
315 "message": "Switching versions will erase service paths: %1. Are you sure you want to proceed?"
316 },
Michael Landoa5445102018-03-04 14:53:33 +0200317 "deleteInstance": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1?"},
318 "deleteInput": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1?"}
Michael Landoed64b5e2017-06-09 03:19:04 +0300319 },
320 "statuses": {
321 "inDesign": {
322 "name": "In Design",
323 "values": [
324 "NOT_CERTIFIED_CHECKOUT",
325 "NOT_CERTIFIED_CHECKIN"
326 ]
327 },
328 "readyForCertification": {
329 "name": "Ready For Testing",
330 "values": ["READY_FOR_CERTIFICATION"]
331 },
332 "inCertification": {
333 "name": "In Testing",
334 "values": ["CERTIFICATION_IN_PROGRESS"]
335 },
336 "certified": {
337 "name": "Certified",
338 "values": ["CERTIFIED"]
339 },
340 "distributed": {
341 "name": "Distributed",
342 "values": ["DISTRIBUTED"]
343 }
344 },
345 "categoriesDictionary": {
346 "Mobility": "Application Layer 4+",
347 "Network L1-3": "Network Layer 2-3",
348 "Network L4": "Network Layer 4+",
349 "VoIP Call Control": "Application Layer 4+"
350 },
Michael Lando5b593492018-07-29 16:13:45 +0300351 "catalogMenuItem": {
352 "DESIGNER": {
353 "states": {
354 "NOT_CERTIFIED_CHECKOUT": {
355 "ANY": [
356 {
357 "text": "Submit for Testing",
358 "action": "changeLifecycleState",
359 "url": "lifecycleState/certificationRequest",
360 "emailModal": "lifecycleState/CERTIFICATIONREQUEST"
361 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300362 ],
Michael Lando5b593492018-07-29 16:13:45 +0300363 "NOT_OWNER": []
Michael Landoed64b5e2017-06-09 03:19:04 +0300364 },
365 "NOT_CERTIFIED_CHECKIN": {
366 "ANY": [
Michael Lando5b593492018-07-29 16:13:45 +0300367 {
368 "text": "Submit for Testing",
369 "action": "changeLifecycleState",
370 "url": "lifecycleState/certificationRequest",
371 "emailModal": "lifecycleState/CERTIFICATIONREQUEST"
372 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300373 ]
374 },
375 "READY_FOR_CERTIFICATION": {
Michael Lando5b593492018-07-29 16:13:45 +0300376 "ANY": []
Michael Landoed64b5e2017-06-09 03:19:04 +0300377 },
Michael Lando5b593492018-07-29 16:13:45 +0300378 "CERTIFICATION_IN_PROGRESS": {
379 "ANY": []
Michael Landoed64b5e2017-06-09 03:19:04 +0300380 },
Michael Lando5b593492018-07-29 16:13:45 +0300381 "CERTIFIED": {
382 "ANY": []
Michael Landoed64b5e2017-06-09 03:19:04 +0300383 }
384
385 }
386 },
Michael Lando5b593492018-07-29 16:13:45 +0300387 "OTHER": {
388 "states": {
389 "ANY": {
390 "ANY": []
Michael Landoed64b5e2017-06-09 03:19:04 +0300391 }
392 }
393 }
394 },
Michael Lando5b593492018-07-29 16:13:45 +0300395 "LifeCycleStatuses": {
396 "NOT_CERTIFIED_CHECKOUT": {"text": "In Design Check Out", "icon": "checkout-editable-status-icon"},
397 "NOT_CERTIFIED_CHECKIN": {"text": "In Design Check In", "icon": "checkin-status-icon "},
398 "READY_FOR_CERTIFICATION": {"text": "Ready for testing"},
399 "CERTIFICATION_IN_PROGRESS": {"text": "In Testing"},
400 "CERTIFIED": {"text": "Certified", "icon": "checkin-status-icon "}
Michael Landoed64b5e2017-06-09 03:19:04 +0300401 },
Michael Lando5b593492018-07-29 16:13:45 +0300402 "DistributionStatuses": {
403 "DISTRIBUTION_NOT_APPROVED": {"text": "Waiting For Distribution"},
404 "DISTRIBUTION_APPROVED": {"text": "Distribution Approved"},
405 "DISTRIBUTION_REJECTED": {"text": "Distribution Rejected"},
406 "DISTRIBUTED": {"text": "Distributed"}
Michael Landoed64b5e2017-06-09 03:19:04 +0300407 },
Michael Lando5b593492018-07-29 16:13:45 +0300408 "canvas_buttons": {
409 "checkIn": {
410 "text": "Check in",
411 "action": "changeLifecycleState",
412 "url": "lifecycleState/CHECKIN",
413 "confirmationModal": "lifecycleState/CHECKIN"
414 },
415 "submitForTesting": {
416 "text": "Submit for Testing",
417 "action": "changeLifecycleState",
418 "url": "lifecycleState/certificationRequest",
419 "emailModal": "lifecycleState/CERTIFICATIONREQUEST"
420 },
421 "deleteVersion": {
422 "text": "Delete Version",
423 "action": "changeLifecycleState",
424 "url": "lifecycleState/UNDOCHECKOUT",
425 "alertModal": "lifecycleState/UNDOCHECKOUT"
426 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300427 },
428
429 "component_workspace_menu_option": {
Michael Lando5b593492018-07-29 16:13:45 +0300430 "VFC": [
431 {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
432 {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
433 {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
434 {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
435 {"text": "Properties", "action": "onMenuItemPressed", "state": "workspace.properties"},
436 {"text": "Attributes", "action": "onMenuItemPressed", "state": "workspace.attributes"},
437 {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCap"},
438 {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}
Michael Landoed64b5e2017-06-09 03:19:04 +0300439 ],
Michael Lando5b593492018-07-29 16:13:45 +0300440 "VL": [
441 {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
442 {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
443 {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
444 {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
445 {"text": "Properties", "action": "onMenuItemPressed", "state": "workspace.properties"},
446 {"text": "Attributes", "action": "onMenuItemPressed", "state": "workspace.attributes"},
447 {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCap"},
448 {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}
Michael Landoed64b5e2017-06-09 03:19:04 +0300449 ],
Michael Lando5b593492018-07-29 16:13:45 +0300450 "CP": [
451 {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
452 {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
453 {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
454 {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
455 {"text": "Properties", "action": "onMenuItemPressed", "state": "workspace.properties"},
456 {"text": "Attributes", "action": "onMenuItemPressed", "state": "workspace.attributes"},
457 {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCap"},
458 {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}
Michael Landoed64b5e2017-06-09 03:19:04 +0300459 ],
Michael Lando5b593492018-07-29 16:13:45 +0300460 "VF": [
461 {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
462 {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
463 {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
464 {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
Michael Landoed64b5e2017-06-09 03:19:04 +0300465 // {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
Michael Lando5b593492018-07-29 16:13:45 +0300466 {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"},
Arielk802bd2a2018-04-16 15:37:39 +0300467 {"text":"Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"},
Michael Lando5b593492018-07-29 16:13:45 +0300468 {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
469 {"text": "Deployment", "action": "onMenuItemPressed", "state": "workspace.deployment"},
Michael Landoed64b5e2017-06-09 03:19:04 +0300470 // {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.resource_inputs"},
Michael Lando5b593492018-07-29 16:13:45 +0300471 {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"}
Michael Landoed64b5e2017-06-09 03:19:04 +0300472 ],
Michael Lando5b593492018-07-29 16:13:45 +0300473 "PNF": [
474 {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
475 {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
476 {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
477 {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"},
478 {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
479 {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"}
Michael Lando75aacbb2017-07-17 21:12:03 +0300480 ],
Michael Lando5b593492018-07-29 16:13:45 +0300481 "CR": [
482 {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
483 {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
484 {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
485 {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
486 {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"},
487 {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
488 {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"}
Michael Landoa5445102018-03-04 14:53:33 +0200489 ],
Michael Lando5b593492018-07-29 16:13:45 +0300490 "SERVICE": [
491 {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
492 {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
493 {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"},
494 {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
495 {"text": "Management Workflow", "action": "onMenuItemPressed", "state": "workspace.management_workflow"},
496 {"text": "Network Call Flow ", "action": "onMenuItemPressed", "state": "workspace.network_call_flow"},
497 {"text": "Distribution","action": "onMenuItemPressed","state": "workspace.distribution","disabledRoles": ["ADMIN", "TESTER", "GOVERNOR", "DESIGNER"]},
498 {"text": "Deployment", "action": "onMenuItemPressed", "state": "workspace.deployment"},
Michael Landoed64b5e2017-06-09 03:19:04 +0300499 // {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.service_inputs"},
Michael Lando5b593492018-07-29 16:13:45 +0300500 {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"}
Michael Landoed64b5e2017-06-09 03:19:04 +0300501 ]
502 }
503
504}
505
506module.exports = SDC_MENU_CONFIG;