blob: 12dda2d78b27f52ae7f27ea0c4a38d6b35eeb0ed [file] [log] [blame]
Michael Landoed64b5e2017-06-09 03:19:04 +03001const SDC_MENU_CONFIG = {
2 "roles":{
3 "ADMIN":{
4 "title": "Admin's Workspace",
5 "pages":[],
6 "states":{
7 "NOT_CERTIFIED_CHECKOUT":{
8 "ANY":[
9 {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest" , "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
10 ]
11 },
12 "NOT_CERTIFIED_CHECKIN": {
13 "ANY": [
14 {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
15 ]
16 },
17 "READY_FOR_CERTIFICATION": {
18 "ANY":[
19 ]
20 },
21 "CERTIFICATION_IN_PROGRESS":{
22 "ANY":[
23 ]
24 },
25 "CERTIFIED":{
26 "ANY":[
27 ]
28 }
29 }
30 },
31 "DESIGNER":{
32 "title": "Designer's Workspace",
33 "pages":[],
34 "dashboard": {
35 "showCreateNew": true,
36 "showCreateNewProduct": false
37 },
38 "changeLifecycleStateButtons":{
39 "NOT_CERTIFIED_CHECKOUT":{ "submitForTesting": {"text":"Submit for Testing", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
40 "checkIn": {"text":"Check in", "url":"lifecycleState/CHECKIN", "confirmationModal": "lifecycleState/CHECKIN"},
41 "deleteVersion": {"text":"Delete Version", "url":"lifecycleState/UNDOCHECKOUT", "alertModal": "lifecycleState/UNDOCHECKOUT"}
42 },
43 "CERTIFIED":{ "checkOut": {"text":"Check Out", "url":"lifecycleState/CHECKOUT"}
44 },
45 "NOT_CERTIFIED_CHECKIN":{ "submitForTesting": {"text":"Submit for Testing", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
46 "checkOut": {"text":"Check Out", "url":"lifecycleState/CHECKOUT"}
47 }
48 },
49 "states":{
50 "NOT_CERTIFIED_CHECKOUT":{
51 "ANY":[
52 {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
53 ]
54 },
55 "NOT_CERTIFIED_CHECKIN": {
56 "ANY": [
57 {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
58 ]
59 },
60 "READY_FOR_CERTIFICATION": {
61 "ANY":[
62 ]
63 },
64 "CERTIFICATION_IN_PROGRESS":{
65 "ANY":[
66 ]
67 },
68 "CERTIFIED":{
69 "ANY":[
70 ]
71 }
72 },
73 "folder":[
74 {"text": "Active Projects", "groupname": "IN_PROGRESS" },
75 {"text": "Check Out", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKOUT"},
76 {"text": "Check In", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKIN"},
77 {"text": "Followed Projects", "groupname": "FOLLOWING" },
78 {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"},
79 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"},
80 {"text": "Certified", "group": "FOLLOWING", "state": "CERTIFIED"}
81 ]
82
83 },
84 "PRODUCT_STRATEGIST":{
85 "title": "Product Strategist's Workspace",
86 "pages":[],
87 "dashboard": {
88 "showCreateNew": false,
89 "showCreateNewProduct": false
90 },
91 "changeLifecycleStateButtons":{},
92
93 "states":{
94 "NOT_CERTIFIED_CHECKOUT":{
95 "ANY":[
96 ]
97 },
98 "NOT_CERTIFIED_CHECKIN": {
99 "ANY": [
100 ]
101 },
102 "READY_FOR_CERTIFICATION": {
103 "ANY":[
104 ]
105 },
106 "CERTIFICATION_IN_PROGRESS":{
107 "ANY":[
108 ]
109 },
110 "CERTIFIED":{
111 "ANY":[
112 ]
113 }
114 },
115 "folder":[
116 {"text": "Active Projects", "groupname": "IN_PROGRESS" },
117 {"text": "Check Out", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKOUT"},
118 {"text": "Check In", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKIN"},
119 {"text": "Followed Projects", "groupname": "FOLLOWING" },
120 {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"},
121 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"},
122 {"text": "Certified", "group": "FOLLOWING", "state": "CERTIFIED"}
123 ]
124 },
125 "PRODUCT_MANAGER":{
126 "title": "Product Manager Workspace",
127 "pages":[],
128 "dashboard": {
129 "showCreateNew": false,
130 "showCreateNewProduct": true
131 },
132 "changeLifecycleStateButtons":{
133 "NOT_CERTIFIED_CHECKOUT":{ "checkIn": {"text":"Check in", "url":"lifecycleState/CHECKIN", "confirmationModal": "lifecycleState/CHECKIN"},
134 "deleteVersion":{"text":"Delete Version", "url":"lifecycleState/UNDOCHECKOUT", "alertModal": "lifecycleState/UNDOCHECKOUT"}
135 },
136 "NOT_CERTIFIED_CHECKIN":{ "checkOut": {"text":"Check Out", "url":"lifecycleState/CHECKOUT"}
137 }
138 },
139 "states":{
140 "NOT_CERTIFIED_CHECKOUT":{
141 "ANY":[
142 ]
143 },
144 "NOT_CERTIFIED_CHECKIN": {
145 "ANY": [
146 ]
147 },
148 "READY_FOR_CERTIFICATION": {
149 "ANY":[
150 ]
151 },
152 "CERTIFICATION_IN_PROGRESS":{
153 "ANY":[
154 ]
155 },
156 "CERTIFIED":{
157 "ANY":[
158 ]
159 }
160 },
161 "folder":[
162 {"text": "Active Projects", "groupname": "IN_PROGRESS" },
163 {"text": "Check Out", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKOUT"},
164 {"text": "Check In", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKIN"},
165 {"text": "Followed Projects", "groupname": "FOLLOWING" },
166 {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"},
167 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"},
168 {"text": "Certified", "group": "FOLLOWING", "state": "CERTIFIED"}
169 ]
170 },
171 "TESTER":{
172 "title": "Tester's Workspace",
173 "pages":[],
174 "dashboard": {
175 "showCreateNew": false,
176 "showCreateNewProduct": false
177 },
178 "changeLifecycleStateButtons":{
179 "READY_FOR_CERTIFICATION":{ "startTesting": {"text":"Start Testing", "url":"lifecycleState/startCertification"}
180
181 },
182 "CERTIFICATION_IN_PROGRESS":{ "accept": {"text":"Accept", "url":"lifecycleState/certify", "confirmationModal": "lifecycleState/certify"},
183 "reject": {"text":"Reject", "url":"lifecycleState/failCertification", "confirmationModal": "lifecycleState/failCertification"},
184 "cancel": {"text":"Cancel","action":"changeLifecycleState", "url":"lifecycleState/cancelCertification", "confirmationModal": "lifecycleState/cancel"}
185 }
186 },
187 "states": {
188 "READY_FOR_CERTIFICATION":{
189 "ANY":[
190 {"text":"Start Testing","action":"changeLifecycleState", "url":"lifecycleState/startCertification"}
191 ]
192 },
193 "CERTIFICATION_IN_PROGRESS":{
194 "ANY":[
195 {"text":"Accept","action":"changeLifecycleState", "url":"lifecycleState/certify", "confirmationModal": "lifecycleState/certify"},
196 {"text":"Reject","action":"changeLifecycleState", "url":"lifecycleState/failCertification", "confirmationModal": "lifecycleState/failCertification"},
197 {"text":"Cancel","action":"changeLifecycleState", "url":"lifecycleState/cancelCertification", "confirmationModal": "lifecycleState/cancel" }
198 ]
199 }
200 },
201 "folder":[
202 {"text": "Active Projects", "groupname": "FOLLOWING" },
203 {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"},
204 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"}
205 ]
206 },
207 "OPS":{
208 "title": "Operations Workspace",
209 "pages":[],
210 "dashboard": {
211 "showCreateNew": false,
212 "showCreateNewProduct": false
213 },
214 "changeLifecycleStateButtons":{
215 "DISTRIBUTION_APPROVED":{ "distribute": {"text":"Distribute", "url":"distribution/PROD/activate", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }},
216 "monitor": {"text":"Monitor", "disabled":true}
217 },
218 "DISTRIBUTED":{ "redistribute": {"text":"Redistribute", "url":"distribution/PROD/activate", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }},
219 "monitor": {"text":"Monitor", "url":"distribution-state/monitor"}
220 }
221 },
222 "states": {
223 "CERTIFIED": {
224 "DISTRIBUTION_APPROVED": [
225 {"text": "Distribute","action":"changeLifecycleState", "url":"distribution/PROD/activate"}
226 ],
227 "DISTRIBUTED": [
228 {"text": "Monitor","action":"openDistributionModal", "url":"distribution-state/monitor"},
229 {"text": "Redistribute","action":"changeLifecycleState", "url":"distribution/PROD/activate"}
230 ]
231 }
232 },
233 "folder":[
234 {"text": "Active Projects", "groupname": "FOLLOWING" },
235 {"text": "Waiting For Distribution", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTION_APPROVED"},
236 {"text": "Distributed", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTED"}
237 ]
238 },
239 "GOVERNOR":{
240 "title": "Governance Rep's Workspace",
241 "pages":[],
242 "dashboard": {
243 "showCreateNew": false,
244 "showCreateNewProduct": false
245 },
246 "changeLifecycleStateButtons":{
247 "DISTRIBUTION_NOT_APPROVED":{ "approve": {"text":"Approve", "url":"distribution-state/approve", "confirmationModal": "distribution-state/approve", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }},
248 "reject": {"text":"Reject", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
249 },
250 "DISTRIBUTION_APPROVED":{ "reject": {"text":"Reject", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
251 },
252 "DISTRIBUTED": { "reject": {"text":"Reject", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
253 },
254 "DISTRIBUTION_REJECTED": { "approve": {"text": "Approve", "url": "distribution-state/approve", "confirmationModal": "distribution-state/approve", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }}
255 }
256 },
257 "states": {
258 "CERTIFIED": {
259 "DISTRIBUTION_NOT_APPROVED": [
260 {"text":"Approve","action":"changeLifecycleState", "url":"distribution-state/approve", "confirmationModal": "distribution-state/approve"},
261 {"text":"Reject","action":"changeLifecycleState", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
262 ],
263 "DISTRIBUTION_APPROVED": [
264 {"text":"Reject","action":"changeLifecycleState", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
265 ],
266 "DISTRIBUTED": [
267 {"text":"Reject","action":"changeLifecycleState", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
268 ],
269 "DISTRIBUTION_REJECTED": [
270 {"text":"Approve","action":"changeLifecycleState", "url":"distribution-state/approve", "confirmationModal": "distribution-state/approve"}
271 ]
272 }
273 },
274 "folder":[
275 {"text": "Active Projects", "groupname": "FOLLOWING" },
276 {"text": "Waiting For Approval", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTION_NOT_APPROVED"},
277 {"text": "Distribution Rejected", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTION_REJECTED"},
278 {"text": "Distribution Approved", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTION_APPROVED,DISTRIBUTED"}
279
280 ]
281 }
282 },
283 "confirmationMessages": {
284 "lifecycleState/CHECKIN": {"showComment":true, "title": "Check in confirmation", "message": "Please add comment and confirm the check in."},
285 "lifecycleState/CHECKOUT": {"showComment":true, "title": "Check out confirmation", "message": "Please add comment and confirm the check out."},
286 "lifecycleState/certify": {"showComment":true, "title": "Certification confirmation", "message": "Please add comment and confirm test results."},
287 "lifecycleState/cancel": {"showComment":true, "title": "Cancel test", "message": "Please add comment and cancel test."},
288 "lifecycleState/failCertification": {"showComment":true, "title": "Rejection confirmation", "message": "Please add comment and confirm test results."},
289 "lifecycleState/CERTIFICATIONREQUEST": {"showComment":true, "title": "Submit for testing", "message": "Please add comment and submit for testing."},
290 "distribution-state/approve": {"showComment":true, "title": "Distribution confirmation", "message": "Please add comment and confirm %1 approval for distribution."},
291 "distribution-state/reject": {"showComment":true, "title": "Rejection confirmation", "message": "Please add comment and confirm %1 rejection for distribution."},
292 "updateTemplate": {"showComment":false, "title": "Update Template Confirmation", "message": "Modifying the Template might cause losing of previous information"}
293 },
294 "alertMessages": {
295 "lifecycleState/UNDOCHECKOUT": {"title": "Delete Version Confirmation", "message": "Are you sure you want to delete this version?"},
296 "exitWithoutSaving": {"title": "Exit Without Saving Confirmation", "message": "All unsaved changes will be lost. Are you sure you want to exit this page?"},
297 "deleteInstance": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1 ?"},
298 "deleteInput": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1 ?"}
299 },
300 "statuses": {
301 "inDesign": {
302 "name": "In Design",
303 "values": [
304 "NOT_CERTIFIED_CHECKOUT",
305 "NOT_CERTIFIED_CHECKIN"
306 ]
307 },
308 "readyForCertification": {
309 "name": "Ready For Testing",
310 "values": ["READY_FOR_CERTIFICATION"]
311 },
312 "inCertification": {
313 "name": "In Testing",
314 "values": ["CERTIFICATION_IN_PROGRESS"]
315 },
316 "certified": {
317 "name": "Certified",
318 "values": ["CERTIFIED"]
319 },
320 "distributed": {
321 "name": "Distributed",
322 "values": ["DISTRIBUTED"]
323 }
324 },
325 "categoriesDictionary": {
326 "Mobility": "Application Layer 4+",
327 "Network L1-3": "Network Layer 2-3",
328 "Network L4": "Network Layer 4+",
329 "VoIP Call Control": "Application Layer 4+"
330 },
331 "catalogMenuItem":{
332 "DESIGNER":{
333 "states":{
334 "NOT_CERTIFIED_CHECKOUT":{
335 "ANY":[
336 {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
337 ],
338 "NOT_OWNER":[
339 ]
340 },
341 "NOT_CERTIFIED_CHECKIN": {
342 "ANY": [
343 {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
344 ]
345 },
346 "READY_FOR_CERTIFICATION": {
347 "ANY":[
348 ]
349 },
350 "CERTIFICATION_IN_PROGRESS":{
351 "ANY":[
352 ]
353 },
354 "CERTIFIED":{
355 "ANY":[
356 ]
357 }
358
359 }
360 },
361 "PRODUCT_MANAGER":{
362 "states":{
363 "NOT_CERTIFIED_CHECKOUT":{
364 "ANY":[
365 ],
366 "NOT_OWNER":[
367 ]
368 },
369 "NOT_CERTIFIED_CHECKIN": {
370 "ANY": [
371 ]
372 },
373 "READY_FOR_CERTIFICATION": {
374 "ANY":[
375 ]
376 },
377 "CERTIFICATION_IN_PROGRESS":{
378 "ANY":[
379 ]
380 },
381 "CERTIFIED":{
382 "ANY":[
383 ]
384 }
385 },
386 "folder":[
387 {"text": "Active Projects", "groupname": "IN_PROGRESS" },
388 {"text": "Check Out", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKOUT"},
389 {"text": "Check In", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKIN"},
390 {"text": "Followed Projects", "groupname": "FOLLOWING" },
391 {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"},
392 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"},
393 {"text": "Certified", "group": "FOLLOWING", "state": "CERTIFIED"}
394 ]
395 },
396 "PRODUCT_STRATEGIST":{
397 "title": "Product Strategist's Workspace",
398 "pages":[],
399 "dashboard": {
400 "showCreateNew": false,
401 "showCreateNewProduct": true
402 },
403 "states":{
404 "NOT_CERTIFIED_CHECKOUT":{
405 "ANY":[
406 ],
407 "NOT_OWNER":[
408 ]
409 },
410 "NOT_CERTIFIED_CHECKIN": {
411 "ANY": [
412 ]
413 },
414 "READY_FOR_CERTIFICATION": {
415 "ANY":[
416 ]
417 },
418 "CERTIFICATION_IN_PROGRESS":{
419 "ANY":[
420 ]
421 },
422 "CERTIFIED":{
423 "ANY":[
424 ]
425 }
426 },
427 "folder":[
428 {"text": "Active Projects", "groupname": "IN_PROGRESS" },
429 {"text": "Check Out", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKOUT"},
430 {"text": "Check In", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKIN"},
431 {"text": "Followed Projects", "groupname": "FOLLOWING" },
432 {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"},
433 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"},
434 {"text": "Certified", "group": "FOLLOWING", "state": "CERTIFIED"}
435 ]
436 },
437 "OTHER":{
438 "states":{
439 "ANY":{
440 "ANY":[
441 ]
442 }
443 }
444 }
445 },
446 "LifeCycleStatuses":{
447 "NOT_CERTIFIED_CHECKOUT": { "text":"In Design Check Out", "icon": "checkout-editable-status-icon"},
448 "NOT_CERTIFIED_CHECKIN" : { "text":"In Design Check In", "icon": "checkin-status-icon "},
449 "READY_FOR_CERTIFICATION": { "text":"Ready for testing"},
450 "CERTIFICATION_IN_PROGRESS": { "text":"In Testing"},
451 "CERTIFIED": { "text":"Certified", "icon": "checkin-status-icon "}
452 },
453 "DistributionStatuses":{
454 "DISTRIBUTION_NOT_APPROVED": { "text":"Waiting For Distribution"},
455 "DISTRIBUTION_APPROVED" : { "text":"Distribution Approved"},
456 "DISTRIBUTION_REJECTED": { "text":"Distribution Rejected"},
457 "DISTRIBUTED": { "text":"Distributed"}
458 },
459 "canvas_buttons":{
460 "checkIn": {"text":"Check in","action":"changeLifecycleState", "url":"lifecycleState/CHECKIN", "confirmationModal": "lifecycleState/CHECKIN"},
461 "submitForTesting": {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
462 "deleteVersion": {"text":"Delete Version", "action":"changeLifecycleState", "url":"lifecycleState/UNDOCHECKOUT", "alertModal": "lifecycleState/UNDOCHECKOUT"}
463 },
464
465 "component_workspace_menu_option": {
466 "VFC":[
467 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
468 {"text":"Icon", "action":"onMenuItemPressed", "state": "workspace.icons"},
469 {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
470 {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
471 {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
472 {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
473 {"text":"Attributes", "action":"onMenuItemPressed", "state": "workspace.attributes"},
474 {"text":"Req. & Capabilities", "action":"onMenuItemPressed", "state": "workspace.reqAndCap"},
475 {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"}
476 ],
477 "VL":[
478 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
479 {"text":"Icon", "action":"onMenuItemPressed", "state": "workspace.icons"},
480 {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
481 {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
482 {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
483 {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
484 {"text":"Attributes", "action":"onMenuItemPressed", "state": "workspace.attributes"},
485 {"text":"Req. & Capabilities", "action":"onMenuItemPressed", "state": "workspace.reqAndCap"},
486 {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"}
487 ],
488 "CP":[
489 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
490 {"text":"Icon", "action":"onMenuItemPressed", "state": "workspace.icons"},
491 {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
492 {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
493 {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
494 {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
495 {"text":"Attributes", "action":"onMenuItemPressed", "state": "workspace.attributes"},
496 {"text":"Req. & Capabilities", "action":"onMenuItemPressed", "state": "workspace.reqAndCap"},
497 {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"}
498 ],
499 "VF":[
500 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
501 {"text":"Icon", "action":"onMenuItemPressed", "state": "workspace.icons"},
502 {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
503 {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
504 {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
505 // {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
506 {"text":"Composition", "action":"onMenuItemPressed", "state": "workspace.composition.details"},
507 {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"},
508 {"text":"Deployment", "action":"onMenuItemPressed", "state": "workspace.deployment"},
509 // {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.resource_inputs"},
510 {"text":"Properties Assignment", "action":"onMenuItemPressed", "state": "workspace.properties_assignment"}
511 ],
512 "SERVICE":[
513 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
514 {"text":"Icon", "action":"onMenuItemPressed", "state": "workspace.icons"},
515 {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
516 {"text":"Composition", "action":"onMenuItemPressed", "state": "workspace.composition.details"},
517 {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"},
518 {"text":"Management Workflow", "action":"onMenuItemPressed", "state": "workspace.management_workflow"},
519 {"text":"Network Call Flow ", "action":"onMenuItemPressed", "state": "workspace.network_call_flow"},
520 {"text":"Monitor ", "action":"onMenuItemPressed", "state": "workspace.distribution", "disabledRoles": ["ADMIN", "TESTER", "GOVERNOR", "DESIGNER", "PRODUCT_MANAGER", "PRODUCT_STRATEGIST"]},
521 {"text":"Deployment", "action":"onMenuItemPressed", "state": "workspace.deployment"},
522 // {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.service_inputs"},
523 {"text":"Properties Assignment", "action":"onMenuItemPressed", "state": "workspace.properties_assignment"}
524 ],
525 "PRODUCT":[
526 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
527 {"text":"Hierarchy", "action":"onMenuItemPressed", "state": "workspace.hierarchy"},
528 {"text":"Icon", "action":"onMenuItemPressed", "state": "workspace.icons"},
529 {"text":"Composition", "action":"onMenuItemPressed", "state": "workspace.composition.details"}
530 ]
531 }
532
533}
534
535module.exports = SDC_MENU_CONFIG;