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": { |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 31 | "certify": { |
| 32 | "text": "Certify", |
| 33 | "url": "lifecycleState/certify", |
| 34 | "confirmationModal": "lifecycleState/certify" |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 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": { |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 67 | "certify": { |
| 68 | "text": "Certify", |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 69 | "url": "lifecycleState/certify", |
| 70 | "confirmationModal": "lifecycleState/certify" |
| 71 | }, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 72 | "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"} |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 73 | } |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 74 | }, |
| 75 | "DISTRIBUTION_NOT_APPROVED": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 76 | "RESOURCE":{}, |
| 77 | "SERVICE": { |
| 78 | "distribute": { |
| 79 | "text": "Distribute", |
| 80 | "url": "distribution/PROD/activate", |
| 81 | "conformanceLevelModal": { |
| 82 | "url": "distribution-state/reject", |
| 83 | "confirmationModal": "distribution-state/reject" |
| 84 | } |
| 85 | }, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 86 | "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"} |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 87 | } |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 88 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 89 | "DISTRIBUTED": { |
| 90 | "RESOURCE":{}, |
| 91 | "SERVICE": { |
| 92 | "redistribute": { |
| 93 | "text": "Redistribute", |
| 94 | "url": "distribution/PROD/activate", |
| 95 | "conformanceLevelModal": { |
| 96 | "url": "distribution-state/reject", |
| 97 | "confirmationModal": "distribution-state/reject" |
| 98 | } |
| 99 | }, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 100 | "checkOut": {"text": "Check Out", "url": "lifecycleState/CHECKOUT"} |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 101 | } |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 102 | } |
| 103 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 104 | "folder": [ |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 105 | {"text": "Active Projects", "groupname": "IN_PROGRESS"}, |
| 106 | {"text": "Check Out", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKOUT"}, |
| 107 | {"text": "Check In", "group": "IN_PROGRESS", "state": "NOT_CERTIFIED_CHECKIN"}, |
| 108 | {"text": "Followed Projects", "groupname": "FOLLOWING"}, |
| 109 | {"text": "Certified", "group": "FOLLOWING", "state": "CERTIFIED"}, |
| 110 | {"text": "Distributed", "group": "FOLLOWING", "state": "DISTRIBUTED"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 111 | ] |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 112 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 113 | } |
| 114 | }, |
| 115 | "confirmationMessages": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 116 | "lifecycleState/CHECKIN": { |
| 117 | "showComment": true, |
| 118 | "title": "Check in confirmation", |
| 119 | "message": "Please add comment and confirm the check in." |
| 120 | }, |
| 121 | "lifecycleState/CHECKOUT": { |
| 122 | "showComment": true, |
| 123 | "title": "Check out confirmation", |
| 124 | "message": "Please add comment and confirm the check out." |
| 125 | }, |
| 126 | "lifecycleState/certify": { |
| 127 | "showComment": true, |
| 128 | "title": "Certification confirmation", |
| 129 | "message": "Please add comment and confirm test results." |
| 130 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 131 | "updateTemplate": { |
| 132 | "showComment": false, |
| 133 | "title": "Update Template Confirmation", |
| 134 | "message": "Modifying the Template might cause losing of previous information" |
| 135 | } |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 136 | }, |
| 137 | "alertMessages": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 138 | "lifecycleState/UNDOCHECKOUT": { |
| 139 | "title": "Delete Version Confirmation", |
| 140 | "message": "Are you sure you want to delete this version?" |
| 141 | }, |
| 142 | "exitWithoutSaving": { |
| 143 | "title": "Exit Without Saving Confirmation", |
| 144 | "message": "All unsaved changes will be lost. Are you sure you want to exit this page?" |
| 145 | }, |
| 146 | "upgradeInstance": { |
| 147 | "title": "Switch Versions", |
| 148 | "message": "Switching versions will erase service paths: %1. Are you sure you want to proceed?" |
| 149 | }, |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 150 | "deleteInstance": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1?"}, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 151 | "deleteInput": {"title": "Delete Confirmation", "message": "Are you sure you would like to delete %1?"}, |
| 152 | "okButton": "OK" |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 153 | }, |
| 154 | "statuses": { |
| 155 | "inDesign": { |
| 156 | "name": "In Design", |
| 157 | "values": [ |
| 158 | "NOT_CERTIFIED_CHECKOUT", |
| 159 | "NOT_CERTIFIED_CHECKIN" |
| 160 | ] |
| 161 | }, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 162 | "certified": { |
| 163 | "name": "Certified", |
| 164 | "values": ["CERTIFIED"] |
| 165 | }, |
| 166 | "distributed": { |
| 167 | "name": "Distributed", |
| 168 | "values": ["DISTRIBUTED"] |
| 169 | } |
| 170 | }, |
| 171 | "categoriesDictionary": { |
| 172 | "Mobility": "Application Layer 4+", |
| 173 | "Network L1-3": "Network Layer 2-3", |
| 174 | "Network L4": "Network Layer 4+", |
| 175 | "VoIP Call Control": "Application Layer 4+" |
| 176 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 177 | "catalogMenuItem": { |
| 178 | "DESIGNER": { |
| 179 | "states": { |
| 180 | "NOT_CERTIFIED_CHECKOUT": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 181 | "ANY": [] |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 182 | }, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 183 | "NOT_CERTIFIED_CHECKIN": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 184 | "ANY": [] |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 185 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 186 | "CERTIFIED": { |
| 187 | "ANY": [] |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 188 | } |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 189 | } |
| 190 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 191 | "OTHER": { |
| 192 | "states": { |
| 193 | "ANY": { |
| 194 | "ANY": [] |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 195 | } |
| 196 | } |
| 197 | } |
| 198 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 199 | "LifeCycleStatuses": { |
| 200 | "NOT_CERTIFIED_CHECKOUT": {"text": "In Design Check Out", "icon": "checkout-editable-status-icon"}, |
| 201 | "NOT_CERTIFIED_CHECKIN": {"text": "In Design Check In", "icon": "checkin-status-icon "}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 202 | "CERTIFIED": {"text": "Certified", "icon": "checkin-status-icon "} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 203 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 204 | "DistributionStatuses": { |
| 205 | "DISTRIBUTION_NOT_APPROVED": {"text": "Waiting For Distribution"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 206 | "DISTRIBUTED": {"text": "Distributed"} |
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 | "canvas_buttons": { |
| 209 | "checkIn": { |
| 210 | "text": "Check in", |
| 211 | "action": "changeLifecycleState", |
| 212 | "url": "lifecycleState/CHECKIN", |
| 213 | "confirmationModal": "lifecycleState/CHECKIN" |
| 214 | }, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 215 | "deleteVersion": { |
| 216 | "text": "Delete Version", |
| 217 | "action": "changeLifecycleState", |
| 218 | "url": "lifecycleState/UNDOCHECKOUT", |
| 219 | "alertModal": "lifecycleState/UNDOCHECKOUT" |
| 220 | } |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 221 | }, |
| 222 | |
| 223 | "component_workspace_menu_option": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 224 | "VFC": [ |
| 225 | {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"}, |
| 226 | {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
| 227 | {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 228 | {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 229 | {"text": "Properties", "action": "onMenuItemPressed", "state": "workspace.properties"}, |
| 230 | {"text": "Attributes", "action": "onMenuItemPressed", "state": "workspace.attributes"}, |
| 231 | {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCap"}, |
| 232 | {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 233 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 234 | "VL": [ |
| 235 | {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"}, |
| 236 | {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
| 237 | {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 238 | {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 239 | {"text": "Properties", "action": "onMenuItemPressed", "state": "workspace.properties"}, |
| 240 | {"text": "Attributes", "action": "onMenuItemPressed", "state": "workspace.attributes"}, |
| 241 | {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCap"}, |
| 242 | {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 243 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 244 | "CP": [ |
| 245 | {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"}, |
| 246 | {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
| 247 | {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 248 | {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 249 | {"text": "Properties", "action": "onMenuItemPressed", "state": "workspace.properties"}, |
| 250 | {"text": "Attributes", "action": "onMenuItemPressed", "state": "workspace.attributes"}, |
| 251 | {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCap"}, |
| 252 | {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 253 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 254 | "VF": [ |
| 255 | {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"}, |
| 256 | {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
| 257 | {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"}, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 258 | {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 259 | {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"}, |
Arielk | 4a99e32 | 2018-11-28 12:24:34 +0200 | [diff] [blame] | 260 | {"text": "Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 261 | {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}, |
miriame | 41ee9cb | 2019-03-04 13:49:15 +0200 | [diff] [blame] | 262 | {"text": "Deployment", "action": "onMenuItemPressed", "state": "workspace.deployment"}, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 263 | {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"}, |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 264 | {"text": "Attributes & Outputs", "action": "onMenuItemPressed", "state": "workspace.attributes_outputs"}, |
miriame | 41ee9cb | 2019-03-04 13:49:15 +0200 | [diff] [blame] | 265 | {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCapEditable"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 266 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 267 | "PNF": [ |
| 268 | {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"}, |
dermot123 | d83268a | 2019-03-13 12:37:35 +0000 | [diff] [blame] | 269 | {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 270 | {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 271 | {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
| 272 | {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details"}, |
Arielk | 4a99e32 | 2018-11-28 12:24:34 +0200 | [diff] [blame] | 273 | {"text": "Operation", "action": "onMenuItemPressed", "state": "workspace.interface_operation"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 274 | {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 275 | {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"}, |
miriame | 41ee9cb | 2019-03-04 13:49:15 +0200 | [diff] [blame] | 276 | {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCapEditable"} |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 277 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 278 | "CR": [ |
| 279 | {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general"}, |
| 280 | {"text": "Deployment Artifact", "action": "onMenuItemPressed", "state": "workspace.deployment_artifacts"}, |
| 281 | {"text": "Information Artifact", "action": "onMenuItemPressed", "state": "workspace.information_artifacts"}, |
| 282 | {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 283 | {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details", "disabledCategories":["Partner Domain Service"]}, |
| 284 | {"text": "Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 285 | {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 286 | {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"}, |
| 287 | {"text": "Req. & Capabilities", "action": "onMenuItemPressed", "state": "workspace.reqAndCapEditable"} |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 288 | ], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 289 | "SERVICE": [ |
Nilay Ranjan | e38ef74 | 2019-12-09 22:58:39 +0530 | [diff] [blame] | 290 | {"text": "General", "action": "onMenuItemPressed", "state": "workspace.general", "hiddenCategories":["Partner Domain Service"]}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 291 | {"text": "TOSCA Artifacts", "action": "onMenuItemPressed", "state": "workspace.tosca_artifacts"}, |
atif husain | d289108 | 2019-10-02 18:03:57 +1000 | [diff] [blame] | 292 | {"text": "Composition", "action": "onMenuItemPressed", "state": "workspace.composition.details", "disabledCategories":["Partner Domain Service"]}, |
Arielk | f1e032c | 2018-09-06 15:30:15 +0300 | [diff] [blame] | 293 | {"text": "Operation", "action":"onMenuItemPressed", "state": "workspace.interface_operation"}, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 294 | {"text": "Activity Log", "action": "onMenuItemPressed", "state": "workspace.activity_log"}, |
| 295 | {"text": "Management Workflow", "action": "onMenuItemPressed", "state": "workspace.management_workflow"}, |
| 296 | {"text": "Network Call Flow ", "action": "onMenuItemPressed", "state": "workspace.network_call_flow"}, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 297 | {"text": "Distribution","action": "onMenuItemPressed","state": "workspace.distribution","disabledRoles": ["ADMIN"]}, |
miriame | 41ee9cb | 2019-03-04 13:49:15 +0200 | [diff] [blame] | 298 | {"text": "Deployment", "action": "onMenuItemPressed", "state": "workspace.deployment"}, |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 299 | {"text": "Properties Assignment", "action": "onMenuItemPressed", "state": "workspace.properties_assignment"}, |
| 300 | {"text": "Attributes & Outputs", "action": "onMenuItemPressed", "state": "workspace.attributes_outputs"} |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 301 | ] |
| 302 | } |
| 303 | |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 304 | }; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 305 | |
| 306 | module.exports = SDC_MENU_CONFIG; |