1 const SDC_MENU_CONFIG = {
4 "title": "Admin's Workspace",
7 "title": "Designer's Workspace",
11 "changeLifecycleStateButtons": {
12 "NOT_CERTIFIED_CHECKOUT": {
16 "url": "lifecycleState/certify",
17 "confirmationModal": "lifecycleState/certify"
21 "url": "lifecycleState/CHECKIN",
22 "confirmationModal": "lifecycleState/CHECKIN"
25 "text": "Delete Version",
26 "url": "lifecycleState/UNDOCHECKOUT",
27 "alertModal": "lifecycleState/UNDOCHECKOUT"
32 "text": "Submit for Testing",
33 "url": "lifecycleState/certificationRequest",
34 "emailModal": "lifecycleState/CERTIFICATIONREQUEST"
38 "url": "lifecycleState/CHECKIN",
39 "confirmationModal": "lifecycleState/CHECKIN"
42 "text": "Delete Version",
43 "url": "lifecycleState/UNDOCHECKOUT",
44 "alertModal": "lifecycleState/UNDOCHECKOUT"
51 "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
54 "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
57 "NOT_CERTIFIED_CHECKIN": {
61 "url": "lifecycleState/certify",
62 "confirmationModal": "lifecycleState/certify"
64 "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
68 "text": "Submit for Testing",
69 "url": "lifecycleState/certificationRequest",
70 "emailModal": "lifecycleState/CERTIFICATIONREQUEST"
72 "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"}
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"},
82 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"},
83 {"text": "Certified", "group": "FOLLOWING", "state": "CERTIFIED"}
88 "title": "Tester's Workspace",
90 "showCreateNew": false
92 "changeLifecycleStateButtons": {
93 "READY_FOR_CERTIFICATION": {
96 "startTesting": {"text": "Start Testing", "url": "lifecycleState/startCertification"}
99 "CERTIFICATION_IN_PROGRESS": {
104 "url": "lifecycleState/certify",
105 "confirmationModal": "lifecycleState/certify"
109 "url": "lifecycleState/failCertification",
110 "confirmationModal": "lifecycleState/failCertification"
114 "action": "changeLifecycleState",
115 "url": "lifecycleState/cancelCertification",
116 "confirmationModal": "lifecycleState/cancel"
122 {"text": "Active Projects", "groupname": "FOLLOWING"},
123 {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"},
124 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"}
128 "title": "Operations Workspace",
130 "showCreateNew": false
132 "changeLifecycleStateButtons": {
133 "DISTRIBUTION_APPROVED": {
137 "text": "Distribute",
138 "url": "distribution/PROD/activate",
139 "conformanceLevelModal": {
140 "url": "distribution-state/reject",
141 "confirmationModal": "distribution-state/reject"
144 "monitor": {"text": "Monitor", "disabled": true}
151 "text": "Redistribute",
152 "url": "distribution/PROD/activate",
153 "conformanceLevelModal": {
154 "url": "distribution-state/reject",
155 "confirmationModal": "distribution-state/reject"
158 "monitor": {"text": "Monitor", "url": "distribution-state/monitor"}
163 {"text": "Active Projects", "groupname": "FOLLOWING"},
165 "text": "Waiting For Distribution",
166 "group": "FOLLOWING",
167 "state": "CERTIFIED",
168 "dist": "DISTRIBUTION_APPROVED"
170 {"text": "Distributed", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTED"}
174 "title": "Governance Rep's Workspace",
176 "showCreateNew": false
178 "changeLifecycleStateButtons": {
179 "DISTRIBUTION_NOT_APPROVED": {
184 "url": "distribution-state/approve",
185 "confirmationModal": "distribution-state/approve",
186 "conformanceLevelModal": {
187 "url": "distribution-state/reject",
188 "confirmationModal": "distribution-state/reject"
193 "url": "distribution-state/reject",
194 "confirmationModal": "distribution-state/reject"
198 "DISTRIBUTION_APPROVED": {
203 "url": "distribution-state/reject",
204 "confirmationModal": "distribution-state/reject"
213 "url": "distribution-state/reject",
214 "confirmationModal": "distribution-state/reject"
218 "DISTRIBUTION_REJECTED": {
223 "url": "distribution-state/approve",
224 "confirmationModal": "distribution-state/approve",
225 "conformanceLevelModal": {
226 "url": "distribution-state/reject",
227 "confirmationModal": "distribution-state/reject"
234 {"text": "Active Projects", "groupname": "FOLLOWING"},
236 "text": "Waiting For Approval",
237 "group": "FOLLOWING",
238 "state": "CERTIFIED",
239 "dist": "DISTRIBUTION_NOT_APPROVED"
242 "text": "Distribution Rejected",
243 "group": "FOLLOWING",
244 "state": "CERTIFIED",
245 "dist": "DISTRIBUTION_REJECTED"
248 "text": "Distribution Approved",
249 "group": "FOLLOWING",
250 "state": "CERTIFIED",
251 "dist": "DISTRIBUTION_APPROVED,DISTRIBUTED"
257 "confirmationMessages": {
258 "lifecycleState/CHECKIN": {
260 "title": "Check in confirmation",
261 "message": "Please add comment and confirm the check in."
263 "lifecycleState/CHECKOUT": {
265 "title": "Check out confirmation",
266 "message": "Please add comment and confirm the check out."
268 "lifecycleState/certify": {
270 "title": "Certification confirmation",
271 "message": "Please add comment and confirm test results."
273 "lifecycleState/cancel": {
275 "title": "Cancel test",
276 "message": "Please add comment and cancel test."
278 "lifecycleState/failCertification": {
280 "title": "Rejection confirmation",
281 "message": "Please add comment and confirm test results."
283 "lifecycleState/CERTIFICATIONREQUEST": {
285 "title": "Submit for testing",
286 "message": "Please add comment and submit for testing."
288 "distribution-state/approve": {
290 "title": "Distribution confirmation",
291 "message": "Please add comment and confirm %1 approval for distribution."
293 "distribution-state/reject": {
295 "title": "Rejection confirmation",
296 "message": "Please add comment and confirm %1 rejection for distribution."
299 "showComment": false,
300 "title": "Update Template Confirmation",
301 "message": "Modifying the Template might cause losing of previous information"
305 "lifecycleState/UNDOCHECKOUT": {
306 "title": "Delete Version Confirmation",
307 "message": "Are you sure you want to delete this version?"
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?"
314 "title": "Switch Versions",
315 "message": "Switching versions will erase service paths: %1. Are you sure you want to proceed?"
317 "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?"}
324 "NOT_CERTIFIED_CHECKOUT",
325 "NOT_CERTIFIED_CHECKIN"
328 "readyForCertification": {
329 "name": "Ready For Testing",
330 "values": ["READY_FOR_CERTIFICATION"]
333 "name": "In Testing",
334 "values": ["CERTIFICATION_IN_PROGRESS"]
338 "values": ["CERTIFIED"]
341 "name": "Distributed",
342 "values": ["DISTRIBUTED"]
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+"
354 "NOT_CERTIFIED_CHECKOUT": {
357 "text": "Submit for Testing",
358 "action": "changeLifecycleState",
359 "url": "lifecycleState/certificationRequest",
360 "emailModal": "lifecycleState/CERTIFICATIONREQUEST"
365 "NOT_CERTIFIED_CHECKIN": {
368 "text": "Submit for Testing",
369 "action": "changeLifecycleState",
370 "url": "lifecycleState/certificationRequest",
371 "emailModal": "lifecycleState/CERTIFICATIONREQUEST"
375 "READY_FOR_CERTIFICATION": {
378 "CERTIFICATION_IN_PROGRESS": {
395 "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 "}
402 "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"}
411 "action": "changeLifecycleState",
412 "url": "lifecycleState/CHECKIN",
413 "confirmationModal": "lifecycleState/CHECKIN"
415 "submitForTesting": {
416 "text": "Submit for Testing",
417 "action": "changeLifecycleState",
418 "url": "lifecycleState/certificationRequest",
419 "emailModal": "lifecycleState/CERTIFICATIONREQUEST"
422 "text": "Delete Version",
423 "action": "changeLifecycleState",
424 "url": "lifecycleState/UNDOCHECKOUT",
425 "alertModal": "lifecycleState/UNDOCHECKOUT"
429 "component_workspace_menu_option": {
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"}
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"}
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"}
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"},
465 {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"},
466 {"text": "Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"},
467 {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
468 {"text": "Deployment", "action": "onMenuItemPressed", "state": "workspace.deployment"},
470 "text": "Properties Assignment",
471 "action": "onMenuItemPressed",
472 "state": "workspace.properties_assignment"
474 {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCapEditable"}
477 {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
478 {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
479 {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
480 {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
481 {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"},
482 {"text": "Operation", "action": "onMenuItemPressed", "state": "workspace.interface_operation"},
483 {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
485 "text": "Properties Assignment",
486 "action": "onMenuItemPressed",
487 "state": "workspace.properties_assignment"
489 {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCapEditable"}
492 {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
493 {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"},
494 {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"},
495 {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
496 {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"},
497 {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
498 {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"}
501 {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"},
502 {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"},
503 {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details", "disabledCategories":["Partner Domain Service"]},
504 {"text": "Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"},
505 {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"},
506 {"text": "Management Workflow", "action": "onMenuItemPressed", "state": "workspace.management_workflow"},
507 {"text": "Network Call Flow ", "action": "onMenuItemPressed", "state": "workspace.network_call_flow"},
508 {"text": "Distribution","action": "onMenuItemPressed","state": "workspace.distribution","disabledRoles": ["ADMIN", "TESTER", "GOVERNOR", "DESIGNER"]},
509 {"text": "Deployment", "action": "onMenuItemPressed", "state": "workspace.deployment"},
511 "text": "Properties Assignment",
512 "action": "onMenuItemPressed",
513 "state": "workspace.properties_assignment"
515 {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCapEditable"}
521 module.exports = SDC_MENU_CONFIG;