Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 1 | { |
| 2 | "sdcConfig": { |
| 3 | "api": { |
| 4 | "GET_user": "/v1/user/:id", |
| 5 | "GET_user_authorize": "/v1/user/authorize", |
| 6 | "GET_resource": "/v1/resource/:id", |
| 7 | "GET_resources_certified_not_abstract": "/v1/catalog/resources/certified/notabstract/:id", |
| 8 | "GET_resources_certified_abstract": "/v1/catalog/resources/certified/abstract/:id", |
| 9 | "GET_resource_property": "/v1/:type/:entityId/property/:id", |
| 10 | "GET_resource_artifact": "/v1/catalog/:type/:entityId/artifacts/:id", |
| 11 | "GET_service_artifact": "/v1/catalog/services/:serviceId/artifacts/:id", |
| 12 | "GET_resource_artifact_types": "/v1/artifactTypes", |
| 13 | "GET_resource_validate_name": "/v1/resource/validate-name/:name", |
| 14 | "GET_service": "/v1/catalog/services/:id", |
| 15 | "GET_service_validate_name": "/v1/catalog/services/validate-name/:name", |
| 16 | "GET_service_distributions":"/v1/catalog/services/:uuid/distribution", |
| 17 | "GET_service_distributions_components":"/v1/catalog/services/distribution/:distributionId", |
| 18 | "POST_service_distribution_deploy" : "/v1/catalog/services/:serviceId/distribution/:distributionId/markDeployed", |
| 19 | "GET_element": "/v1/followed", |
| 20 | "GET_catalog": "/v1/screen", |
| 21 | "GET_resource_category": "/v1/resourceCategories", |
| 22 | "GET_service_category": "/v1/serviceCategories", |
| 23 | "resource_instance": "/v1/catalog/services/:serviceId/resourceInstance/:id", |
| 24 | "GET_resource_instance_property": "/v1/catalog/services/:serviceId/resourceInstance/:resourceInstanceId/property/:propertyValueId", |
| 25 | "GET_relationship": "/v1/catalog/services/:serviceId/resourceInstance/:action", |
| 26 | "GET_lifecycle_state_resource": "/v1/catalog/:type/:id/lifecycleState/:action", |
| 27 | "GET_lifecycle_state_CHECKIN":"lifecycleState/CHECKIN", |
| 28 | "GET_lifecycle_state_CERTIFICATIONREQUEST":"lifecycleState/CERTIFICATIONREQUEST", |
| 29 | "GET_lifecycle_state_UNDOCHECKOUT":"lifecycleState/UNDOCHECKOUT", |
| 30 | "root": "http://localhost:9999" |
| 31 | }, |
| 32 | "logConfig": { |
| 33 | "minLogLevel": "debug", |
| 34 | "prefix": "sdcApp" |
| 35 | }, |
| 36 | "cookie": { |
| 37 | "junctionName": "IV_JCT", |
| 38 | "prefix": "AMWEBJCT!", |
| 39 | "userIdSuffix": "USER_ID", |
| 40 | "userFirstName": "HTTP_CSP_FIRSTNAME", |
| 41 | "userLastName": "HTTP_CSP_LASTNAME", |
| 42 | "userEmail": "HTTP_CSP_EMAIL", |
| 43 | "xEcompRequestId": " X-ECOMP-RequestID" |
| 44 | }, |
| 45 | "userTypes": { |
| 46 | "admin": { |
| 47 | "userId": "jh0003", |
| 48 | "email": "mail@gmail.com", |
| 49 | "firstName": "Jimmy", |
| 50 | "lastName": "Hendrix", |
| 51 | "xEcompRequestId": "ccccc" |
| 52 | }, |
| 53 | "designer": { |
| 54 | "userId": "cs0008", |
| 55 | "email": "designer@sdc.com", |
| 56 | "firstName": "Carlos", |
| 57 | "lastName": "Santana", |
| 58 | "xEcompRequestId": "ccccc" |
| 59 | }, |
| 60 | "tester": { |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 61 | "userId": "jm0007", |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 62 | "email": "tester@sdc.com", |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 63 | "firstName": "Johnny", |
| 64 | "lastName": "Depp", |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 65 | "xEcompRequestId": "ccccc" |
| 66 | }, |
| 67 | "governor": { |
| 68 | "userId": "gv0001", |
| 69 | "email": "governor@sdc.com", |
| 70 | "firstName": "gover", |
| 71 | "lastName": "nor", |
| 72 | "xEcompRequestId": "ccccc" |
| 73 | }, |
| 74 | "ops": { |
| 75 | "userId": "op0001", |
| 76 | "email": "ops@sdc.com", |
| 77 | "firstName": "op", |
| 78 | "lastName": "ss", |
| 79 | "xEcompRequestId": "ccccc" |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 80 | } |
| 81 | }, |
| 82 | "statuses": { |
| 83 | "inDesign": { |
| 84 | "name": "In Design", |
| 85 | "values": [ |
| 86 | "NOT_CERTIFIED_CHECKOUT", |
| 87 | "NOT_CERTIFIED_CHECKIN" |
| 88 | ] |
| 89 | }, |
| 90 | "readyForCertification": { |
| 91 | "name": "Ready for certification", |
| 92 | "values": "READY_FOR_CERTIFICATION" |
| 93 | }, |
| 94 | "inCertification": { |
| 95 | "name": "In Certification", |
| 96 | "values": "CERTIFICATION_IN_PROGRESS" |
| 97 | }, |
| 98 | "certified": { |
| 99 | "name": "Certified", |
| 100 | "values": "CERTIFIED" |
| 101 | }, |
| 102 | "distributed": { |
| 103 | "name": "Distributed", |
| 104 | "values": "TBD" |
| 105 | } |
| 106 | }, |
| 107 | "imagesPath": "" |
| 108 | }, |
| 109 | "roles":{ |
| 110 | "ADMIN":{ |
| 111 | "pages":[], |
| 112 | "states":{ |
| 113 | "NOT_CERTIFIED_CHECKOUT":[ |
| 114 | {"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"}, |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 115 | {"text":"Edit" ,"action":"goToEntity"} |
| 116 | ], |
| 117 | "NOT_CERTIFIED_CHECKIN":[ |
| 118 | {"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"}, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 119 | {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"} |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 120 | |
| 121 | ], |
| 122 | "READY_FOR_CERTIFICATION":[], |
| 123 | "CERTIFICATION_IN_PROGRESS":[], |
| 124 | "CERTIFIED":[] |
| 125 | } |
| 126 | }, |
| 127 | "DESIGNER":{ |
| 128 | "pages":[ |
| 129 | ], |
| 130 | "states":{ |
| 131 | "NOT_CERTIFIED_CHECKOUT":[ |
| 132 | {"text":"Edit" ,"action":"goToEntity"}, |
| 133 | {"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"}, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 134 | {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"} |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 135 | ], |
| 136 | "NOT_CERTIFIED_CHECKIN":[ |
| 137 | {"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"}, |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 138 | {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"} |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 139 | ], |
| 140 | "READY_FOR_CERTIFICATION":[ |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 141 | ], |
| 142 | "CERTIFICATION_IN_PROGRESS":[ |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 143 | ], |
| 144 | "CERTIFIED":[ |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 145 | ] |
| 146 | } |
| 147 | |
| 148 | }, |
| 149 | "TESTER":{ |
| 150 | "pages":[], |
| 151 | "READY_FOR_CERTIFICATION":[], |
| 152 | "CERTIFICATION_IN_PROGRESS":[], |
| 153 | "CERTIFIED":[] |
| 154 | |
| 155 | }, |
| 156 | "OPS":{ |
| 157 | "pages":[], |
| 158 | "READY_FOR_CERTIFICATION":[], |
| 159 | "CERTIFICATION_IN_PROGRESS":[], |
| 160 | "CERTIFIED":[] |
| 161 | |
| 162 | }, |
| 163 | "GOVERNOR":{ |
| 164 | "pages":[], |
| 165 | "READY_FOR_CERTIFICATION":[], |
| 166 | "CERTIFICATION_IN_PROGRESS":[], |
| 167 | "CERTIFIED":[] |
| 168 | |
| 169 | } |
| 170 | } |
| 171 | } |