@itentialopensource/adapter-pitney_bowes 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.
Files changed (94) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +170 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +172 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +337 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +3684 -0
  23. package/adapterBase.js +1787 -0
  24. package/entities/.generic/action.json +214 -0
  25. package/entities/.generic/schema.json +28 -0
  26. package/entities/.system/action.json +50 -0
  27. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  28. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  29. package/entities/.system/schema.json +19 -0
  30. package/entities/.system/schemaTokenReq.json +64 -0
  31. package/entities/.system/schemaTokenResp.json +53 -0
  32. package/entities/AddressValidation/action.json +44 -0
  33. package/entities/AddressValidation/schema.json +20 -0
  34. package/entities/Authentication/action.json +24 -0
  35. package/entities/Authentication/schema.json +30 -0
  36. package/entities/CarrierInfo/action.json +87 -0
  37. package/entities/CarrierInfo/mockdatafiles/getCarrierLicenseAgreement-default.json +3 -0
  38. package/entities/CarrierInfo/schema.json +22 -0
  39. package/entities/Container/action.json +24 -0
  40. package/entities/Container/schema.json +19 -0
  41. package/entities/CrossBorderQuotes/action.json +44 -0
  42. package/entities/CrossBorderQuotes/mockdatafiles/getCrossBorderQuotes-default.json +51 -0
  43. package/entities/CrossBorderQuotes/schema.json +20 -0
  44. package/entities/Manifests/action.json +66 -0
  45. package/entities/Manifests/schema.json +21 -0
  46. package/entities/ParcelProtection/action.json +85 -0
  47. package/entities/ParcelProtection/mockdatafiles/cancelParcelProtection-default.json +3 -0
  48. package/entities/ParcelProtection/mockdatafiles/getParcelProtectionCoverage-default.json +11 -0
  49. package/entities/ParcelProtection/mockdatafiles/getParcelProtectionQuote-default.json +8 -0
  50. package/entities/ParcelProtection/schema.json +22 -0
  51. package/entities/Pickup/action.json +44 -0
  52. package/entities/Pickup/schema.json +20 -0
  53. package/entities/RateParcels/action.json +24 -0
  54. package/entities/RateParcels/schema.json +19 -0
  55. package/entities/Shipment/action.json +86 -0
  56. package/entities/Shipment/schema.json +22 -0
  57. package/entities/Tracking/action.json +45 -0
  58. package/entities/Tracking/mockdatafiles/addTrackingEvents-default.json +3 -0
  59. package/entities/Tracking/schema.json +20 -0
  60. package/entities/TransactionReports/action.json +25 -0
  61. package/entities/TransactionReports/schema.json +19 -0
  62. package/error.json +190 -0
  63. package/package.json +85 -0
  64. package/pronghorn.json +2918 -0
  65. package/propertiesDecorators.json +14 -0
  66. package/propertiesSchema.json +1248 -0
  67. package/refs?service=git-upload-pack +0 -0
  68. package/report/PitneyBowes - ShippingAPI_OAS-OpenApi3Json.json +7675 -0
  69. package/report/creationReport.json +480 -0
  70. package/sampleProperties.json +197 -0
  71. package/test/integration/adapterTestBasicGet.js +83 -0
  72. package/test/integration/adapterTestConnectivity.js +93 -0
  73. package/test/integration/adapterTestIntegration.js +1402 -0
  74. package/test/unit/adapterBaseTestUnit.js +949 -0
  75. package/test/unit/adapterTestUnit.js +2417 -0
  76. package/utils/adapterInfo.js +206 -0
  77. package/utils/addAuth.js +94 -0
  78. package/utils/artifactize.js +146 -0
  79. package/utils/basicGet.js +50 -0
  80. package/utils/checkMigrate.js +63 -0
  81. package/utils/entitiesToDB.js +178 -0
  82. package/utils/findPath.js +74 -0
  83. package/utils/methodDocumentor.js +225 -0
  84. package/utils/modify.js +154 -0
  85. package/utils/packModificationScript.js +35 -0
  86. package/utils/patches2bundledDeps.js +90 -0
  87. package/utils/pre-commit.sh +32 -0
  88. package/utils/removeHooks.js +20 -0
  89. package/utils/setup.js +33 -0
  90. package/utils/tbScript.js +246 -0
  91. package/utils/tbUtils.js +490 -0
  92. package/utils/testRunner.js +298 -0
  93. package/utils/troubleshootingAdapter.js +195 -0
  94. package/workflows/README.md +3 -0
@@ -0,0 +1,480 @@
1
+ {
2
+ "errors": [],
3
+ "statistics": [
4
+ {
5
+ "owner": "errorJson",
6
+ "description": "Standard adapter errors available for use",
7
+ "value": 31
8
+ },
9
+ {
10
+ "owner": "packageJson",
11
+ "description": "Number of production dependencies",
12
+ "value": 16
13
+ },
14
+ {
15
+ "owner": "packageJson",
16
+ "description": "Number of development dependencies",
17
+ "value": 7
18
+ },
19
+ {
20
+ "owner": "packageJson",
21
+ "description": "Number of npm scripts",
22
+ "value": 22
23
+ },
24
+ {
25
+ "owner": "packageJson",
26
+ "description": "Runtime Library dependency",
27
+ "value": "^4.48.0"
28
+ },
29
+ {
30
+ "owner": "propertiesSchemaJson",
31
+ "description": "Adapter properties defined in the propertiesSchema file",
32
+ "value": 70
33
+ },
34
+ {
35
+ "owner": "adapterJS",
36
+ "description": "Lines of code generated in adapter.js",
37
+ "value": 3599
38
+ },
39
+ {
40
+ "owner": "adapterJS",
41
+ "description": "Number of Functions added to adapter.js",
42
+ "value": 27
43
+ },
44
+ {
45
+ "owner": "pronghornJson",
46
+ "description": "Number of Methods added to pronghorn.json",
47
+ "value": 27
48
+ },
49
+ {
50
+ "owner": "markdown",
51
+ "description": "Number of lines in the README.md",
52
+ "value": 338
53
+ },
54
+ {
55
+ "owner": "markdown",
56
+ "description": "Number of lines in the SUMMARY.md",
57
+ "value": 9
58
+ },
59
+ {
60
+ "owner": "markdown",
61
+ "description": "Number of lines in the PROPERTIES.md",
62
+ "value": 642
63
+ },
64
+ {
65
+ "owner": "markdown",
66
+ "description": "Number of lines in the TROUBLESHOOT.md",
67
+ "value": 48
68
+ },
69
+ {
70
+ "owner": "markdown",
71
+ "description": "Number of lines in the ENHANCE.md",
72
+ "value": 70
73
+ },
74
+ {
75
+ "owner": "markdown",
76
+ "description": "Number of lines in the BROKER.md",
77
+ "value": 200
78
+ },
79
+ {
80
+ "owner": "markdown",
81
+ "description": "Number of lines in the CALLS.md",
82
+ "value": 171
83
+ },
84
+ {
85
+ "owner": "markdown",
86
+ "description": "Number of lines in the AUTH.md",
87
+ "value": 40
88
+ },
89
+ {
90
+ "owner": "markdown",
91
+ "description": "Number of lines in the SYSTEMINFO.md",
92
+ "value": 11
93
+ },
94
+ {
95
+ "owner": "unitTestJS",
96
+ "description": "Number of lines of code in unit tests",
97
+ "value": 2231
98
+ },
99
+ {
100
+ "owner": "unitTestJS",
101
+ "description": "Number of unit tests",
102
+ "value": 117
103
+ },
104
+ {
105
+ "owner": "integrationTestJS",
106
+ "description": "Number of lines of code in integration tests",
107
+ "value": 1402
108
+ },
109
+ {
110
+ "owner": "integrationTestJS",
111
+ "description": "Number of integration tests",
112
+ "value": 32
113
+ },
114
+ {
115
+ "owner": "actionJson",
116
+ "description": "Number of actions for Authentication entity",
117
+ "value": 1
118
+ },
119
+ {
120
+ "owner": "actionJson",
121
+ "description": "Number of actions for CarrierInfo entity",
122
+ "value": 4
123
+ },
124
+ {
125
+ "owner": "actionJson",
126
+ "description": "Number of actions for RateParcels entity",
127
+ "value": 1
128
+ },
129
+ {
130
+ "owner": "actionJson",
131
+ "description": "Number of actions for Shipment entity",
132
+ "value": 4
133
+ },
134
+ {
135
+ "owner": "actionJson",
136
+ "description": "Number of actions for Manifests entity",
137
+ "value": 3
138
+ },
139
+ {
140
+ "owner": "actionJson",
141
+ "description": "Number of actions for TransactionReports entity",
142
+ "value": 1
143
+ },
144
+ {
145
+ "owner": "actionJson",
146
+ "description": "Number of actions for Pickup entity",
147
+ "value": 2
148
+ },
149
+ {
150
+ "owner": "actionJson",
151
+ "description": "Number of actions for AddressValidation entity",
152
+ "value": 2
153
+ },
154
+ {
155
+ "owner": "actionJson",
156
+ "description": "Number of actions for ParcelProtection entity",
157
+ "value": 4
158
+ },
159
+ {
160
+ "owner": "actionJson",
161
+ "description": "Number of actions for Tracking entity",
162
+ "value": 2
163
+ },
164
+ {
165
+ "owner": "actionJson",
166
+ "description": "Number of actions for CrossBorderQuotes entity",
167
+ "value": 2
168
+ },
169
+ {
170
+ "owner": "actionJson",
171
+ "description": "Number of actions for Container entity",
172
+ "value": 1
173
+ },
174
+ {
175
+ "owner": "actionJson",
176
+ "description": "Total number of actions",
177
+ "value": 27
178
+ },
179
+ {
180
+ "owner": "actionJson",
181
+ "description": "Total number of entities",
182
+ "value": 12
183
+ },
184
+ {
185
+ "owner": "schemaJson",
186
+ "description": "Number of schemas for Authentication entity",
187
+ "value": 1
188
+ },
189
+ {
190
+ "owner": "schemaJson",
191
+ "description": "Number of schemas for CarrierInfo entity",
192
+ "value": 1
193
+ },
194
+ {
195
+ "owner": "schemaJson",
196
+ "description": "Number of schemas for RateParcels entity",
197
+ "value": 1
198
+ },
199
+ {
200
+ "owner": "schemaJson",
201
+ "description": "Number of schemas for Shipment entity",
202
+ "value": 1
203
+ },
204
+ {
205
+ "owner": "schemaJson",
206
+ "description": "Number of schemas for Manifests entity",
207
+ "value": 1
208
+ },
209
+ {
210
+ "owner": "schemaJson",
211
+ "description": "Number of schemas for TransactionReports entity",
212
+ "value": 1
213
+ },
214
+ {
215
+ "owner": "schemaJson",
216
+ "description": "Number of schemas for Pickup entity",
217
+ "value": 1
218
+ },
219
+ {
220
+ "owner": "schemaJson",
221
+ "description": "Number of schemas for AddressValidation entity",
222
+ "value": 1
223
+ },
224
+ {
225
+ "owner": "schemaJson",
226
+ "description": "Number of schemas for ParcelProtection entity",
227
+ "value": 1
228
+ },
229
+ {
230
+ "owner": "schemaJson",
231
+ "description": "Number of schemas for Tracking entity",
232
+ "value": 1
233
+ },
234
+ {
235
+ "owner": "schemaJson",
236
+ "description": "Number of schemas for CrossBorderQuotes entity",
237
+ "value": 1
238
+ },
239
+ {
240
+ "owner": "schemaJson",
241
+ "description": "Number of schemas for Container entity",
242
+ "value": 1
243
+ },
244
+ {
245
+ "owner": "schemaJson",
246
+ "description": "Total number of schemas",
247
+ "value": 12
248
+ },
249
+ {
250
+ "owner": "mockdata",
251
+ "description": "Number of mock data files for Authentication entity",
252
+ "value": 0
253
+ },
254
+ {
255
+ "owner": "mockdata",
256
+ "description": "Number of mock data files for CarrierInfo entity",
257
+ "value": 1
258
+ },
259
+ {
260
+ "owner": "mockdata",
261
+ "description": "Number of mock data files for RateParcels entity",
262
+ "value": 0
263
+ },
264
+ {
265
+ "owner": "mockdata",
266
+ "description": "Number of mock data files for Shipment entity",
267
+ "value": 0
268
+ },
269
+ {
270
+ "owner": "mockdata",
271
+ "description": "Number of mock data files for Manifests entity",
272
+ "value": 0
273
+ },
274
+ {
275
+ "owner": "mockdata",
276
+ "description": "Number of mock data files for TransactionReports entity",
277
+ "value": 0
278
+ },
279
+ {
280
+ "owner": "mockdata",
281
+ "description": "Number of mock data files for Pickup entity",
282
+ "value": 0
283
+ },
284
+ {
285
+ "owner": "mockdata",
286
+ "description": "Number of mock data files for AddressValidation entity",
287
+ "value": 0
288
+ },
289
+ {
290
+ "owner": "mockdata",
291
+ "description": "Number of mock data files for ParcelProtection entity",
292
+ "value": 3
293
+ },
294
+ {
295
+ "owner": "mockdata",
296
+ "description": "Number of mock data files for Tracking entity",
297
+ "value": 1
298
+ },
299
+ {
300
+ "owner": "mockdata",
301
+ "description": "Number of mock data files for CrossBorderQuotes entity",
302
+ "value": 1
303
+ },
304
+ {
305
+ "owner": "mockdata",
306
+ "description": "Number of mock data files for Container entity",
307
+ "value": 0
308
+ },
309
+ {
310
+ "owner": "mockdata",
311
+ "description": "Total number of mock data files",
312
+ "value": 6
313
+ },
314
+ {
315
+ "owner": "actionJson",
316
+ "description": "Number of actions for .system entity",
317
+ "value": 2
318
+ },
319
+ {
320
+ "owner": "schemaJson",
321
+ "description": "Number of schemas for .system entity",
322
+ "value": 3
323
+ },
324
+ {
325
+ "owner": "mockdata",
326
+ "description": "Number of mock data files for .system entity",
327
+ "value": 2
328
+ },
329
+ {
330
+ "owner": "System",
331
+ "description": "System entity files",
332
+ "value": 6
333
+ },
334
+ {
335
+ "owner": "usecases",
336
+ "description": "Number of workflows",
337
+ "value": 0
338
+ },
339
+ {
340
+ "owner": "staticFile",
341
+ "description": "Number of lines of code in adapterBase.js",
342
+ "value": 1788
343
+ },
344
+ {
345
+ "owner": "staticFile",
346
+ "description": "Number of static files added",
347
+ "value": 38
348
+ },
349
+ {
350
+ "owner": "Overall",
351
+ "description": "Total lines of Code",
352
+ "value": 9020
353
+ },
354
+ {
355
+ "owner": "Overall",
356
+ "description": "Total Tests",
357
+ "value": 149
358
+ },
359
+ {
360
+ "owner": "Overall",
361
+ "description": "Total Files",
362
+ "value": 82
363
+ }
364
+ ],
365
+ "warnings": [],
366
+ "apiParsingReport": {
367
+ "no_mockdata": [
368
+ {
369
+ "fnName": "oauthToken",
370
+ "method": "post",
371
+ "path": "/oauth/token"
372
+ },
373
+ {
374
+ "fnName": "getCarrierServiceRules",
375
+ "method": "get",
376
+ "path": "/shippingservices/v1/information/rules/rating-services"
377
+ },
378
+ {
379
+ "fnName": "getCarrierSupportedDestination",
380
+ "method": "get",
381
+ "path": "/shippingservices/v1/countries"
382
+ },
383
+ {
384
+ "fnName": "getCarrierFacilities",
385
+ "method": "post",
386
+ "path": "/shippingservices/v1/carrier-facility"
387
+ },
388
+ {
389
+ "fnName": "rateParcel",
390
+ "method": "post",
391
+ "path": "/shippingservices/v1/rates"
392
+ },
393
+ {
394
+ "fnName": "createShipmentLabel",
395
+ "method": "post",
396
+ "path": "/shippingservices/v1/shipments"
397
+ },
398
+ {
399
+ "fnName": "retryShipment",
400
+ "method": "get",
401
+ "path": "/shippingservices/v1/shipments"
402
+ },
403
+ {
404
+ "fnName": "reprintShipment",
405
+ "method": "get",
406
+ "path": "/shippingservices/v1/shipments/{shipmentId}"
407
+ },
408
+ {
409
+ "fnName": "cancelShipment",
410
+ "method": "delete",
411
+ "path": "/shippingservices/v1/shipments/{shipmentId}"
412
+ },
413
+ {
414
+ "fnName": "createManifest",
415
+ "method": "post",
416
+ "path": "/shippingservices/v1/manifests"
417
+ },
418
+ {
419
+ "fnName": "retryManifest",
420
+ "method": "get",
421
+ "path": "/shippingservices/v1/manifests"
422
+ },
423
+ {
424
+ "fnName": "reprintManifest",
425
+ "method": "get",
426
+ "path": "/shippingservices/v1/manifests/{manifestId}"
427
+ },
428
+ {
429
+ "fnName": "getTransactionReport",
430
+ "method": "get",
431
+ "path": "/v4/ledger/developers/{developerId}/transactions/reports"
432
+ },
433
+ {
434
+ "fnName": "getPickupschedule",
435
+ "method": "post",
436
+ "path": "/shippingservices/v1/pickups/schedule"
437
+ },
438
+ {
439
+ "fnName": "cancelPickup",
440
+ "method": "post",
441
+ "path": "/shippingservices/v1/pickups/{pickupId}/cancel"
442
+ },
443
+ {
444
+ "fnName": "verifyAddress",
445
+ "method": "post",
446
+ "path": "/shippingservices/v1/addresses/verify"
447
+ },
448
+ {
449
+ "fnName": "verifyAndSuggestAddress",
450
+ "method": "post",
451
+ "path": "/shippingservices/v1/addresses/verify-suggest"
452
+ },
453
+ {
454
+ "fnName": "getParcelProtectionReports",
455
+ "method": "get",
456
+ "path": "/shippingservices/v1/parcel-protection/{developerId}/policies"
457
+ },
458
+ {
459
+ "fnName": "getTrackingDetails",
460
+ "method": "get",
461
+ "path": "/shippingservices/v1/tracking/{trackingNumber}"
462
+ },
463
+ {
464
+ "fnName": "predictedHSCode",
465
+ "method": "post",
466
+ "path": "/shippingservices/v1/crossborder/hs-classification/items"
467
+ },
468
+ {
469
+ "fnName": "getContainerizedParcelsLabels",
470
+ "method": "post",
471
+ "path": "/shippingservices/v1/container-manifest"
472
+ }
473
+ ],
474
+ "errors": [],
475
+ "warnings": [],
476
+ "callsTotal": 27,
477
+ "callsConverted": 27,
478
+ "no_mockdata_num": 21
479
+ }
480
+ }
@@ -0,0 +1,197 @@
1
+ {
2
+ "id": "Adapter-pitney_bowes",
3
+ "type": "PitneyBowes",
4
+ "properties": {
5
+ "host": "localhost",
6
+ "port": 443,
7
+ "base_path": "/",
8
+ "version": "",
9
+ "cache_location": "none",
10
+ "encode_pathvars": true,
11
+ "encode_queryvars": true,
12
+ "save_metric": false,
13
+ "stub": true,
14
+ "protocol": "https",
15
+ "authentication": {
16
+ "auth_method": "request_token",
17
+ "username": "",
18
+ "password": "",
19
+ "token": "token",
20
+ "token_timeout": 1800000,
21
+ "token_cache": "local",
22
+ "invalid_token_error": 401,
23
+ "auth_field": "header.headers.Authorization",
24
+ "auth_field_format": "Bearer {token}",
25
+ "auth_logging": true,
26
+ "client_id": "",
27
+ "client_secret": "",
28
+ "grant_type": "client_credentials"
29
+ },
30
+ "healthcheck": {
31
+ "type": "none",
32
+ "frequency": 60000,
33
+ "query_object": {}
34
+ },
35
+ "request": {
36
+ "number_redirects": 0,
37
+ "number_retries": 3,
38
+ "limit_retry_error": [
39
+ 0
40
+ ],
41
+ "failover_codes": [],
42
+ "attempt_timeout": 5000,
43
+ "global_request": {
44
+ "payload": {},
45
+ "uriOptions": {},
46
+ "addlHeaders": {
47
+ "Authorization": "Basic base64<key>:<secret>"
48
+ },
49
+ "authData": {}
50
+ },
51
+ "healthcheck_on_timeout": true,
52
+ "return_raw": false,
53
+ "archiving": false,
54
+ "return_request": false
55
+ },
56
+ "throttle": {
57
+ "throttle_enabled": false,
58
+ "number_pronghorns": 1,
59
+ "sync_async": "sync",
60
+ "max_in_queue": 1000,
61
+ "concurrent_max": 1,
62
+ "expire_timeout": 0,
63
+ "avg_runtime": 200,
64
+ "priorities": [
65
+ {
66
+ "value": 0,
67
+ "percent": 100
68
+ }
69
+ ]
70
+ },
71
+ "proxy": {
72
+ "enabled": false,
73
+ "host": "",
74
+ "port": 1,
75
+ "protocol": "http",
76
+ "username": "",
77
+ "password": ""
78
+ },
79
+ "ssl": {
80
+ "ecdhCurve": "",
81
+ "enabled": false,
82
+ "accept_invalid_cert": false,
83
+ "ca_file": "",
84
+ "key_file": "",
85
+ "cert_file": "",
86
+ "secure_protocol": "",
87
+ "ciphers": ""
88
+ },
89
+ "mongo": {
90
+ "host": "",
91
+ "port": 0,
92
+ "database": "",
93
+ "username": "",
94
+ "password": "",
95
+ "replSet": "",
96
+ "db_ssl": {
97
+ "enabled": false,
98
+ "accept_invalid_cert": false,
99
+ "ca_file": "",
100
+ "key_file": "",
101
+ "cert_file": ""
102
+ }
103
+ },
104
+ "devicebroker": {
105
+ "getDevice": [
106
+ {
107
+ "path": "/get/devices/{id}",
108
+ "method": "GET",
109
+ "query": {},
110
+ "body": {},
111
+ "headers": {},
112
+ "handleFailure": "ignore",
113
+ "requestFields": {
114
+ "id": "name"
115
+ },
116
+ "responseDatakey": "",
117
+ "responseFields": {
118
+ "name": "host",
119
+ "ostype": "os",
120
+ "ostypePrefix": "system-",
121
+ "ipaddress": "attributes.ipaddr",
122
+ "port": "443"
123
+ }
124
+ }
125
+ ],
126
+ "getDevicesFiltered": [
127
+ {
128
+ "path": "/get/devices",
129
+ "method": "GET",
130
+ "query": {},
131
+ "body": {},
132
+ "headers": {},
133
+ "handleFailure": "ignore",
134
+ "requestFields": {},
135
+ "responseDatakey": "",
136
+ "responseFields": {
137
+ "name": "host",
138
+ "ostype": "os",
139
+ "ostypePrefix": "system-",
140
+ "ipaddress": "attributes.ipaddr",
141
+ "port": "443"
142
+ }
143
+ }
144
+ ],
145
+ "isAlive": [
146
+ {
147
+ "path": "/get/devices/{id}/status",
148
+ "method": "GET",
149
+ "query": {},
150
+ "body": {},
151
+ "headers": {},
152
+ "handleFailure": "ignore",
153
+ "requestFields": {
154
+ "id": "name"
155
+ },
156
+ "responseDatakey": "",
157
+ "responseFields": {
158
+ "status": "status",
159
+ "statusValue": "online"
160
+ }
161
+ }
162
+ ],
163
+ "getConfig": [
164
+ {
165
+ "path": "/get/devices/{id}/configPart1",
166
+ "method": "GET",
167
+ "query": {},
168
+ "body": {},
169
+ "headers": {},
170
+ "handleFailure": "ignore",
171
+ "requestFields": {
172
+ "id": "name"
173
+ },
174
+ "responseDatakey": "",
175
+ "responseFields": {}
176
+ }
177
+ ],
178
+ "getCount": [
179
+ {
180
+ "path": "/get/devices",
181
+ "method": "GET",
182
+ "query": {},
183
+ "body": {},
184
+ "headers": {},
185
+ "handleFailure": "ignore",
186
+ "requestFields": {},
187
+ "responseDatakey": "",
188
+ "responseFields": {}
189
+ }
190
+ ]
191
+ }
192
+ },
193
+ "groups": [],
194
+ "brokers": [],
195
+ "logLevel": "none",
196
+ "timeout": 120000
197
+ }