Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 1 | const SDC_MENU_CONFIG = { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 2 | "roles": { |
| 3 | "ADMIN": { |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 4 | "title": "Admin's Workspace", |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 5 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 6 | "DESIGNER": { |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 7 | "title": "Designer's Workspace", |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 8 | "dashboard": { |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 9 | "showCreateNew": true |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 10 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 11 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 48 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 49 | "CERTIFIED": { |
| 50 | "RESOURCE": { |
| 51 | "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"} |
| 52 | }, |
| 53 | "SERVICE": { |
| 54 | "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"} |
| 55 | } |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 56 | }, |
| 57 | "NOT_CERTIFIED_CHECKIN": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 58 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 74 | } |
| 75 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 76 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 82 | {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 83 | {"text": "Certified", "group": "FOLLOWING", "state": "CERTIFIED"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 84 | ] |
| 85 | |
| 86 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 87 | "TESTER": { |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 88 | "title": "Tester's Workspace", |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 89 | "dashboard": { |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 90 | "showCreateNew": false |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 91 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 92 | "changeLifecycleStateButtons": { |
| 93 | "READY_FOR_CERTIFICATION": { |
| 94 | "RESOURCE":{}, |
| 95 | "SERVICE":{ |
| 96 | "startTesting": {"text": "Start Testing", "url": "lifecycleState/startCertification"} |
| 97 | } |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 98 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 99 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 119 | } |
| 120 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 121 | "folder": [ |
| 122 | {"text": "Active Projects", "groupname": "FOLLOWING"}, |
| 123 | {"text": "Ready For Testing", "group": "FOLLOWING", "state": "READY_FOR_CERTIFICATION"}, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 124 | {"text": "In Testing", "group": "FOLLOWING", "state": "CERTIFICATION_IN_PROGRESS"} |
| 125 | ] |
| 126 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 127 | "OPS": { |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 128 | "title": "Operations Workspace", |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 129 | "dashboard": { |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 130 | "showCreateNew": false |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 131 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 132 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 146 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 147 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 160 | } |
| 161 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 162 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 171 | ] |
| 172 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 173 | "GOVERNOR": { |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 174 | "title": "Governance Rep's Workspace", |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 175 | "dashboard": { |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 176 | "showCreateNew": false |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 177 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 178 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 197 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 198 | "DISTRIBUTION_APPROVED": { |
| 199 | "RESOURCE":{}, |
| 200 | "SERVICE": { |
| 201 | "reject": { |
| 202 | "text": "Reject", |
| 203 | "url": "distribution-state/reject", |
| 204 | "confirmationModal": "distribution-state/reject" |
| 205 | } |
| 206 | } |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 207 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 208 | "DISTRIBUTED": { |
| 209 | "RESOURCE":{}, |
| 210 | "SERVICE": { |
| 211 | "reject": { |
| 212 | "text": "Reject", |
| 213 | "url": "distribution-state/reject", |
| 214 | "confirmationModal": "distribution-state/reject" |
| 215 | } |
| 216 | } |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 217 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 218 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 231 | } |
| 232 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 233 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 252 | } |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 253 | |
| 254 | ] |
| 255 | } |
| 256 | }, |
| 257 | "confirmationMessages": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 258 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 303 | }, |
| 304 | "alertMessages": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 305 | "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 Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 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?"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 319 | }, |
| 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 Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 351 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 362 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 363 | "NOT_OWNER": [] |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 364 | }, |
| 365 | "NOT_CERTIFIED_CHECKIN": { |
| 366 | "ANY": [ |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 367 | { |
| 368 | "text": "Submit for Testing", |
| 369 | "action": "changeLifecycleState", |
| 370 | "url": "lifecycleState/certificationRequest", |
| 371 | "emailModal": "lifecycleState/CERTIFICATIONREQUEST" |
| 372 | } |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 373 | ] |
| 374 | }, |
| 375 | "READY_FOR_CERTIFICATION": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 376 | "ANY": [] |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 377 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 378 | "CERTIFICATION_IN_PROGRESS": { |
| 379 | "ANY": [] |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 380 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 381 | "CERTIFIED": { |
| 382 | "ANY": [] |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 383 | } |
| 384 | |
| 385 | } |
| 386 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 387 | "OTHER": { |
| 388 | "states": { |
| 389 | "ANY": { |
| 390 | "ANY": [] |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 391 | } |
| 392 | } |
| 393 | } |
| 394 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 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 "} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 401 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 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"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 407 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 408 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 427 | }, |
| 428 | |
| 429 | "component_workspace_menu_option": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 430 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 439 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 440 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 449 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 450 | "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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 459 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 460 | "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"}, |
Anjali walsatwar | c390e2c | 2018-09-25 14:29:05 +0530 | [diff] [blame] | 464 | {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 465 | {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"}, |
Arielk | 802bd2a | 2018-04-16 15:37:39 +0300 | [diff] [blame] | 466 | {"text":"Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 467 | {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}, |
Anjali walsatwar | c390e2c | 2018-09-25 14:29:05 +0530 | [diff] [blame] | 468 | {"text": "Deployment", "action": "onMenuItemPressed", "state": "workspace.deployment"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 469 | {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 470 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 471 | "PNF": [ |
| 472 | {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"}, |
| 473 | {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 474 | {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 475 | {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"}, |
| 476 | {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}, |
| 477 | {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"} |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 478 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 479 | "CR": [ |
| 480 | {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"}, |
| 481 | {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
| 482 | {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 483 | {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 484 | {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"}, |
| 485 | {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}, |
| 486 | {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"} |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 487 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 488 | "SERVICE": [ |
| 489 | {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"}, |
| 490 | {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 491 | {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"}, |
Arielk | f1e032c | 2018-09-06 15:30:15 +0300 | [diff] [blame] | 492 | {"text": "Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 493 | {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}, |
| 494 | {"text": "Management Workflow", "action": "onMenuItemPressed", "state": "workspace.management_workflow"}, |
| 495 | {"text": "Network Call Flow ", "action": "onMenuItemPressed", "state": "workspace.network_call_flow"}, |
| 496 | {"text": "Distribution","action": "onMenuItemPressed","state": "workspace.distribution","disabledRoles": ["ADMIN", "TESTER", "GOVERNOR", "DESIGNER"]}, |
Anjali walsatwar | c390e2c | 2018-09-25 14:29:05 +0530 | [diff] [blame] | 497 | {"text": "Deployment", "action": "onMenuItemPressed", "state": "workspace.deployment"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 498 | {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 499 | ] |
| 500 | } |
| 501 | |
| 502 | } |
| 503 | |
| 504 | module.exports = SDC_MENU_CONFIG; |