aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/configurations/mock.json
blob: 2abcbe0ce203abd4cb8b1c35cc8c5b3f9d69a1f9 (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
{
    "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_CERTIFICATIONREQUEST":"lifecycleState/CERTIFICATIONREQUEST",
            "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"
        },
        "userTypes": {
            "admin": {
                "userId": "jh0003",
                "email": "mail@gmail.com",
                "firstName": "Jimmy",
                "lastName": "Hendrix",
                "xEcompRequestId": "ccccc"
            },
            "designer": {
                "userId": "cs0008",
                "email": "designer@sdc.com",
                "firstName": "Carlos",
                "lastName": "Santana",
                "xEcompRequestId": "ccccc"
            },
            "tester": {
                "userId": "kb0004",
                "email": "tester@sdc.com",
                "firstName": "Kate",
                "lastName": "Bush",
                "xEcompRequestId": "ccccc"
            },
            "governor": {
                "userId": "gv0001",
                "email": "governor@sdc.com",
                "firstName": "gover",
                "lastName": "nor",
                "xEcompRequestId": "ccccc"
            },
            "ops": {
                "userId": "op0001",
                "email": "ops@sdc.com",
                "firstName": "op",
                "lastName": "ss",
                "xEcompRequestId": "ccccc"
            },
            "product_strategist": {
				"userId": "ps0001",
				"email": "product_strategist@sdc.com",
				"firstName": "Orit",
				"lastName": "Barda",
				"xEcompRequestId": "ccccc"
			},
            "product_manager": {
                "userId": "pm0001",
                "email": "product_manager@sdc.com",
                "firstName": "Orit",
                "lastName": "Barda",
                "xEcompRequestId": "ccccc"
            }
        },
        "statuses": {
            "inDesign": {
                "name": "In Design",
                "values": [
                    "NOT_CERTIFIED_CHECKOUT",
                    "NOT_CERTIFIED_CHECKIN"
                ]
            },
            "readyForCertification": {
                "name": "Ready for certification",
                "values": "READY_FOR_CERTIFICATION"
            },
            "inCertification": {
                "name": "In Certification",
                "values": "CERTIFICATION_IN_PROGRESS"
            },
            "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"},
                    {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"}

                ],
                "READY_FOR_CERTIFICATION":[],
                "CERTIFICATION_IN_PROGRESS":[],
                "CERTIFIED":[]
            }
        },
        "DESIGNER":{
            "pages":[
            ],
            "states":{
                "NOT_CERTIFIED_CHECKOUT":[
                    {"text":"Edit"    ,"action":"goToEntity"},
                    {"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"},
                    {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"}
                ],
                "NOT_CERTIFIED_CHECKIN":[
                    {"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"},
                    {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"}
                ],
                "READY_FOR_CERTIFICATION":[
                ],
                "CERTIFICATION_IN_PROGRESS":[
                ],
                "CERTIFIED":[
                ]
            }

        },
        "TESTER":{
            "pages":[],
            "READY_FOR_CERTIFICATION":[],
            "CERTIFICATION_IN_PROGRESS":[],
            "CERTIFIED":[]

        },
        "OPS":{
            "pages":[],
            "READY_FOR_CERTIFICATION":[],
            "CERTIFICATION_IN_PROGRESS":[],
            "CERTIFIED":[]

        },
        "GOVERNOR":{
            "pages":[],
            "READY_FOR_CERTIFICATION":[],
            "CERTIFICATION_IN_PROGRESS":[],
            "CERTIFIED":[]

        }
    }
}