blob: 17cbbb76edd0c6adb40a78f0a47bff71f65876b4 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001{
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 Lando451a3402017-02-19 10:28:42 +020028 "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",
ys969316a9fce2020-01-19 13:50:02 +020042 "xEcompRequestId": " X-ECOMP-RequestID",
43 "portalCookie": "EPService"
Michael Lando451a3402017-02-19 10:28:42 +020044 },
45 "userTypes": {
46 "admin": {
47 "userId": "jh0003",
48 "email": "mail@gmail.com",
49 "firstName": "Jimmy",
50 "lastName": "Hendrix",
51 "xEcompRequestId": "ccccc"
52 },
53 "designer": {
andre.schmidc5d39ed2020-02-17 10:11:54 +000054 "userId": "cs0008",
Michael Lando451a3402017-02-19 10:28:42 +020055 "email": "designer@sdc.com",
56 "firstName": "Carlos",
57 "lastName": "Santana",
58 "xEcompRequestId": "ccccc"
Michael Lando451a3402017-02-19 10:28:42 +020059 }
60 },
61 "statuses": {
62 "inDesign": {
63 "name": "In Design",
64 "values": [
65 "NOT_CERTIFIED_CHECKOUT",
66 "NOT_CERTIFIED_CHECKIN"
67 ]
68 },
Michael Lando451a3402017-02-19 10:28:42 +020069 "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 Lando451a3402017-02-19 10:28:42 +020086 {"text":"Edit" ,"action":"goToEntity"}
87 ],
88 "NOT_CERTIFIED_CHECKIN":[
ys969316a9fce2020-01-19 13:50:02 +020089 {"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"}
Michael Lando451a3402017-02-19 10:28:42 +020090 ],
Michael Lando451a3402017-02-19 10:28:42 +020091 "CERTIFIED":[]
92 }
93 },
94 "DESIGNER":{
95 "pages":[
96 ],
97 "states":{
98 "NOT_CERTIFIED_CHECKOUT":[
99 {"text":"Edit" ,"action":"goToEntity"},
ys969316a9fce2020-01-19 13:50:02 +0200100 {"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"}
Michael Lando451a3402017-02-19 10:28:42 +0200101 ],
102 "NOT_CERTIFIED_CHECKIN":[
ys969316a9fce2020-01-19 13:50:02 +0200103 {"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"}
Michael Lando451a3402017-02-19 10:28:42 +0200104 ],
105 "CERTIFIED":[
Michael Lando451a3402017-02-19 10:28:42 +0200106 ]
107 }
108
Michael Lando451a3402017-02-19 10:28:42 +0200109 }
110 }
111}