@itentialopensource/adapter-iap 0.2.3 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AUTH.md +35 -0
- package/BROKER.md +199 -0
- package/CALLS.md +3567 -0
- package/CHANGELOG.md +16 -0
- package/CODE_OF_CONDUCT.md +12 -17
- package/CONTRIBUTING.md +3 -148
- package/ENHANCE.md +69 -0
- package/PROPERTIES.md +641 -0
- package/README.md +235 -576
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +18 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +33555 -260
- package/adapterBase.js +854 -408
- package/changelogs/changelog.md +40 -0
- package/entities/.generic/action.json +105 -0
- package/entities/.generic/schema.json +6 -1
- package/entities/AdapterModels/action.json +25 -0
- package/entities/AdapterModels/schema.json +19 -0
- package/entities/Adapters/action.json +303 -0
- package/entities/Adapters/schema.json +32 -0
- package/entities/AdminEssentials/action.json +4 -0
- package/entities/AgManager/action.json +87 -0
- package/entities/AgManager/schema.json +22 -0
- package/entities/Applications/action.json +196 -0
- package/entities/Applications/schema.json +27 -0
- package/entities/Authentication/action.json +288 -0
- package/entities/Authentication/schema.json +31 -0
- package/entities/Authorization/action.json +349 -0
- package/entities/Authorization/mockdatafiles/getAccount-default.json +42 -0
- package/entities/Authorization/mockdatafiles/getGroup-default.json +40 -0
- package/entities/Authorization/mockdatafiles/getRole-default.json +81 -0
- package/entities/Authorization/schema.json +34 -0
- package/entities/AutomationCatalog/action.json +26 -0
- package/entities/AutomationCatalog/schema.json +2 -1
- package/entities/AutomationStudio/action.json +518 -0
- package/entities/AutomationStudio/schema.json +42 -0
- package/entities/ConfigManager/action.json +1162 -2
- package/entities/ConfigManager/schema.json +56 -1
- package/entities/DeviceCounts/action.json +26 -0
- package/entities/DeviceCounts/schema.json +19 -0
- package/entities/ExternalLinks/action.json +111 -0
- package/entities/ExternalLinks/schema.json +23 -0
- package/entities/Formbuilder/action.json +367 -0
- package/entities/Formbuilder/schema.json +35 -0
- package/entities/Health/action.json +136 -0
- package/entities/Health/schema.json +24 -0
- package/entities/Help/action.json +92 -0
- package/entities/Help/schema.json +22 -0
- package/entities/Indexes/action.json +91 -0
- package/entities/Indexes/schema.json +22 -0
- package/entities/IntegrationModels/action.json +154 -0
- package/entities/IntegrationModels/schema.json +25 -0
- package/entities/Integrations/action.json +132 -0
- package/entities/Integrations/schema.json +24 -0
- package/entities/JsonForms/action.json +216 -0
- package/entities/JsonForms/schema.json +28 -0
- package/entities/LifecycleManager/action.json +326 -0
- package/entities/LifecycleManager/schema.json +33 -0
- package/entities/MOP/action.json +24 -0
- package/entities/MOP/schema.json +2 -1
- package/entities/NsoManager/action.json +686 -0
- package/entities/NsoManager/schema.json +50 -0
- package/entities/Oauth/action.json +131 -0
- package/entities/Oauth/schema.json +24 -0
- package/entities/OperationsManager/action.json +822 -0
- package/entities/OperationsManager/schema.json +57 -0
- package/entities/Prebuilts/action.json +154 -0
- package/entities/Prebuilts/schema.json +25 -0
- package/entities/PrebuiltsRepository/action.json +111 -0
- package/entities/PrebuiltsRepository/schema.json +23 -0
- package/entities/Profiles/action.json +175 -0
- package/entities/Profiles/schema.json +26 -0
- package/entities/PrometheusMetrics/action.json +26 -0
- package/entities/PrometheusMetrics/schema.json +19 -0
- package/entities/Schema/action.json +92 -0
- package/entities/Schema/schema.json +22 -0
- package/entities/Search/action.json +25 -0
- package/entities/Search/schema.json +19 -0
- package/entities/ServiceCatalog/action.json +328 -0
- package/entities/ServiceCatalog/schema.json +33 -0
- package/entities/ServiceManagement/action.json +707 -0
- package/entities/ServiceManagement/schema.json +51 -0
- package/entities/Tags/action.json +257 -0
- package/entities/Tags/schema.json +30 -0
- package/entities/TemplateBuilder/action.json +132 -0
- package/entities/TemplateBuilder/schema.json +24 -0
- package/entities/Transformations/action.json +153 -0
- package/entities/Transformations/schema.json +25 -0
- package/entities/WorkFlowEngine/action.json +175 -8
- package/entities/WorkFlowEngine/schema.json +6 -1
- package/entities/WorkflowBuilder/action.json +280 -0
- package/entities/WorkflowBuilder/schema.json +31 -0
- package/error.json +6 -0
- package/metadata.json +64 -0
- package/package.json +28 -22
- package/pronghorn.json +24018 -2544
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +827 -6
- package/refs?service=git-upload-pack +0 -0
- package/report/IAP-swagger_2020.json +1 -1
- package/report/adapter-openapi.json +22672 -0
- package/report/adapter-openapi.yaml +17802 -0
- package/report/adapterInfo.json +10 -0
- package/report/updateReport1691507326854.json +120 -0
- package/report/updateReport1692202369162.json +120 -0
- package/report/updateReport1694459817194.json +120 -0
- package/report/updateReport1698172268901.json +120 -0
- package/report/updateReport1698420299974.json +120 -0
- package/sampleProperties.json +147 -3
- package/test/integration/adapterTestBasicGet.js +3 -5
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +10840 -103
- package/test/unit/adapterBaseTestUnit.js +388 -308
- package/test/unit/adapterTestUnit.js +10722 -473
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +1 -1
- package/utils/basicGet.js +1 -14
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +14 -16
- package/utils/packModificationScript.js +1 -1
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +5 -0
- package/utils/removeHooks.js +20 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +129 -53
- package/utils/tbUtils.js +125 -25
- package/utils/testRunner.js +17 -17
- package/utils/troubleshootingAdapter.js +10 -31
- package/workflows/README.md +0 -3
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getAdapterSchema",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/schema/adapters/{pathv1}?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"startVersion" : "2020.2",
|
|
17
|
+
"responseObjects": [
|
|
18
|
+
{
|
|
19
|
+
"type": "default",
|
|
20
|
+
"key": "",
|
|
21
|
+
"mockFile": ""
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "getApplicationSchema",
|
|
27
|
+
"protocol": "REST",
|
|
28
|
+
"method": "GET",
|
|
29
|
+
"entitypath": "{base_path}/{version}/schema/applications/{pathv1}?{query}",
|
|
30
|
+
"requestSchema": "schema.json",
|
|
31
|
+
"responseSchema": "schema.json",
|
|
32
|
+
"timeout": 0,
|
|
33
|
+
"sendEmpty": false,
|
|
34
|
+
"sendGetBody": false,
|
|
35
|
+
"requestDatatype": "JSON",
|
|
36
|
+
"responseDatatype": "JSON",
|
|
37
|
+
"headers": {},
|
|
38
|
+
"startVersion" : "2020.2",
|
|
39
|
+
"responseObjects": [
|
|
40
|
+
{
|
|
41
|
+
"type": "default",
|
|
42
|
+
"key": "",
|
|
43
|
+
"mockFile": ""
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "getIntegrationSchema",
|
|
49
|
+
"protocol": "REST",
|
|
50
|
+
"method": "GET",
|
|
51
|
+
"entitypath": "{base_path}/{version}/schema/integrations/{pathv1}?{query}",
|
|
52
|
+
"requestSchema": "schema.json",
|
|
53
|
+
"responseSchema": "schema.json",
|
|
54
|
+
"timeout": 0,
|
|
55
|
+
"sendEmpty": false,
|
|
56
|
+
"sendGetBody": false,
|
|
57
|
+
"requestDatatype": "JSON",
|
|
58
|
+
"responseDatatype": "JSON",
|
|
59
|
+
"headers": {},
|
|
60
|
+
"startVersion" : "2020.2",
|
|
61
|
+
"responseObjects": [
|
|
62
|
+
{
|
|
63
|
+
"type": "default",
|
|
64
|
+
"key": "",
|
|
65
|
+
"mockFile": ""
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "getProfileSchema",
|
|
71
|
+
"protocol": "REST",
|
|
72
|
+
"method": "GET",
|
|
73
|
+
"entitypath": "{base_path}/{version}/schema/profiles?{query}",
|
|
74
|
+
"requestSchema": "schema.json",
|
|
75
|
+
"responseSchema": "schema.json",
|
|
76
|
+
"timeout": 0,
|
|
77
|
+
"sendEmpty": false,
|
|
78
|
+
"sendGetBody": false,
|
|
79
|
+
"requestDatatype": "JSON",
|
|
80
|
+
"responseDatatype": "JSON",
|
|
81
|
+
"headers": {},
|
|
82
|
+
"startVersion" : "2020.2",
|
|
83
|
+
"responseObjects": [
|
|
84
|
+
{
|
|
85
|
+
"type": "default",
|
|
86
|
+
"key": "",
|
|
87
|
+
"mockFile": ""
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getAdapterSchema",
|
|
14
|
+
"getApplicationSchema",
|
|
15
|
+
"getIntegrationSchema",
|
|
16
|
+
"getProfileSchema"
|
|
17
|
+
],
|
|
18
|
+
"external_name": "ph_request_type"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"definitions": {}
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "searchIAP",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/search/find?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "PLAIN",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"startVersion": "2020.2",
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": ""
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "searchIAP",
|
|
12
|
+
"enum": [
|
|
13
|
+
"searchIAP"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"definitions": {}
|
|
19
|
+
}
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "listOfServiceModels",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/service_catalog/ServiceModels?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"startVersion": "2020.2",
|
|
17
|
+
"responseObjects": [
|
|
18
|
+
{
|
|
19
|
+
"type": "default",
|
|
20
|
+
"key": "",
|
|
21
|
+
"mockFile": ""
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "getUserGroups",
|
|
27
|
+
"protocol": "REST",
|
|
28
|
+
"method": "GET",
|
|
29
|
+
"entitypath": "{base_path}/{version}/service_catalog/getGroups?{query}",
|
|
30
|
+
"requestSchema": "schema.json",
|
|
31
|
+
"responseSchema": "schema.json",
|
|
32
|
+
"timeout": 0,
|
|
33
|
+
"sendEmpty": false,
|
|
34
|
+
"sendGetBody": false,
|
|
35
|
+
"requestDatatype": "JSON",
|
|
36
|
+
"responseDatatype": "JSON",
|
|
37
|
+
"headers": {},
|
|
38
|
+
"startVersion": "2020.2",
|
|
39
|
+
"responseObjects": [
|
|
40
|
+
{
|
|
41
|
+
"type": "default",
|
|
42
|
+
"key": "",
|
|
43
|
+
"mockFile": ""
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "getWorkflows",
|
|
49
|
+
"protocol": "REST",
|
|
50
|
+
"method": "GET",
|
|
51
|
+
"entitypath": "{base_path}/{version}/service_catalog/GetWorkflows?{query}",
|
|
52
|
+
"requestSchema": "schema.json",
|
|
53
|
+
"responseSchema": "schema.json",
|
|
54
|
+
"timeout": 0,
|
|
55
|
+
"sendEmpty": false,
|
|
56
|
+
"sendGetBody": false,
|
|
57
|
+
"requestDatatype": "JSON",
|
|
58
|
+
"responseDatatype": "JSON",
|
|
59
|
+
"headers": {},
|
|
60
|
+
"startVersion": "2020.2",
|
|
61
|
+
"responseObjects": [
|
|
62
|
+
{
|
|
63
|
+
"type": "default",
|
|
64
|
+
"key": "",
|
|
65
|
+
"mockFile": ""
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "addServiceToCatalogStore",
|
|
71
|
+
"protocol": "REST",
|
|
72
|
+
"method": "POST",
|
|
73
|
+
"entitypath": "{base_path}/{version}/service_catalog/AddNewService?{query}",
|
|
74
|
+
"requestSchema": "schema.json",
|
|
75
|
+
"responseSchema": "schema.json",
|
|
76
|
+
"timeout": 0,
|
|
77
|
+
"sendEmpty": false,
|
|
78
|
+
"requestDatatype": "JSON",
|
|
79
|
+
"responseDatatype": "JSON",
|
|
80
|
+
"headers": {},
|
|
81
|
+
"startVersion": "2020.2",
|
|
82
|
+
"responseObjects": [
|
|
83
|
+
{
|
|
84
|
+
"type": "default",
|
|
85
|
+
"key": "",
|
|
86
|
+
"mockFile": ""
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "updateServiceCatalogStore",
|
|
92
|
+
"protocol": "REST",
|
|
93
|
+
"method": "POST",
|
|
94
|
+
"entitypath": "{base_path}/{version}/service_catalog/UpdateService?{query}",
|
|
95
|
+
"requestSchema": "schema.json",
|
|
96
|
+
"responseSchema": "schema.json",
|
|
97
|
+
"timeout": 0,
|
|
98
|
+
"sendEmpty": false,
|
|
99
|
+
"requestDatatype": "JSON",
|
|
100
|
+
"responseDatatype": "JSON",
|
|
101
|
+
"headers": {},
|
|
102
|
+
"startVersion": "2020.2",
|
|
103
|
+
"responseObjects": [
|
|
104
|
+
{
|
|
105
|
+
"type": "default",
|
|
106
|
+
"key": "",
|
|
107
|
+
"mockFile": ""
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "getCurrentUser",
|
|
113
|
+
"protocol": "REST",
|
|
114
|
+
"method": "GET",
|
|
115
|
+
"entitypath": "{base_path}/{version}/service_catalog/GetUserObject?{query}",
|
|
116
|
+
"requestSchema": "schema.json",
|
|
117
|
+
"responseSchema": "schema.json",
|
|
118
|
+
"timeout": 0,
|
|
119
|
+
"sendEmpty": false,
|
|
120
|
+
"sendGetBody": false,
|
|
121
|
+
"requestDatatype": "JSON",
|
|
122
|
+
"responseDatatype": "JSON",
|
|
123
|
+
"headers": {},
|
|
124
|
+
"startVersion": "2020.2",
|
|
125
|
+
"responseObjects": [
|
|
126
|
+
{
|
|
127
|
+
"type": "default",
|
|
128
|
+
"key": "",
|
|
129
|
+
"mockFile": ""
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "getMultipleForms",
|
|
135
|
+
"protocol": "REST",
|
|
136
|
+
"method": "GET",
|
|
137
|
+
"entitypath": "{base_path}/{version}/service_catalog/GetForms?{query}",
|
|
138
|
+
"requestSchema": "schema.json",
|
|
139
|
+
"responseSchema": "schema.json",
|
|
140
|
+
"timeout": 0,
|
|
141
|
+
"sendEmpty": false,
|
|
142
|
+
"sendGetBody": false,
|
|
143
|
+
"requestDatatype": "JSON",
|
|
144
|
+
"responseDatatype": "JSON",
|
|
145
|
+
"headers": {},
|
|
146
|
+
"startVersion": "2020.2",
|
|
147
|
+
"responseObjects": [
|
|
148
|
+
{
|
|
149
|
+
"type": "default",
|
|
150
|
+
"key": "",
|
|
151
|
+
"mockFile": ""
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "createNewServiceOrder",
|
|
157
|
+
"protocol": "REST",
|
|
158
|
+
"method": "POST",
|
|
159
|
+
"entitypath": "{base_path}/{version}/service_catalog/createServiceOrder?{query}",
|
|
160
|
+
"requestSchema": "schema.json",
|
|
161
|
+
"responseSchema": "schema.json",
|
|
162
|
+
"timeout": 0,
|
|
163
|
+
"sendEmpty": false,
|
|
164
|
+
"requestDatatype": "JSON",
|
|
165
|
+
"responseDatatype": "JSON",
|
|
166
|
+
"headers": {},
|
|
167
|
+
"startVersion": "2020.2",
|
|
168
|
+
"responseObjects": [
|
|
169
|
+
{
|
|
170
|
+
"type": "default",
|
|
171
|
+
"key": "",
|
|
172
|
+
"mockFile": ""
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "invokeServiceOrder",
|
|
178
|
+
"protocol": "REST",
|
|
179
|
+
"method": "POST",
|
|
180
|
+
"entitypath": "{base_path}/{version}/service_catalog/invokeServiceOrder?{query}",
|
|
181
|
+
"requestSchema": "schema.json",
|
|
182
|
+
"responseSchema": "schema.json",
|
|
183
|
+
"timeout": 0,
|
|
184
|
+
"sendEmpty": false,
|
|
185
|
+
"requestDatatype": "JSON",
|
|
186
|
+
"responseDatatype": "JSON",
|
|
187
|
+
"headers": {},
|
|
188
|
+
"startVersion": "2020.2",
|
|
189
|
+
"responseObjects": [
|
|
190
|
+
{
|
|
191
|
+
"type": "default",
|
|
192
|
+
"key": "",
|
|
193
|
+
"mockFile": ""
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "importCatalogItems",
|
|
199
|
+
"protocol": "REST",
|
|
200
|
+
"method": "POST",
|
|
201
|
+
"entitypath": "{base_path}/{version}/service_catalog/catalog-items/import?{query}",
|
|
202
|
+
"requestSchema": "schema.json",
|
|
203
|
+
"responseSchema": "schema.json",
|
|
204
|
+
"timeout": 0,
|
|
205
|
+
"sendEmpty": false,
|
|
206
|
+
"requestDatatype": "JSON",
|
|
207
|
+
"responseDatatype": "JSON",
|
|
208
|
+
"headers": {},
|
|
209
|
+
"startVersion": "2022.1",
|
|
210
|
+
"responseObjects": [
|
|
211
|
+
{
|
|
212
|
+
"type": "default",
|
|
213
|
+
"key": "",
|
|
214
|
+
"mockFile": ""
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "listServicesStore",
|
|
220
|
+
"protocol": "REST",
|
|
221
|
+
"method": "GET",
|
|
222
|
+
"entitypath": "{base_path}/{version}/service_catalog/ServiceCatalogStore/{pathv1}?{query}",
|
|
223
|
+
"requestSchema": "schema.json",
|
|
224
|
+
"responseSchema": "schema.json",
|
|
225
|
+
"timeout": 0,
|
|
226
|
+
"sendEmpty": false,
|
|
227
|
+
"sendGetBody": false,
|
|
228
|
+
"requestDatatype": "JSON",
|
|
229
|
+
"responseDatatype": "JSON",
|
|
230
|
+
"headers": {},
|
|
231
|
+
"startVersion": "2020.2",
|
|
232
|
+
"responseObjects": [
|
|
233
|
+
{
|
|
234
|
+
"type": "default",
|
|
235
|
+
"key": "",
|
|
236
|
+
"mockFile": ""
|
|
237
|
+
}
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "getFormIDForService",
|
|
242
|
+
"protocol": "REST",
|
|
243
|
+
"method": "GET",
|
|
244
|
+
"entitypath": "{base_path}/{version}/service_catalog/GetFormId/{pathv1}?{query}",
|
|
245
|
+
"requestSchema": "schema.json",
|
|
246
|
+
"responseSchema": "schema.json",
|
|
247
|
+
"timeout": 0,
|
|
248
|
+
"sendEmpty": false,
|
|
249
|
+
"sendGetBody": false,
|
|
250
|
+
"requestDatatype": "JSON",
|
|
251
|
+
"responseDatatype": "JSON",
|
|
252
|
+
"headers": {},
|
|
253
|
+
"startVersion": "2020.2",
|
|
254
|
+
"responseObjects": [
|
|
255
|
+
{
|
|
256
|
+
"type": "default",
|
|
257
|
+
"key": "",
|
|
258
|
+
"mockFile": ""
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "getFormData",
|
|
264
|
+
"protocol": "REST",
|
|
265
|
+
"method": "GET",
|
|
266
|
+
"entitypath": "{base_path}/{version}/service_catalog/GetFormData/{pathv1}?{query}",
|
|
267
|
+
"requestSchema": "schema.json",
|
|
268
|
+
"responseSchema": "schema.json",
|
|
269
|
+
"timeout": 0,
|
|
270
|
+
"sendEmpty": false,
|
|
271
|
+
"sendGetBody": false,
|
|
272
|
+
"requestDatatype": "JSON",
|
|
273
|
+
"responseDatatype": "JSON",
|
|
274
|
+
"headers": {},
|
|
275
|
+
"startVersion": "2020.2",
|
|
276
|
+
"responseObjects": [
|
|
277
|
+
{
|
|
278
|
+
"type": "default",
|
|
279
|
+
"key": "",
|
|
280
|
+
"mockFile": ""
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "deleteService",
|
|
286
|
+
"protocol": "REST",
|
|
287
|
+
"method": "POST",
|
|
288
|
+
"entitypath": "{base_path}/{version}/service_catalog/deleteService/{pathv1}?{query}",
|
|
289
|
+
"requestSchema": "schema.json",
|
|
290
|
+
"responseSchema": "schema.json",
|
|
291
|
+
"timeout": 0,
|
|
292
|
+
"sendEmpty": false,
|
|
293
|
+
"requestDatatype": "JSON",
|
|
294
|
+
"responseDatatype": "JSON",
|
|
295
|
+
"headers": {},
|
|
296
|
+
"startVersion": "2020.2",
|
|
297
|
+
"responseObjects": [
|
|
298
|
+
{
|
|
299
|
+
"type": "default",
|
|
300
|
+
"key": "",
|
|
301
|
+
"mockFile": ""
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "exportCatalogItem",
|
|
307
|
+
"protocol": "REST",
|
|
308
|
+
"method": "GET",
|
|
309
|
+
"entitypath": "{base_path}/{version}/service_catalog/catalog-items/{pathv1}/export?{query}",
|
|
310
|
+
"requestSchema": "schema.json",
|
|
311
|
+
"responseSchema": "schema.json",
|
|
312
|
+
"timeout": 0,
|
|
313
|
+
"sendEmpty": false,
|
|
314
|
+
"sendGetBody": false,
|
|
315
|
+
"requestDatatype": "JSON",
|
|
316
|
+
"responseDatatype": "JSON",
|
|
317
|
+
"headers": {},
|
|
318
|
+
"startVersion": "2022.1",
|
|
319
|
+
"responseObjects": [
|
|
320
|
+
{
|
|
321
|
+
"type": "default",
|
|
322
|
+
"key": "",
|
|
323
|
+
"mockFile": ""
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
]
|
|
328
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "listOfServiceModels",
|
|
12
|
+
"enum": [
|
|
13
|
+
"listOfServiceModels",
|
|
14
|
+
"getUserGroups",
|
|
15
|
+
"getWorkflows",
|
|
16
|
+
"addServiceToCatalogStore",
|
|
17
|
+
"updateServiceCatalogStore",
|
|
18
|
+
"getCurrentUser",
|
|
19
|
+
"getMultipleForms",
|
|
20
|
+
"createNewServiceOrder",
|
|
21
|
+
"invokeServiceOrder",
|
|
22
|
+
"importCatalogItems",
|
|
23
|
+
"listServicesStore",
|
|
24
|
+
"getFormIDForService",
|
|
25
|
+
"getFormData",
|
|
26
|
+
"deleteService",
|
|
27
|
+
"exportCatalogItem"
|
|
28
|
+
],
|
|
29
|
+
"external_name": "ph_request_type"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"definitions": {}
|
|
33
|
+
}
|