Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 1 | const 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": { |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 35 | "showCreateNew": true |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 36 | }, |
| 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"} |
| 41 | }, |
| 42 | "CERTIFIED":{ "checkOut": {"text":"Check Out", "url":"lifecycleState/CHECKOUT"} |
| 43 | }, |
| 44 | "NOT_CERTIFIED_CHECKIN":{ "submitForTesting": {"text":"Submit for Testing", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}, |
| 45 | "checkOut": {"text":"Check Out", "url":"lifecycleState/CHECKOUT"} |
| 46 | } |
| 47 | }, |
| 48 | "states":{ |
| 49 | "NOT_CERTIFIED_CHECKOUT":{ |
| 50 | "ANY":[ |
| 51 | {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"} |
| 52 | ] |
| 53 | }, |
| 54 | "NOT_CERTIFIED_CHECKIN": { |
| 55 | "ANY": [ |
| 56 | {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"} |
| 57 | ] |
| 58 | }, |
| 59 | "READY_FOR_CERTIFICATION": { |
| 60 | "ANY":[ |
| 61 | ] |
| 62 | }, |
| 63 | "CERTIFICATION_IN_PROGRESS":{ |
| 64 | "ANY":[ |
| 65 | ] |
| 66 | }, |
| 67 | "CERTIFIED":{ |
| 68 | "ANY":[ |
| 69 | ] |
| 70 | } |
| 71 | }, |
| 72 | "folder":[ |
| 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"} |
| 80 | ] |
| 81 | |
| 82 | }, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 83 | "TESTER":{ |
| 84 | "title": "Tester's Workspace", |
| 85 | "pages":[], |
| 86 | "dashboard": { |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 87 | "showCreateNew": false |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 88 | }, |
| 89 | "changeLifecycleStateButtons":{ |
| 90 | "READY_FOR_CERTIFICATION":{ "startTesting": {"text":"Start Testing", "url":"lifecycleState/startCertification"} |
| 91 | |
| 92 | }, |
| 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"} |
| 96 | } |
| 97 | }, |
| 98 | "states": { |
| 99 | "READY_FOR_CERTIFICATION":{ |
| 100 | "ANY":[ |
| 101 | {"text":"Start Testing","action":"changeLifecycleState", "url":"lifecycleState/startCertification"} |
| 102 | ] |
| 103 | }, |
| 104 | "CERTIFICATION_IN_PROGRESS":{ |
| 105 | "ANY":[ |
| 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" } |
| 109 | ] |
| 110 | } |
| 111 | }, |
| 112 | "folder":[ |
| 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"} |
| 116 | ] |
| 117 | }, |
| 118 | "OPS":{ |
| 119 | "title": "Operations Workspace", |
| 120 | "pages":[], |
| 121 | "dashboard": { |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 122 | "showCreateNew": false |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 123 | }, |
| 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} |
| 127 | }, |
| 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"} |
| 130 | } |
| 131 | }, |
| 132 | "states": { |
| 133 | "CERTIFIED": { |
| 134 | "DISTRIBUTION_APPROVED": [ |
| 135 | {"text": "Distribute","action":"changeLifecycleState", "url":"distribution/PROD/activate"} |
| 136 | ], |
| 137 | "DISTRIBUTED": [ |
| 138 | {"text": "Monitor","action":"openDistributionModal", "url":"distribution-state/monitor"}, |
| 139 | {"text": "Redistribute","action":"changeLifecycleState", "url":"distribution/PROD/activate"} |
| 140 | ] |
| 141 | } |
| 142 | }, |
| 143 | "folder":[ |
| 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"} |
| 147 | ] |
| 148 | }, |
| 149 | "GOVERNOR":{ |
| 150 | "title": "Governance Rep's Workspace", |
| 151 | "pages":[], |
| 152 | "dashboard": { |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 153 | "showCreateNew": false |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 154 | }, |
| 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"} |
| 158 | }, |
| 159 | "DISTRIBUTION_APPROVED":{ "reject": {"text":"Reject", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"} |
| 160 | }, |
| 161 | "DISTRIBUTED": { "reject": {"text":"Reject", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"} |
| 162 | }, |
| 163 | "DISTRIBUTION_REJECTED": { "approve": {"text": "Approve", "url": "distribution-state/approve", "confirmationModal": "distribution-state/approve", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }} |
| 164 | } |
| 165 | }, |
| 166 | "states": { |
| 167 | "CERTIFIED": { |
| 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"} |
| 171 | ], |
| 172 | "DISTRIBUTION_APPROVED": [ |
| 173 | {"text":"Reject","action":"changeLifecycleState", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"} |
| 174 | ], |
| 175 | "DISTRIBUTED": [ |
| 176 | {"text":"Reject","action":"changeLifecycleState", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"} |
| 177 | ], |
| 178 | "DISTRIBUTION_REJECTED": [ |
| 179 | {"text":"Approve","action":"changeLifecycleState", "url":"distribution-state/approve", "confirmationModal": "distribution-state/approve"} |
| 180 | ] |
| 181 | } |
| 182 | }, |
| 183 | "folder":[ |
| 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"} |
| 188 | |
| 189 | ] |
| 190 | } |
| 191 | }, |
| 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"} |
| 202 | }, |
| 203 | "alertMessages": { |
| 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?"}, |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 206 | "upgradeInstance": {"title": "Switch Versions", "message": "Switching versions will erase service paths: %1. Are you sure you want to proceed?"}, |
| 207 | "deleteInstance": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1?"}, |
| 208 | "deleteInput": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1?"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 209 | }, |
| 210 | "statuses": { |
| 211 | "inDesign": { |
| 212 | "name": "In Design", |
| 213 | "values": [ |
| 214 | "NOT_CERTIFIED_CHECKOUT", |
| 215 | "NOT_CERTIFIED_CHECKIN" |
| 216 | ] |
| 217 | }, |
| 218 | "readyForCertification": { |
| 219 | "name": "Ready For Testing", |
| 220 | "values": ["READY_FOR_CERTIFICATION"] |
| 221 | }, |
| 222 | "inCertification": { |
| 223 | "name": "In Testing", |
| 224 | "values": ["CERTIFICATION_IN_PROGRESS"] |
| 225 | }, |
| 226 | "certified": { |
| 227 | "name": "Certified", |
| 228 | "values": ["CERTIFIED"] |
| 229 | }, |
| 230 | "distributed": { |
| 231 | "name": "Distributed", |
| 232 | "values": ["DISTRIBUTED"] |
| 233 | } |
| 234 | }, |
| 235 | "categoriesDictionary": { |
| 236 | "Mobility": "Application Layer 4+", |
| 237 | "Network L1-3": "Network Layer 2-3", |
| 238 | "Network L4": "Network Layer 4+", |
| 239 | "VoIP Call Control": "Application Layer 4+" |
| 240 | }, |
| 241 | "catalogMenuItem":{ |
| 242 | "DESIGNER":{ |
| 243 | "states":{ |
| 244 | "NOT_CERTIFIED_CHECKOUT":{ |
| 245 | "ANY":[ |
| 246 | {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"} |
| 247 | ], |
| 248 | "NOT_OWNER":[ |
| 249 | ] |
| 250 | }, |
| 251 | "NOT_CERTIFIED_CHECKIN": { |
| 252 | "ANY": [ |
| 253 | {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"} |
| 254 | ] |
| 255 | }, |
| 256 | "READY_FOR_CERTIFICATION": { |
| 257 | "ANY":[ |
| 258 | ] |
| 259 | }, |
| 260 | "CERTIFICATION_IN_PROGRESS":{ |
| 261 | "ANY":[ |
| 262 | ] |
| 263 | }, |
| 264 | "CERTIFIED":{ |
| 265 | "ANY":[ |
| 266 | ] |
| 267 | } |
| 268 | |
| 269 | } |
| 270 | }, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 271 | "OTHER":{ |
| 272 | "states":{ |
| 273 | "ANY":{ |
| 274 | "ANY":[ |
| 275 | ] |
| 276 | } |
| 277 | } |
| 278 | } |
| 279 | }, |
| 280 | "LifeCycleStatuses":{ |
| 281 | "NOT_CERTIFIED_CHECKOUT": { "text":"In Design Check Out", "icon": "checkout-editable-status-icon"}, |
| 282 | "NOT_CERTIFIED_CHECKIN" : { "text":"In Design Check In", "icon": "checkin-status-icon "}, |
| 283 | "READY_FOR_CERTIFICATION": { "text":"Ready for testing"}, |
| 284 | "CERTIFICATION_IN_PROGRESS": { "text":"In Testing"}, |
| 285 | "CERTIFIED": { "text":"Certified", "icon": "checkin-status-icon "} |
| 286 | }, |
| 287 | "DistributionStatuses":{ |
| 288 | "DISTRIBUTION_NOT_APPROVED": { "text":"Waiting For Distribution"}, |
| 289 | "DISTRIBUTION_APPROVED" : { "text":"Distribution Approved"}, |
| 290 | "DISTRIBUTION_REJECTED": { "text":"Distribution Rejected"}, |
| 291 | "DISTRIBUTED": { "text":"Distributed"} |
| 292 | }, |
| 293 | "canvas_buttons":{ |
| 294 | "checkIn": {"text":"Check in","action":"changeLifecycleState", "url":"lifecycleState/CHECKIN", "confirmationModal": "lifecycleState/CHECKIN"}, |
| 295 | "submitForTesting": {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}, |
| 296 | "deleteVersion": {"text":"Delete Version", "action":"changeLifecycleState", "url":"lifecycleState/UNDOCHECKOUT", "alertModal": "lifecycleState/UNDOCHECKOUT"} |
| 297 | }, |
| 298 | |
| 299 | "component_workspace_menu_option": { |
| 300 | "VFC":[ |
| 301 | {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"}, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 302 | {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
| 303 | {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 304 | {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 305 | {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"}, |
| 306 | {"text":"Attributes", "action":"onMenuItemPressed", "state": "workspace.attributes"}, |
| 307 | {"text":"Req. & Capabilities", "action":"onMenuItemPressed", "state": "workspace.reqAndCap"}, |
| 308 | {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"} |
| 309 | ], |
| 310 | "VL":[ |
| 311 | {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"}, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 312 | {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
| 313 | {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 314 | {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 315 | {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"}, |
| 316 | {"text":"Attributes", "action":"onMenuItemPressed", "state": "workspace.attributes"}, |
| 317 | {"text":"Req. & Capabilities", "action":"onMenuItemPressed", "state": "workspace.reqAndCap"}, |
| 318 | {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"} |
| 319 | ], |
| 320 | "CP":[ |
| 321 | {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"}, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 322 | {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
| 323 | {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 324 | {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 325 | {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"}, |
| 326 | {"text":"Attributes", "action":"onMenuItemPressed", "state": "workspace.attributes"}, |
| 327 | {"text":"Req. & Capabilities", "action":"onMenuItemPressed", "state": "workspace.reqAndCap"}, |
| 328 | {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"} |
| 329 | ], |
| 330 | "VF":[ |
| 331 | {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"}, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 332 | {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
| 333 | {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 334 | {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 335 | // {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"}, |
| 336 | {"text":"Composition", "action":"onMenuItemPressed", "state": "workspace.composition.details"}, |
Arielk | 802bd2a | 2018-04-16 15:37:39 +0300 | [diff] [blame] | 337 | {"text":"Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"}, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 338 | {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"}, |
| 339 | {"text":"Deployment", "action":"onMenuItemPressed", "state": "workspace.deployment"}, |
| 340 | // {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.resource_inputs"}, |
| 341 | {"text":"Properties Assignment", "action":"onMenuItemPressed", "state": "workspace.properties_assignment"} |
| 342 | ], |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 343 | "PNF":[ |
| 344 | {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"}, |
| 345 | {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 346 | {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 347 | {"text":"Composition", "action":"onMenuItemPressed", "state": "workspace.composition.details"}, |
| 348 | {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"}, |
| 349 | {"text":"Properties Assignment", "action":"onMenuItemPressed", "state": "workspace.properties_assignment"} |
| 350 | ], |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 351 | "CR":[ |
| 352 | {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"}, |
| 353 | {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
| 354 | {"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 355 | {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 356 | {"text":"Composition", "action":"onMenuItemPressed", "state": "workspace.composition.details"}, |
| 357 | {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"}, |
| 358 | {"text":"Properties Assignment", "action":"onMenuItemPressed", "state": "workspace.properties_assignment"} |
| 359 | ], |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 360 | "SERVICE":[ |
| 361 | {"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"}, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 362 | {"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 363 | {"text":"Composition", "action":"onMenuItemPressed", "state": "workspace.composition.details"}, |
| 364 | {"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"}, |
| 365 | {"text":"Management Workflow", "action":"onMenuItemPressed", "state": "workspace.management_workflow"}, |
| 366 | {"text":"Network Call Flow ", "action":"onMenuItemPressed", "state": "workspace.network_call_flow"}, |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 367 | {"text":"Monitor ", "action":"onMenuItemPressed", "state": "workspace.distribution", "disabledRoles": ["ADMIN", "TESTER", "GOVERNOR", "DESIGNER"]}, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 368 | {"text":"Deployment", "action":"onMenuItemPressed", "state": "workspace.deployment"}, |
| 369 | // {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.service_inputs"}, |
| 370 | {"text":"Properties Assignment", "action":"onMenuItemPressed", "state": "workspace.properties_assignment"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 371 | ] |
| 372 | } |
| 373 | |
| 374 | } |
| 375 | |
| 376 | module.exports = SDC_MENU_CONFIG; |