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", |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 28 | "GET_lifecycle_state_UNDOCHECKOUT":"lifecycleState/UNDOCHECKOUT", |
| 29 | "root": "http://localhost:9999" |
| 30 | }, |
| 31 | "logConfig": { |
| 32 | "minLogLevel": "debug", |
| 33 | "prefix": "sdcApp" |
| 34 | }, |
| 35 | "cookie": { |
| 36 | "junctionName": "IV_JCT", |
| 37 | "prefix": "AMWEBJCT!", |
| 38 | "userIdSuffix": "USER_ID", |
| 39 | "userFirstName": "HTTP_CSP_FIRSTNAME", |
| 40 | "userLastName": "HTTP_CSP_LASTNAME", |
| 41 | "userEmail": "HTTP_CSP_EMAIL", |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 42 | "xEcompRequestId": " X-ECOMP-RequestID", |
| 43 | "portalCookie": "EPService" |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 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": { |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 54 | "userId": "m08740", |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 55 | "email": "designer@sdc.com", |
| 56 | "firstName": "Carlos", |
| 57 | "lastName": "Santana", |
| 58 | "xEcompRequestId": "ccccc" |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 59 | } |
| 60 | }, |
| 61 | "statuses": { |
| 62 | "inDesign": { |
| 63 | "name": "In Design", |
| 64 | "values": [ |
| 65 | "NOT_CERTIFIED_CHECKOUT", |
| 66 | "NOT_CERTIFIED_CHECKIN" |
| 67 | ] |
| 68 | }, |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 69 | "certified": { |
| 70 | "name": "Certified", |
| 71 | "values": "CERTIFIED" |
| 72 | }, |
| 73 | "distributed": { |
| 74 | "name": "Distributed", |
| 75 | "values": "TBD" |
| 76 | } |
| 77 | }, |
| 78 | "imagesPath": "" |
| 79 | }, |
| 80 | "roles":{ |
| 81 | "ADMIN":{ |
| 82 | "pages":[], |
| 83 | "states":{ |
| 84 | "NOT_CERTIFIED_CHECKOUT":[ |
| 85 | {"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"}, |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 86 | {"text":"Edit" ,"action":"goToEntity"} |
| 87 | ], |
| 88 | "NOT_CERTIFIED_CHECKIN":[ |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 89 | {"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"} |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 90 | ], |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 91 | "CERTIFIED":[] |
| 92 | } |
| 93 | }, |
| 94 | "DESIGNER":{ |
| 95 | "pages":[ |
| 96 | ], |
| 97 | "states":{ |
| 98 | "NOT_CERTIFIED_CHECKOUT":[ |
| 99 | {"text":"Edit" ,"action":"goToEntity"}, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 100 | {"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"} |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 101 | ], |
| 102 | "NOT_CERTIFIED_CHECKIN":[ |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 103 | {"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"} |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 104 | ], |
| 105 | "CERTIFIED":[ |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 106 | ] |
| 107 | } |
| 108 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 109 | } |
| 110 | } |
| 111 | } |