aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/configurations/mock.json
blob: 89454c7d80648dc5d63de77a928a94a0de215c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
    "sdcConfig": {
        "api": {
            "GET_user": "/v1/user/:id",
            "GET_user_authorize": "/v1/user/authorize",
            "GET_resource": "/v1/resource/:id",
            "GET_resources_certified_not_abstract": "/v1/catalog/resources/certified/notabstract/:id",
            "GET_resources_certified_abstract": "/v1/catalog/resources/certified/abstract/:id",
            "GET_resource_property": "/v1/:type/:entityId/property/:id",
            "GET_resource_artifact": "/v1/catalog/:type/:entityId/artifacts/:id",
            "GET_service_artifact": "/v1/catalog/services/:serviceId/artifacts/:id",
            "GET_resource_artifact_types": "/v1/artifactTypes",
            "GET_resource_validate_name": "/v1/resource/validate-name/:name",
            "GET_service": "/v1/catalog/services/:id",
            "GET_service_validate_name": "/v1/catalog/services/validate-name/:name",
            "GET_service_distributions":"/v1/catalog/services/:uuid/distribution",
            "GET_service_distributions_components":"/v1/catalog/services/distribution/:distributionId",
            "POST_service_distribution_deploy" : "/v1/catalog/services/:serviceId/distribution/:distributionId/markDeployed",
            "GET_element": "/v1/followed",
            "GET_catalog": "/v1/screen",
            "GET_resource_category": "/v1/resourceCategories",
            "GET_service_category": "/v1/serviceCategories",
            "resource_instance": "/v1/catalog/services/:serviceId/resourceInstance/:id",
            "GET_resource_instance_property": "/v1/catalog/services/:serviceId/resourceInstance/:resourceInstanceId/property/:propertyValueId",
            "GET_relationship": "/v1/catalog/services/:serviceId/resourceInstance/:action",
            "GET_lifecycle_state_resource": "/v1/catalog/:type/:id/lifecycleState/:action",
            "GET_lifecycle_state_CHECKIN":"lifecycleState/CHECKIN",
            "GET_lifecycle_state_UNDOCHECKOUT":"lifecycleState/UNDOCHECKOUT",
            "root": "http://localhost:9999"
        },
        "logConfig": {
            "minLogLevel": "debug",
            "prefix": "sdcApp"
        },
        "cookie": {
            "junctionName": "IV_JCT",
            "prefix": "AMWEBJCT!",
            "userIdSuffix": "USER_ID",
            "userFirstName": "HTTP_CSP_FIRSTNAME",
            "userLastName": "HTTP_CSP_LASTNAME",
            "userEmail": "HTTP_CSP_EMAIL",
            "xEcompRequestId": " X-ECOMP-RequestID",
            "portalCookie": "EPService"
        },
        "userTypes": {
            "admin": {
                "userId": "jh0003",
                "email": "mail@gmail.com",
                "firstName": "Jimmy",
                "lastName": "Hendrix",
                "xEcompRequestId": "ccccc"
            },
            "designer": {
                "userId": "m08740",
                "email": "designer@sdc.com",
                "firstName": "Carlos",
                "lastName": "Santana",
                "xEcompRequestId": "ccccc"
            }
        },
        "statuses": {
            "inDesign": {
                "name": "In Design",
                "values": [
                    "NOT_CERTIFIED_CHECKOUT",
                    "NOT_CERTIFIED_CHECKIN"
                ]
            },
            "certified": {
                "name": "Certified",
                "values": "CERTIFIED"
            },
            "distributed": {
                "name": "Distributed",
                "values": "TBD"
            }
        },
        "imagesPath": ""
    },
    "roles":{
        "ADMIN":{
            "pages":[],
            "states":{
                "NOT_CERTIFIED_CHECKOUT":[
                    {"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"},
                    {"text":"Edit"    ,"action":"goToEntity"}
                ],
                "NOT_CERTIFIED_CHECKIN":[
                    {"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"}
                ],
                "CERTIFIED":[]
            }
        },
        "DESIGNER":{
            "pages":[
            ],
            "states":{
                "NOT_CERTIFIED_CHECKOUT":[
                    {"text":"Edit"    ,"action":"goToEntity"},
                    {"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"}
                ],
                "NOT_CERTIFIED_CHECKIN":[
                    {"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"}
                ],
                "CERTIFIED":[
                ]
            }

        }
    }
}