1 const SDC_MENU_CONFIG = {
4 "title": "Admin's Workspace",
7 "NOT_CERTIFIED_CHECKOUT":{
9 {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest" , "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
12 "NOT_CERTIFIED_CHECKIN": {
14 {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
17 "READY_FOR_CERTIFICATION": {
21 "CERTIFICATION_IN_PROGRESS":{
32 "title": "Designer's Workspace",
37 "changeLifecycleStateButtons":{
38 "NOT_CERTIFIED_CHECKOUT":{ "submitForTesting": {"text":"Submit for Testing", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
39 "checkIn": {"text":"Check in", "url":"lifecycleState/CHECKIN", "confirmationModal": "lifecycleState/CHECKIN"},
40 "deleteVersion": {"text":"Delete Version", "url":"lifecycleState/UNDOCHECKOUT", "alertModal": "lifecycleState/UNDOCHECKOUT"}
42 "CERTIFIED":{ "checkOut": {"text":"Check Out", "url":"lifecycleState/CHECKOUT"}
44 "NOT_CERTIFIED_CHECKIN":{ "submitForTesting": {"text":"Submit for Testing", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
45 "checkOut": {"text":"Check Out", "url":"lifecycleState/CHECKOUT"}
49 "NOT_CERTIFIED_CHECKOUT":{
51 {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
54 "NOT_CERTIFIED_CHECKIN": {
56 {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
59 "READY_FOR_CERTIFICATION": {
63 "CERTIFICATION_IN_PROGRESS":{
73 {"text": "Active Projects", "groupname": "IN_PROGRESS" },
74 {"text": "Check Out", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKOUT"},
75 {"text": "Check In", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKIN"},
76 {"text": "Followed Projects", "groupname": "FOLLOWING" },
77 {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"},
78 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"},
79 {"text": "Certified", "group": "FOLLOWING", "state": "CERTIFIED"}
84 "title": "Tester's Workspace",
87 "showCreateNew": false
89 "changeLifecycleStateButtons":{
90 "READY_FOR_CERTIFICATION":{ "startTesting": {"text":"Start Testing", "url":"lifecycleState/startCertification"}
93 "CERTIFICATION_IN_PROGRESS":{ "accept": {"text":"Accept", "url":"lifecycleState/certify", "confirmationModal": "lifecycleState/certify"},
94 "reject": {"text":"Reject", "url":"lifecycleState/failCertification", "confirmationModal": "lifecycleState/failCertification"},
95 "cancel": {"text":"Cancel","action":"changeLifecycleState", "url":"lifecycleState/cancelCertification", "confirmationModal": "lifecycleState/cancel"}
99 "READY_FOR_CERTIFICATION":{
101 {"text":"Start Testing","action":"changeLifecycleState", "url":"lifecycleState/startCertification"}
104 "CERTIFICATION_IN_PROGRESS":{
106 {"text":"Accept","action":"changeLifecycleState", "url":"lifecycleState/certify", "confirmationModal": "lifecycleState/certify"},
107 {"text":"Reject","action":"changeLifecycleState", "url":"lifecycleState/failCertification", "confirmationModal": "lifecycleState/failCertification"},
108 {"text":"Cancel","action":"changeLifecycleState", "url":"lifecycleState/cancelCertification", "confirmationModal": "lifecycleState/cancel" }
113 {"text": "Active Projects", "groupname": "FOLLOWING" },
114 {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"},
115 {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"}
119 "title": "Operations Workspace",
122 "showCreateNew": false
124 "changeLifecycleStateButtons":{
125 "DISTRIBUTION_APPROVED":{ "distribute": {"text":"Distribute", "url":"distribution/PROD/activate", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }},
126 "monitor": {"text":"Monitor", "disabled":true}
128 "DISTRIBUTED":{ "redistribute": {"text":"Redistribute", "url":"distribution/PROD/activate", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }},
129 "monitor": {"text":"Monitor", "url":"distribution-state/monitor"}
134 "DISTRIBUTION_APPROVED": [
135 {"text": "Distribute","action":"changeLifecycleState", "url":"distribution/PROD/activate"}
138 {"text": "Monitor","action":"openDistributionModal", "url":"distribution-state/monitor"},
139 {"text": "Redistribute","action":"changeLifecycleState", "url":"distribution/PROD/activate"}
144 {"text": "Active Projects", "groupname": "FOLLOWING" },
145 {"text": "Waiting For Distribution", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTION_APPROVED"},
146 {"text": "Distributed", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTED"}
150 "title": "Governance Rep's Workspace",
153 "showCreateNew": false
155 "changeLifecycleStateButtons":{
156 "DISTRIBUTION_NOT_APPROVED":{ "approve": {"text":"Approve", "url":"distribution-state/approve", "confirmationModal": "distribution-state/approve", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }},
157 "reject": {"text":"Reject", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
159 "DISTRIBUTION_APPROVED":{ "reject": {"text":"Reject", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
161 "DISTRIBUTED": { "reject": {"text":"Reject", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
163 "DISTRIBUTION_REJECTED": { "approve": {"text": "Approve", "url": "distribution-state/approve", "confirmationModal": "distribution-state/approve", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }}
168 "DISTRIBUTION_NOT_APPROVED": [
169 {"text":"Approve","action":"changeLifecycleState", "url":"distribution-state/approve", "confirmationModal": "distribution-state/approve"},
170 {"text":"Reject","action":"changeLifecycleState", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
172 "DISTRIBUTION_APPROVED": [
173 {"text":"Reject","action":"changeLifecycleState", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
176 {"text":"Reject","action":"changeLifecycleState", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
178 "DISTRIBUTION_REJECTED": [
179 {"text":"Approve","action":"changeLifecycleState", "url":"distribution-state/approve", "confirmationModal": "distribution-state/approve"}
184 {"text": "Active Projects", "groupname": "FOLLOWING" },
185 {"text": "Waiting For Approval", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTION_NOT_APPROVED"},
186 {"text": "Distribution Rejected", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTION_REJECTED"},
187 {"text": "Distribution Approved", "group": "FOLLOWING", "state": "CERTIFIED", "dist": "DISTRIBUTION_APPROVED,DISTRIBUTED"}
192 "confirmationMessages": {
193 "lifecycleState/CHECKIN": {"showComment":true, "title": "Check in confirmation", "message": "Please add comment and confirm the check in."},
194 "lifecycleState/CHECKOUT": {"showComment":true, "title": "Check out confirmation", "message": "Please add comment and confirm the check out."},
195 "lifecycleState/certify": {"showComment":true, "title": "Certification confirmation", "message": "Please add comment and confirm test results."},
196 "lifecycleState/cancel": {"showComment":true, "title": "Cancel test", "message": "Please add comment and cancel test."},
197 "lifecycleState/failCertification": {"showComment":true, "title": "Rejection confirmation", "message": "Please add comment and confirm test results."},
198 "lifecycleState/CERTIFICATIONREQUEST": {"showComment":true, "title": "Submit for testing", "message": "Please add comment and submit for testing."},
199 "distribution-state/approve": {"showComment":true, "title": "Distribution confirmation", "message": "Please add comment and confirm %1 approval for distribution."},
200 "distribution-state/reject": {"showComment":true, "title": "Rejection confirmation", "message": "Please add comment and confirm %1 rejection for distribution."},
201 "updateTemplate": {"showComment":false, "title": "Update Template Confirmation", "message": "Modifying the Template might cause losing of previous information"}
204 "lifecycleState/UNDOCHECKOUT": {"title": "Delete Version Confirmation", "message": "Are you sure you want to delete this version?"},
205 "exitWithoutSaving": {"title": "Exit Without Saving Confirmation", "message": "All unsaved changes will be lost. Are you sure you want to exit this page?"},
206 "deleteInstance": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1 ?"},
207 "deleteInput": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1 ?"}
213 "NOT_CERTIFIED_CHECKOUT",
214 "NOT_CERTIFIED_CHECKIN"
217 "readyForCertification": {
218 "name": "Ready For Testing",
219 "values": ["READY_FOR_CERTIFICATION"]
222 "name": "In Testing",
223 "values": ["CERTIFICATION_IN_PROGRESS"]
227 "values": ["CERTIFIED"]
230 "name": "Distributed",
231 "values": ["DISTRIBUTED"]
234 "categoriesDictionary": {
235 "Mobility": "Application Layer 4+",
236 "Network L1-3": "Network Layer 2-3",
237 "Network L4": "Network Layer 4+",
238 "VoIP Call Control": "Application Layer 4+"
243 "NOT_CERTIFIED_CHECKOUT":{
245 {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
250 "NOT_CERTIFIED_CHECKIN": {
252 {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
255 "READY_FOR_CERTIFICATION": {
259 "CERTIFICATION_IN_PROGRESS":{
279 "LifeCycleStatuses":{
280 "NOT_CERTIFIED_CHECKOUT": { "text":"In Design Check Out", "icon": "checkout-editable-status-icon"},
281 "NOT_CERTIFIED_CHECKIN" : { "text":"In Design Check In", "icon": "checkin-status-icon "},
282 "READY_FOR_CERTIFICATION": { "text":"Ready for testing"},
283 "CERTIFICATION_IN_PROGRESS": { "text":"In Testing"},
284 "CERTIFIED": { "text":"Certified", "icon": "checkin-status-icon "}
286 "DistributionStatuses":{
287 "DISTRIBUTION_NOT_APPROVED": { "text":"Waiting For Distribution"},
288 "DISTRIBUTION_APPROVED" : { "text":"Distribution Approved"},
289 "DISTRIBUTION_REJECTED": { "text":"Distribution Rejected"},
290 "DISTRIBUTED": { "text":"Distributed"}
293 "checkIn": {"text":"Check in","action":"changeLifecycleState", "url":"lifecycleState/CHECKIN", "confirmationModal": "lifecycleState/CHECKIN"},
294 "submitForTesting": {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
295 "deleteVersion": {"text":"Delete Version", "action":"changeLifecycleState", "url":"lifecycleState/UNDOCHECKOUT", "alertModal": "lifecycleState/UNDOCHECKOUT"}
298 "component_workspace_menu_option": {
300 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
301 {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
302 {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
303 {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
304 {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
305 {"text":"Attributes", "action":"onMenuItemPressed", "state": "workspace.attributes"},
306 {"text":"Req. & Capabilities", "action":"onMenuItemPressed", "state": "workspace.reqAndCap"},
307 {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"}
310 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
311 {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
312 {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
313 {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
314 {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
315 {"text":"Attributes", "action":"onMenuItemPressed", "state": "workspace.attributes"},
316 {"text":"Req. & Capabilities", "action":"onMenuItemPressed", "state": "workspace.reqAndCap"},
317 {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"}
320 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
321 {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
322 {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
323 {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
324 {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
325 {"text":"Attributes", "action":"onMenuItemPressed", "state": "workspace.attributes"},
326 {"text":"Req. & Capabilities", "action":"onMenuItemPressed", "state": "workspace.reqAndCap"},
327 {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"}
330 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
331 {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
332 {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
333 {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
334 // {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
335 {"text":"Composition", "action":"onMenuItemPressed", "state": "workspace.composition.details"},
336 {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"},
337 {"text":"Deployment", "action":"onMenuItemPressed", "state": "workspace.deployment"},
338 // {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.resource_inputs"},
339 {"text":"Properties Assignment", "action":"onMenuItemPressed", "state": "workspace.properties_assignment"}
342 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
343 {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
344 {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
345 {"text":"Composition", "action":"onMenuItemPressed", "state": "workspace.composition.details"},
346 {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"},
347 {"text":"Properties Assignment", "action":"onMenuItemPressed", "state": "workspace.properties_assignment"}
350 {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
351 {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
352 {"text":"Composition", "action":"onMenuItemPressed", "state": "workspace.composition.details"},
353 {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"},
354 {"text":"Management Workflow", "action":"onMenuItemPressed", "state": "workspace.management_workflow"},
355 {"text":"Network Call Flow ", "action":"onMenuItemPressed", "state": "workspace.network_call_flow"},
356 {"text":"Monitor ", "action":"onMenuItemPressed", "state": "workspace.distribution", "disabledRoles": ["ADMIN", "TESTER", "GOVERNOR", "DESIGNER"]},
357 {"text":"Deployment", "action":"onMenuItemPressed", "state": "workspace.deployment"},
358 // {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.service_inputs"},
359 {"text":"Properties Assignment", "action":"onMenuItemPressed", "state": "workspace.properties_assignment"}
365 module.exports = SDC_MENU_CONFIG;