@itentialopensource/adapter-paragon_pathfinder 1.1.0 → 1.2.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.
Files changed (33) hide show
  1. package/CALLS.md +0 -1698
  2. package/CHANGELOG.md +8 -0
  3. package/adapter.js +0 -23865
  4. package/package.json +1 -1
  5. package/pronghorn.json +0 -71760
  6. package/refs?service=git-upload-pack +0 -0
  7. package/report/adapterInfo.json +6 -6
  8. package/test/integration/adapterTestIntegration.js +0 -25029
  9. package/test/unit/adapterTestUnit.js +0 -8127
  10. package/entities/CommandService/action.json +0 -44
  11. package/entities/CommandService/schema.json +0 -20
  12. package/entities/ConfigOperationService/action.json +0 -184
  13. package/entities/ConfigOperationService/schema.json +0 -27
  14. package/entities/ConfigResourceService/action.json +0 -964
  15. package/entities/ConfigResourceService/schema.json +0 -66
  16. package/entities/ConfigTemplateService/action.json +0 -345
  17. package/entities/ConfigTemplateService/schema.json +0 -266
  18. package/entities/DeviceLCMService/action.json +0 -44
  19. package/entities/DeviceLCMService/schema.json +0 -20
  20. package/entities/DeviceOnboardingService/action.json +0 -105
  21. package/entities/DeviceOnboardingService/schema.json +0 -23
  22. package/entities/DevicemanagerService/action.json +0 -1770
  23. package/entities/DevicemanagerService/schema.json +0 -402
  24. package/entities/DevicemodelService/action.json +0 -2114
  25. package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportComponent-default.json +0 -49
  26. package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportDevice-default.json +0 -29
  27. package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportDeviceView-default.json +0 -53
  28. package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportInterface-default.json +0 -21
  29. package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportLicense-default.json +0 -45
  30. package/entities/DevicemodelService/mockdatafiles/devicemodelServiceExportLicenseFeature-default.json +0 -41
  31. package/entities/DevicemodelService/schema.json +0 -419
  32. package/entities/InventoryService/action.json +0 -164
  33. package/entities/InventoryService/schema.json +0 -26
@@ -1,66 +0,0 @@
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
- }
@@ -1,345 +0,0 @@
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
- }
@@ -1,266 +0,0 @@
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
- }