@itentialopensource/adapter-paragon_pathfinder 0.1.1
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/.eslintignore +6 -0
- package/.eslintrc.js +18 -0
- package/.gitlab/.gitkeep +0 -0
- package/.gitlab/issue_templates/.gitkeep +0 -0
- package/.gitlab/issue_templates/Default.md +17 -0
- package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
- package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
- package/.jshintrc +0 -0
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +2982 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +172 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +641 -0
- package/README.md +337 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +40341 -0
- package/adapterBase.js +1787 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +49 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +94 -0
- package/entities/.system/schemaTokenResp.json +65 -0
- package/entities/Authentication/action.json +45 -0
- package/entities/Authentication/schema.json +20 -0
- package/entities/Authorization/action.json +105 -0
- package/entities/Authorization/schema.json +23 -0
- package/entities/CommandService/action.json +44 -0
- package/entities/CommandService/schema.json +20 -0
- package/entities/ConfigOperationService/action.json +184 -0
- package/entities/ConfigOperationService/schema.json +27 -0
- package/entities/ConfigResourceService/action.json +964 -0
- package/entities/ConfigResourceService/schema.json +66 -0
- package/entities/ConfigTemplateService/action.json +345 -0
- package/entities/ConfigTemplateService/schema.json +266 -0
- package/entities/DeviceLCMService/action.json +44 -0
- package/entities/DeviceLCMService/schema.json +20 -0
- package/entities/DeviceOnboardingService/action.json +105 -0
- package/entities/DeviceOnboardingService/schema.json +23 -0
- package/entities/DevicemanagerService/action.json +1770 -0
- package/entities/DevicemanagerService/schema.json +402 -0
- package/entities/DevicemodelService/action.json +2114 -0
- package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportComponent-default.json +49 -0
- package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportDevice-default.json +29 -0
- package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportDeviceView-default.json +53 -0
- package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportInterface-default.json +21 -0
- package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportLicense-default.json +45 -0
- package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportLicenseFeature-default.json +41 -0
- package/entities/DevicemodelService/schema.json +419 -0
- package/entities/IamRPCService/action.json +872 -0
- package/entities/IamRPCService/schema.json +325 -0
- package/entities/IamService/action.json +2740 -0
- package/entities/IamService/mockdatafiles/iamServiceExportUserView-default.json +53 -0
- package/entities/IamService/schema.json +670 -0
- package/entities/InventoryService/action.json +164 -0
- package/entities/InventoryService/schema.json +26 -0
- package/error.json +190 -0
- package/package.json +87 -0
- package/pronghorn.json +100351 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1246 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/creationReport.json +2690 -0
- package/report/output.swagger.json +69945 -0
- package/sampleProperties.json +203 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +35598 -0
- package/test/unit/adapterBaseTestUnit.js +949 -0
- package/test/unit/adapterTestUnit.js +14616 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +178 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +246 -0
- package/utils/tbUtils.js +490 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +195 -0
- package/workflows/README.md +3 -0
|
@@ -0,0 +1,66 @@
|
|
|
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": "configResourceServiceEditSubinterfaceConfig",
|
|
12
|
+
"enum": [
|
|
13
|
+
"configResourceServiceEditSubinterfaceConfig",
|
|
14
|
+
"configResourceServiceGetQosInterfaceConfig",
|
|
15
|
+
"configResourceServiceEditSslInitiationProfileConfig",
|
|
16
|
+
"configResourceServiceEditQosInterfaceConfig",
|
|
17
|
+
"configResourceServiceGetAclInterfaceConfig",
|
|
18
|
+
"configResourceServiceEditStpConfig",
|
|
19
|
+
"configResourceServiceGetIgmpConfig",
|
|
20
|
+
"configResourceServiceEditEvpnConfig",
|
|
21
|
+
"configResourceServiceGetZoneConfig",
|
|
22
|
+
"configResourceServiceGetAsPathSetConfig",
|
|
23
|
+
"configResourceServiceGetSubinterfaceConfig",
|
|
24
|
+
"configResourceServiceGetInterfaceConfig",
|
|
25
|
+
"configResourceServiceEditSecurityStreamServerConfig",
|
|
26
|
+
"configResourceServiceEditSystemConfig",
|
|
27
|
+
"configResourceServiceEditCommunitySetConfig",
|
|
28
|
+
"configResourceServiceGetStaticRoutesConfig",
|
|
29
|
+
"configResourceServiceGetStpConfig",
|
|
30
|
+
"configResourceServiceGetSecurityStreamServerConfig",
|
|
31
|
+
"configResourceServiceEditBgpNeighborConfig",
|
|
32
|
+
"configResourceServiceEditBgpPeerGroupConfig",
|
|
33
|
+
"configResourceServiceEditAclInterfaceConfig",
|
|
34
|
+
"configResourceServiceGetEvpnConfig",
|
|
35
|
+
"configResourceServiceEditNetworkInstanceConfig",
|
|
36
|
+
"configResourceServiceEditIgmpConfig",
|
|
37
|
+
"configResourceServiceEditInterfaceConfig",
|
|
38
|
+
"configResourceServiceGetLacpConfig",
|
|
39
|
+
"configResourceServiceEditVlanConfig",
|
|
40
|
+
"configResourceServiceEditSecurityLogConfig",
|
|
41
|
+
"configResourceServiceEditBgpGlobalConfig",
|
|
42
|
+
"configResourceServiceEditZoneConfig",
|
|
43
|
+
"configResourceServiceGetSystemConfig",
|
|
44
|
+
"configResourceServiceGetBgpGlobalConfig",
|
|
45
|
+
"configResourceServiceEditStaticRoutesConfig",
|
|
46
|
+
"configResourceServiceGetBgpPeerGroupConfig",
|
|
47
|
+
"configResourceServiceGetCommunitySetConfig",
|
|
48
|
+
"configResourceServiceGetNetworkInstanceConfig",
|
|
49
|
+
"configResourceServiceEditPolicyDefinitionConfig",
|
|
50
|
+
"configResourceServiceGetVlanConfig",
|
|
51
|
+
"configResourceServiceGetSecurityLogConfig",
|
|
52
|
+
"configResourceServiceGetBgpNeighborConfig",
|
|
53
|
+
"configResourceServiceEditQosClassifierConfig",
|
|
54
|
+
"configResourceServiceGetSslInitiationProfileConfig",
|
|
55
|
+
"configResourceServiceEditLacpConfig",
|
|
56
|
+
"configResourceServiceGetQosClassifierConfig",
|
|
57
|
+
"configResourceServiceEditAsPathSetConfig",
|
|
58
|
+
"configResourceServiceGetPolicyDefinitionConfig",
|
|
59
|
+
"configResourceServiceGetAclSetConfig",
|
|
60
|
+
"configResourceServiceEditAclSetConfig"
|
|
61
|
+
],
|
|
62
|
+
"external_name": "ph_request_type"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"definitions": {}
|
|
66
|
+
}
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "configTemplateServiceGetAssociations",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/get-associations?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "configTemplateServiceValidate",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/validate?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"requestDatatype": "JSON",
|
|
33
|
+
"responseDatatype": "JSON",
|
|
34
|
+
"headers": {},
|
|
35
|
+
"responseObjects": [
|
|
36
|
+
{
|
|
37
|
+
"type": "default",
|
|
38
|
+
"key": "",
|
|
39
|
+
"mockFile": ""
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "configTemplateServiceAssignToDeviceTemplate",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "POST",
|
|
47
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/assign-to-device-template?{query}",
|
|
48
|
+
"requestSchema": "schema.json",
|
|
49
|
+
"responseSchema": "schema.json",
|
|
50
|
+
"timeout": 0,
|
|
51
|
+
"sendEmpty": false,
|
|
52
|
+
"requestDatatype": "JSON",
|
|
53
|
+
"responseDatatype": "JSON",
|
|
54
|
+
"headers": {},
|
|
55
|
+
"responseObjects": [
|
|
56
|
+
{
|
|
57
|
+
"type": "default",
|
|
58
|
+
"key": "",
|
|
59
|
+
"mockFile": ""
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "configTemplateServiceUnassignFromDeviceTemplate",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "POST",
|
|
67
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/unassign-from-device-template?{query}",
|
|
68
|
+
"requestSchema": "schema.json",
|
|
69
|
+
"responseSchema": "schema.json",
|
|
70
|
+
"timeout": 0,
|
|
71
|
+
"sendEmpty": false,
|
|
72
|
+
"requestDatatype": "JSON",
|
|
73
|
+
"responseDatatype": "JSON",
|
|
74
|
+
"headers": {},
|
|
75
|
+
"responseObjects": [
|
|
76
|
+
{
|
|
77
|
+
"type": "default",
|
|
78
|
+
"key": "",
|
|
79
|
+
"mockFile": ""
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "configTemplateServiceDelete",
|
|
85
|
+
"protocol": "REST",
|
|
86
|
+
"method": "POST",
|
|
87
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/delete?{query}",
|
|
88
|
+
"requestSchema": "schema.json",
|
|
89
|
+
"responseSchema": "schema.json",
|
|
90
|
+
"timeout": 0,
|
|
91
|
+
"sendEmpty": false,
|
|
92
|
+
"requestDatatype": "JSON",
|
|
93
|
+
"responseDatatype": "JSON",
|
|
94
|
+
"headers": {},
|
|
95
|
+
"responseObjects": [
|
|
96
|
+
{
|
|
97
|
+
"type": "default",
|
|
98
|
+
"key": "",
|
|
99
|
+
"mockFile": ""
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "configTemplateServiceListConfigTemplateView",
|
|
105
|
+
"protocol": "REST",
|
|
106
|
+
"method": "GET",
|
|
107
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template-view?{query}",
|
|
108
|
+
"requestSchema": "schema.json",
|
|
109
|
+
"responseSchema": "schema.json",
|
|
110
|
+
"timeout": 0,
|
|
111
|
+
"sendEmpty": false,
|
|
112
|
+
"sendGetBody": false,
|
|
113
|
+
"requestDatatype": "JSON",
|
|
114
|
+
"responseDatatype": "JSON",
|
|
115
|
+
"headers": {},
|
|
116
|
+
"responseObjects": [
|
|
117
|
+
{
|
|
118
|
+
"type": "default",
|
|
119
|
+
"key": "",
|
|
120
|
+
"mockFile": ""
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "configTemplateServiceSaveAssociations",
|
|
126
|
+
"protocol": "REST",
|
|
127
|
+
"method": "POST",
|
|
128
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/save-associations?{query}",
|
|
129
|
+
"requestSchema": "schema.json",
|
|
130
|
+
"responseSchema": "schema.json",
|
|
131
|
+
"timeout": 0,
|
|
132
|
+
"sendEmpty": false,
|
|
133
|
+
"requestDatatype": "JSON",
|
|
134
|
+
"responseDatatype": "JSON",
|
|
135
|
+
"headers": {},
|
|
136
|
+
"responseObjects": [
|
|
137
|
+
{
|
|
138
|
+
"type": "default",
|
|
139
|
+
"key": "",
|
|
140
|
+
"mockFile": ""
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "configTemplateServiceValidateAsync",
|
|
146
|
+
"protocol": "REST",
|
|
147
|
+
"method": "POST",
|
|
148
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/validate-async?{query}",
|
|
149
|
+
"requestSchema": "schema.json",
|
|
150
|
+
"responseSchema": "schema.json",
|
|
151
|
+
"timeout": 0,
|
|
152
|
+
"sendEmpty": false,
|
|
153
|
+
"requestDatatype": "JSON",
|
|
154
|
+
"responseDatatype": "JSON",
|
|
155
|
+
"headers": {},
|
|
156
|
+
"responseObjects": [
|
|
157
|
+
{
|
|
158
|
+
"type": "default",
|
|
159
|
+
"key": "",
|
|
160
|
+
"mockFile": ""
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "configTemplateServiceConfigureInitValues",
|
|
166
|
+
"protocol": "REST",
|
|
167
|
+
"method": "POST",
|
|
168
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/configure-init-values?{query}",
|
|
169
|
+
"requestSchema": "schema.json",
|
|
170
|
+
"responseSchema": "schema.json",
|
|
171
|
+
"timeout": 0,
|
|
172
|
+
"sendEmpty": false,
|
|
173
|
+
"requestDatatype": "JSON",
|
|
174
|
+
"responseDatatype": "JSON",
|
|
175
|
+
"headers": {},
|
|
176
|
+
"responseObjects": [
|
|
177
|
+
{
|
|
178
|
+
"type": "default",
|
|
179
|
+
"key": "",
|
|
180
|
+
"mockFile": ""
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "configTemplateServiceDeployAsync",
|
|
186
|
+
"protocol": "REST",
|
|
187
|
+
"method": "POST",
|
|
188
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/deploy-async?{query}",
|
|
189
|
+
"requestSchema": "schema.json",
|
|
190
|
+
"responseSchema": "schema.json",
|
|
191
|
+
"timeout": 0,
|
|
192
|
+
"sendEmpty": false,
|
|
193
|
+
"requestDatatype": "JSON",
|
|
194
|
+
"responseDatatype": "JSON",
|
|
195
|
+
"headers": {},
|
|
196
|
+
"responseObjects": [
|
|
197
|
+
{
|
|
198
|
+
"type": "default",
|
|
199
|
+
"key": "",
|
|
200
|
+
"mockFile": ""
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "configTemplateServiceValidateAssociations",
|
|
206
|
+
"protocol": "REST",
|
|
207
|
+
"method": "POST",
|
|
208
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/validate-associations?{query}",
|
|
209
|
+
"requestSchema": "schema.json",
|
|
210
|
+
"responseSchema": "schema.json",
|
|
211
|
+
"timeout": 0,
|
|
212
|
+
"sendEmpty": false,
|
|
213
|
+
"requestDatatype": "JSON",
|
|
214
|
+
"responseDatatype": "JSON",
|
|
215
|
+
"headers": {},
|
|
216
|
+
"responseObjects": [
|
|
217
|
+
{
|
|
218
|
+
"type": "default",
|
|
219
|
+
"key": "",
|
|
220
|
+
"mockFile": ""
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "configTemplateServiceDeploy",
|
|
226
|
+
"protocol": "REST",
|
|
227
|
+
"method": "POST",
|
|
228
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/deploy?{query}",
|
|
229
|
+
"requestSchema": "schema.json",
|
|
230
|
+
"responseSchema": "schema.json",
|
|
231
|
+
"timeout": 0,
|
|
232
|
+
"sendEmpty": false,
|
|
233
|
+
"requestDatatype": "JSON",
|
|
234
|
+
"responseDatatype": "JSON",
|
|
235
|
+
"headers": {},
|
|
236
|
+
"responseObjects": [
|
|
237
|
+
{
|
|
238
|
+
"type": "default",
|
|
239
|
+
"key": "",
|
|
240
|
+
"mockFile": ""
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "configTemplateServiceEditWithViewdef",
|
|
246
|
+
"protocol": "REST",
|
|
247
|
+
"method": "POST",
|
|
248
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/edit-with-viewdef?{query}",
|
|
249
|
+
"requestSchema": "schema.json",
|
|
250
|
+
"responseSchema": "schema.json",
|
|
251
|
+
"timeout": 0,
|
|
252
|
+
"sendEmpty": false,
|
|
253
|
+
"requestDatatype": "JSON",
|
|
254
|
+
"responseDatatype": "JSON",
|
|
255
|
+
"headers": {},
|
|
256
|
+
"responseObjects": [
|
|
257
|
+
{
|
|
258
|
+
"type": "default",
|
|
259
|
+
"key": "",
|
|
260
|
+
"mockFile": ""
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "configTemplateServiceGenerateSchema",
|
|
266
|
+
"protocol": "REST",
|
|
267
|
+
"method": "POST",
|
|
268
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/generate-schema?{query}",
|
|
269
|
+
"requestSchema": "schema.json",
|
|
270
|
+
"responseSchema": "schema.json",
|
|
271
|
+
"timeout": 0,
|
|
272
|
+
"sendEmpty": false,
|
|
273
|
+
"requestDatatype": "JSON",
|
|
274
|
+
"responseDatatype": "JSON",
|
|
275
|
+
"headers": {},
|
|
276
|
+
"responseObjects": [
|
|
277
|
+
{
|
|
278
|
+
"type": "default",
|
|
279
|
+
"key": "",
|
|
280
|
+
"mockFile": ""
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "configTemplateServiceCreateWithViewdef",
|
|
286
|
+
"protocol": "REST",
|
|
287
|
+
"method": "POST",
|
|
288
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/create-with-viewdef?{query}",
|
|
289
|
+
"requestSchema": "schema.json",
|
|
290
|
+
"responseSchema": "schema.json",
|
|
291
|
+
"timeout": 0,
|
|
292
|
+
"sendEmpty": false,
|
|
293
|
+
"requestDatatype": "JSON",
|
|
294
|
+
"responseDatatype": "JSON",
|
|
295
|
+
"headers": {},
|
|
296
|
+
"responseObjects": [
|
|
297
|
+
{
|
|
298
|
+
"type": "default",
|
|
299
|
+
"key": "",
|
|
300
|
+
"mockFile": ""
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "configTemplateServicePreview",
|
|
306
|
+
"protocol": "REST",
|
|
307
|
+
"method": "POST",
|
|
308
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/preview?{query}",
|
|
309
|
+
"requestSchema": "schema.json",
|
|
310
|
+
"responseSchema": "schema.json",
|
|
311
|
+
"timeout": 0,
|
|
312
|
+
"sendEmpty": false,
|
|
313
|
+
"requestDatatype": "JSON",
|
|
314
|
+
"responseDatatype": "JSON",
|
|
315
|
+
"headers": {},
|
|
316
|
+
"responseObjects": [
|
|
317
|
+
{
|
|
318
|
+
"type": "default",
|
|
319
|
+
"key": "",
|
|
320
|
+
"mockFile": ""
|
|
321
|
+
}
|
|
322
|
+
]
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "configTemplateServiceDeployAssociations",
|
|
326
|
+
"protocol": "REST",
|
|
327
|
+
"method": "POST",
|
|
328
|
+
"entitypath": "{base_path}/{version}/devicemanager/config-template/deploy-associations?{query}",
|
|
329
|
+
"requestSchema": "schema.json",
|
|
330
|
+
"responseSchema": "schema.json",
|
|
331
|
+
"timeout": 0,
|
|
332
|
+
"sendEmpty": false,
|
|
333
|
+
"requestDatatype": "JSON",
|
|
334
|
+
"responseDatatype": "JSON",
|
|
335
|
+
"headers": {},
|
|
336
|
+
"responseObjects": [
|
|
337
|
+
{
|
|
338
|
+
"type": "default",
|
|
339
|
+
"key": "",
|
|
340
|
+
"mockFile": ""
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
}
|
|
344
|
+
]
|
|
345
|
+
}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "configTemplateServiceGetAssociations",
|
|
12
|
+
"enum": [
|
|
13
|
+
"configTemplateServiceGetAssociations",
|
|
14
|
+
"configTemplateServiceValidate",
|
|
15
|
+
"configTemplateServiceAssignToDeviceTemplate",
|
|
16
|
+
"configTemplateServiceUnassignFromDeviceTemplate",
|
|
17
|
+
"configTemplateServiceDelete",
|
|
18
|
+
"configTemplateServiceListConfigTemplateView",
|
|
19
|
+
"configTemplateServiceSaveAssociations",
|
|
20
|
+
"configTemplateServiceValidateAsync",
|
|
21
|
+
"configTemplateServiceConfigureInitValues",
|
|
22
|
+
"configTemplateServiceDeployAsync",
|
|
23
|
+
"configTemplateServiceValidateAssociations",
|
|
24
|
+
"configTemplateServiceDeploy",
|
|
25
|
+
"configTemplateServiceEditWithViewdef",
|
|
26
|
+
"configTemplateServiceGenerateSchema",
|
|
27
|
+
"configTemplateServiceCreateWithViewdef",
|
|
28
|
+
"configTemplateServicePreview",
|
|
29
|
+
"configTemplateServiceDeployAssociations"
|
|
30
|
+
],
|
|
31
|
+
"external_name": "ph_request_type"
|
|
32
|
+
},
|
|
33
|
+
"specSize": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Number of items expected to be returned.",
|
|
36
|
+
"parse": false,
|
|
37
|
+
"encode": false,
|
|
38
|
+
"encrypt": {
|
|
39
|
+
"type": "AES",
|
|
40
|
+
"key": ""
|
|
41
|
+
},
|
|
42
|
+
"external_name": "spec.size"
|
|
43
|
+
},
|
|
44
|
+
"specPageMarker": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "Include only objects with UUID lexically greater than this.",
|
|
47
|
+
"parse": false,
|
|
48
|
+
"encode": false,
|
|
49
|
+
"encrypt": {
|
|
50
|
+
"type": "AES",
|
|
51
|
+
"key": ""
|
|
52
|
+
},
|
|
53
|
+
"external_name": "spec.page_marker"
|
|
54
|
+
},
|
|
55
|
+
"specDetail": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"description": "Include detail informatoin or not.",
|
|
58
|
+
"parse": false,
|
|
59
|
+
"encode": false,
|
|
60
|
+
"encrypt": {
|
|
61
|
+
"type": "AES",
|
|
62
|
+
"key": ""
|
|
63
|
+
},
|
|
64
|
+
"external_name": "spec.detail"
|
|
65
|
+
},
|
|
66
|
+
"specCount": {
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"description": "",
|
|
69
|
+
"parse": false,
|
|
70
|
+
"encode": false,
|
|
71
|
+
"encrypt": {
|
|
72
|
+
"type": "AES",
|
|
73
|
+
"key": ""
|
|
74
|
+
},
|
|
75
|
+
"external_name": "spec.count"
|
|
76
|
+
},
|
|
77
|
+
"specExcludeShared": {
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"description": "Include shared resources or not.",
|
|
80
|
+
"parse": false,
|
|
81
|
+
"encode": false,
|
|
82
|
+
"encrypt": {
|
|
83
|
+
"type": "AES",
|
|
84
|
+
"key": ""
|
|
85
|
+
},
|
|
86
|
+
"external_name": "spec.exclude_shared"
|
|
87
|
+
},
|
|
88
|
+
"specExcludeHrefs": {
|
|
89
|
+
"type": "boolean",
|
|
90
|
+
"description": "Exclude href parameters.",
|
|
91
|
+
"parse": false,
|
|
92
|
+
"encode": false,
|
|
93
|
+
"encrypt": {
|
|
94
|
+
"type": "AES",
|
|
95
|
+
"key": ""
|
|
96
|
+
},
|
|
97
|
+
"external_name": "spec.exclude_hrefs"
|
|
98
|
+
},
|
|
99
|
+
"specParentFqNameStr": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"description": "Filter by parent FQ Name.",
|
|
102
|
+
"parse": false,
|
|
103
|
+
"encode": false,
|
|
104
|
+
"encrypt": {
|
|
105
|
+
"type": "AES",
|
|
106
|
+
"key": ""
|
|
107
|
+
},
|
|
108
|
+
"external_name": "spec.parent_fq_name_str"
|
|
109
|
+
},
|
|
110
|
+
"specParentType": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "Filter by parent type.",
|
|
113
|
+
"parse": false,
|
|
114
|
+
"encode": false,
|
|
115
|
+
"encrypt": {
|
|
116
|
+
"type": "AES",
|
|
117
|
+
"key": ""
|
|
118
|
+
},
|
|
119
|
+
"external_name": "spec.parent_type"
|
|
120
|
+
},
|
|
121
|
+
"specParentId": {
|
|
122
|
+
"type": "array",
|
|
123
|
+
"description": "Filter by parent UUIDs.",
|
|
124
|
+
"parse": false,
|
|
125
|
+
"encode": false,
|
|
126
|
+
"encrypt": {
|
|
127
|
+
"type": "AES",
|
|
128
|
+
"key": ""
|
|
129
|
+
},
|
|
130
|
+
"external_name": "spec.parent_id"
|
|
131
|
+
},
|
|
132
|
+
"specBackRefId": {
|
|
133
|
+
"type": "array",
|
|
134
|
+
"description": "Filter by backref UUIDss.",
|
|
135
|
+
"parse": false,
|
|
136
|
+
"encode": false,
|
|
137
|
+
"encrypt": {
|
|
138
|
+
"type": "AES",
|
|
139
|
+
"key": ""
|
|
140
|
+
},
|
|
141
|
+
"external_name": "spec.back_ref_id"
|
|
142
|
+
},
|
|
143
|
+
"specObjUuids": {
|
|
144
|
+
"type": "array",
|
|
145
|
+
"description": "Filter by UUIDs.",
|
|
146
|
+
"parse": false,
|
|
147
|
+
"encode": false,
|
|
148
|
+
"encrypt": {
|
|
149
|
+
"type": "AES",
|
|
150
|
+
"key": ""
|
|
151
|
+
},
|
|
152
|
+
"external_name": "spec.obj_uuids"
|
|
153
|
+
},
|
|
154
|
+
"specFields": {
|
|
155
|
+
"type": "array",
|
|
156
|
+
"description": "limit displayed fields.",
|
|
157
|
+
"parse": false,
|
|
158
|
+
"encode": false,
|
|
159
|
+
"encrypt": {
|
|
160
|
+
"type": "AES",
|
|
161
|
+
"key": ""
|
|
162
|
+
},
|
|
163
|
+
"external_name": "spec.fields"
|
|
164
|
+
},
|
|
165
|
+
"specFilters": {
|
|
166
|
+
"type": "array",
|
|
167
|
+
"description": "QueryFilter in string format.\nGrpc-gateway doesn't have support for nested structs and maps so\nintroducing new fields which will take string as input.",
|
|
168
|
+
"parse": false,
|
|
169
|
+
"encode": false,
|
|
170
|
+
"encrypt": {
|
|
171
|
+
"type": "AES",
|
|
172
|
+
"key": ""
|
|
173
|
+
},
|
|
174
|
+
"external_name": "spec.filters"
|
|
175
|
+
},
|
|
176
|
+
"specRefUuids": {
|
|
177
|
+
"type": "array",
|
|
178
|
+
"description": "Filter by ref UUIDss.",
|
|
179
|
+
"parse": false,
|
|
180
|
+
"encode": false,
|
|
181
|
+
"encrypt": {
|
|
182
|
+
"type": "AES",
|
|
183
|
+
"key": ""
|
|
184
|
+
},
|
|
185
|
+
"external_name": "spec.ref_uuids"
|
|
186
|
+
},
|
|
187
|
+
"specFrom": {
|
|
188
|
+
"type": "string",
|
|
189
|
+
"description": "Start from items expected to be returned.",
|
|
190
|
+
"parse": false,
|
|
191
|
+
"encode": false,
|
|
192
|
+
"encrypt": {
|
|
193
|
+
"type": "AES",
|
|
194
|
+
"key": ""
|
|
195
|
+
},
|
|
196
|
+
"external_name": "spec.from"
|
|
197
|
+
},
|
|
198
|
+
"specSortby": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"description": "Sort by column with ascending or descending by default ascending.",
|
|
201
|
+
"parse": false,
|
|
202
|
+
"encode": false,
|
|
203
|
+
"encrypt": {
|
|
204
|
+
"type": "AES",
|
|
205
|
+
"key": ""
|
|
206
|
+
},
|
|
207
|
+
"external_name": "spec.sortby"
|
|
208
|
+
},
|
|
209
|
+
"specOperation": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"description": "Operation determines whether union or interjection.",
|
|
212
|
+
"parse": false,
|
|
213
|
+
"encode": false,
|
|
214
|
+
"encrypt": {
|
|
215
|
+
"type": "AES",
|
|
216
|
+
"key": ""
|
|
217
|
+
},
|
|
218
|
+
"external_name": "spec.operation"
|
|
219
|
+
},
|
|
220
|
+
"specTagFilters": {
|
|
221
|
+
"type": "array",
|
|
222
|
+
"description": "Filter by Tag Fields.",
|
|
223
|
+
"parse": false,
|
|
224
|
+
"encode": false,
|
|
225
|
+
"encrypt": {
|
|
226
|
+
"type": "AES",
|
|
227
|
+
"key": ""
|
|
228
|
+
},
|
|
229
|
+
"external_name": "spec.tag_filters"
|
|
230
|
+
},
|
|
231
|
+
"specTagDetail": {
|
|
232
|
+
"type": "boolean",
|
|
233
|
+
"description": "Include Tag Details or not.",
|
|
234
|
+
"parse": false,
|
|
235
|
+
"encode": false,
|
|
236
|
+
"encrypt": {
|
|
237
|
+
"type": "AES",
|
|
238
|
+
"key": ""
|
|
239
|
+
},
|
|
240
|
+
"external_name": "spec.tag_detail"
|
|
241
|
+
},
|
|
242
|
+
"specRefFields": {
|
|
243
|
+
"type": "array",
|
|
244
|
+
"description": "limit displayed reference fields.",
|
|
245
|
+
"parse": false,
|
|
246
|
+
"encode": false,
|
|
247
|
+
"encrypt": {
|
|
248
|
+
"type": "AES",
|
|
249
|
+
"key": ""
|
|
250
|
+
},
|
|
251
|
+
"external_name": "spec.ref_fields"
|
|
252
|
+
},
|
|
253
|
+
"specExtRefUuids": {
|
|
254
|
+
"type": "array",
|
|
255
|
+
"description": "Filter by External Ref UUIDss.",
|
|
256
|
+
"parse": false,
|
|
257
|
+
"encode": false,
|
|
258
|
+
"encrypt": {
|
|
259
|
+
"type": "AES",
|
|
260
|
+
"key": ""
|
|
261
|
+
},
|
|
262
|
+
"external_name": "spec.ext_ref_uuids"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"definitions": {}
|
|
266
|
+
}
|