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": { |
| 61 | "userId": "kb0004", |
| 62 | "email": "tester@sdc.com", |
| 63 | "firstName": "Kate", |
| 64 | "lastName": "Bush", |
| 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" |
| 80 | }, |
| 81 | "product_strategist": { |
| 82 | "userId": "ps0001", |
| 83 | "email": "product_strategist@sdc.com", |
| 84 | "firstName": "Orit", |
| 85 | "lastName": "Barda", |
| 86 | "xEcompRequestId": "ccccc" |
| 87 | }, |
| 88 | "product_manager": { |
| 89 | "userId": "pm0001", |
| 90 | "email": "product_manager@sdc.com", |
| 91 | "firstName": "Orit", |
| 92 | "lastName": "Barda", |
| 93 | "xEcompRequestId": "ccccc" |
| 94 | } |
| 95 | }, |
| 96 | "statuses": { |
| 97 | "inDesign": { |
| 98 | "name": "In Design", |
| 99 | "values": [ |
| 100 | "NOT_CERTIFIED_CHECKOUT", |
| 101 | "NOT_CERTIFIED_CHECKIN" |
| 102 | ] |
| 103 | }, |
| 104 | "readyForCertification": { |
| 105 | "name": "Ready for certification", |
| 106 | "values": "READY_FOR_CERTIFICATION" |
| 107 | }, |
| 108 | "inCertification": { |
| 109 | "name": "In Certification", |
| 110 | "values": "CERTIFICATION_IN_PROGRESS" |
| 111 | }, |
| 112 | "certified": { |
| 113 | "name": "Certified", |
| 114 | "values": "CERTIFIED" |
| 115 | }, |
| 116 | "distributed": { |
| 117 | "name": "Distributed", |
| 118 | "values": "TBD" |
| 119 | } |
| 120 | }, |
| 121 | "imagesPath": "" |
| 122 | }, |
| 123 | "roles":{ |
| 124 | "ADMIN":{ |
| 125 | "pages":[], |
| 126 | "states":{ |
| 127 | "NOT_CERTIFIED_CHECKOUT":[ |
| 128 | {"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"}, |
| 129 | {"text":"View" ,"action":"openViewerModal"}, |
| 130 | {"text":"Edit" ,"action":"goToEntity"} |
| 131 | ], |
| 132 | "NOT_CERTIFIED_CHECKIN":[ |
| 133 | {"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"}, |
| 134 | {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"}, |
| 135 | {"text":"View" ,"action":"openViewerModal"} |
| 136 | |
| 137 | ], |
| 138 | "READY_FOR_CERTIFICATION":[], |
| 139 | "CERTIFICATION_IN_PROGRESS":[], |
| 140 | "CERTIFIED":[] |
| 141 | } |
| 142 | }, |
| 143 | "DESIGNER":{ |
| 144 | "pages":[ |
| 145 | ], |
| 146 | "states":{ |
| 147 | "NOT_CERTIFIED_CHECKOUT":[ |
| 148 | {"text":"Edit" ,"action":"goToEntity"}, |
| 149 | {"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"}, |
| 150 | {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"}, |
| 151 | {"text":"View" ,"action":"openViewerModal"} |
| 152 | ], |
| 153 | "NOT_CERTIFIED_CHECKIN":[ |
| 154 | {"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"}, |
| 155 | {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"}, |
| 156 | {"text":"View" ,"action":"openViewerModal"} |
| 157 | ], |
| 158 | "READY_FOR_CERTIFICATION":[ |
| 159 | {"text":"View" ,"action":"openViewerModal"} |
| 160 | ], |
| 161 | "CERTIFICATION_IN_PROGRESS":[ |
| 162 | {"text":"View" ,"action":"openViewerModal"} |
| 163 | ], |
| 164 | "CERTIFIED":[ |
| 165 | {"text":"View" ,"action":"openViewerModal"} |
| 166 | ] |
| 167 | } |
| 168 | |
| 169 | }, |
| 170 | "TESTER":{ |
| 171 | "pages":[], |
| 172 | "READY_FOR_CERTIFICATION":[], |
| 173 | "CERTIFICATION_IN_PROGRESS":[], |
| 174 | "CERTIFIED":[] |
| 175 | |
| 176 | }, |
| 177 | "OPS":{ |
| 178 | "pages":[], |
| 179 | "READY_FOR_CERTIFICATION":[], |
| 180 | "CERTIFICATION_IN_PROGRESS":[], |
| 181 | "CERTIFIED":[] |
| 182 | |
| 183 | }, |
| 184 | "GOVERNOR":{ |
| 185 | "pages":[], |
| 186 | "READY_FOR_CERTIFICATION":[], |
| 187 | "CERTIFICATION_IN_PROGRESS":[], |
| 188 | "CERTIFIED":[] |
| 189 | |
| 190 | } |
| 191 | } |
| 192 | } |