@itentialopensource/adapter-meraki 0.7.3 → 0.8.2

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.
@@ -4,7 +4,7 @@
4
4
  "name": "getGenerics",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}?{query}",
7
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
@@ -25,7 +25,7 @@
25
25
  "name": "createGeneric",
26
26
  "protocol": "REST",
27
27
  "method": "POST",
28
- "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}?{query}",
28
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
@@ -46,7 +46,7 @@
46
46
  "name": "updateGeneric",
47
47
  "protocol": "REST",
48
48
  "method": "PUT",
49
- "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}?{query}",
49
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
@@ -67,7 +67,7 @@
67
67
  "name": "patchGeneric",
68
68
  "protocol": "REST",
69
69
  "method": "PATCH",
70
- "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}?{query}",
70
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
@@ -88,7 +88,7 @@
88
88
  "name": "deleteGeneric",
89
89
  "protocol": "REST",
90
90
  "method": "DELETE",
91
- "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}?{query}",
91
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
92
92
  "requestSchema": "schema.json",
93
93
  "responseSchema": "schema.json",
94
94
  "timeout": 0,
package/error.json CHANGED
@@ -96,6 +96,12 @@
96
96
  "displayString": "Invalid properties: $VARIABLE$",
97
97
  "recommendation": "Verify the properties for the adapter"
98
98
  },
99
+ {
100
+ "key": "Missing Properties",
101
+ "icode": "AD.306",
102
+ "displayString": "Property $VARIABLE$ is required",
103
+ "recommendation": "Please provide the required property"
104
+ },
99
105
  {
100
106
  "key": "Query Not Translated",
101
107
  "icode": "AD.310",
@@ -168,6 +174,12 @@
168
174
  "displayString": "Failure response received for $VARIABLE$",
169
175
  "recommendation": "Check the reason for failure in the stack trace"
170
176
  },
177
+ {
178
+ "key": "Suspended Adapter",
179
+ "icode": "AD.600",
180
+ "displayString": "Adapter is suspended",
181
+ "recommendation": "Check if external system is functional and unsuspend if appropriate"
182
+ },
171
183
  {
172
184
  "key": "Caught Exception",
173
185
  "icode": "AD.900",
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-meraki",
3
- "version": "0.7.3",
3
+ "version": "0.8.2",
4
4
  "description": "This adapter integrates with system described as: merakiDashboardApi.",
5
5
  "main": "adapter.js",
6
- "wizardVersion": "2.43.12",
7
- "engineVersion": "1.58.3",
6
+ "wizardVersion": "2.44.7",
7
+ "engineVersion": "1.61.2",
8
+ "adapterType": "http",
8
9
  "scripts": {
9
10
  "artifactize": "npm i && node utils/packModificationScript.js",
10
- "preinstall": "node utils/setup.js",
11
+ "preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
11
12
  "lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
12
13
  "lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
13
14
  "test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
@@ -15,7 +16,7 @@
15
16
  "test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
16
17
  "test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
17
18
  "test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
18
- "adapter:install": "node utils/tbScript.js install",
19
+ "adapter:install": "npm i && node utils/tbScript.js install",
19
20
  "adapter:checkMigrate": "node utils/checkMigrate.js",
20
21
  "adapter:findPath": "node utils/findPath.js",
21
22
  "adapter:migrate": "node utils/modify.js -m",
@@ -25,7 +26,7 @@
25
26
  "healthcheck": "node utils/tbScript.js healthcheck",
26
27
  "basicget": "node utils/tbScript.js basicget",
27
28
  "connectivity": "node utils/tbScript.js connectivity",
28
- "deploy": "npm publish --registry=http://registry.npmjs.org --access=public",
29
+ "deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
29
30
  "build": "npm run deploy"
30
31
  },
31
32
  "keywords": [
@@ -51,13 +52,14 @@
51
52
  "author": "Itential",
52
53
  "homepage": "https://gitlab.com/itentialopensource/adapters/sd-wan/adapter-meraki#readme",
53
54
  "dependencies": {
54
- "@itentialopensource/adapter-utils": "^4.39.1",
55
+ "@itentialopensource/adapter-utils": "^4.45.4",
55
56
  "ajv": "^6.12.0",
56
57
  "axios": "^0.21.0",
57
58
  "commander": "^2.20.0",
58
59
  "fs-extra": "^8.1.0",
59
- "mocha": "^8.1.1",
60
+ "mocha": "^9.0.1",
60
61
  "mocha-param": "^2.0.1",
62
+ "mongodb": "^4.1.0",
61
63
  "network-diagnostics": "^0.5.3",
62
64
  "nyc": "^15.1.0",
63
65
  "readline-sync": "^1.4.10",
@@ -65,13 +67,16 @@
65
67
  "winston": "^3.3.3"
66
68
  },
67
69
  "devDependencies": {
68
- "chai": "^4.2.0",
69
- "eslint": "^7.2.0",
70
- "eslint-config-airbnb-base": "^14.2.0",
71
- "eslint-plugin-import": "^2.21.2",
72
- "eslint-plugin-json": "^2.1.1",
70
+ "chai": "^4.3.4",
71
+ "eslint": "^7.29.0",
72
+ "eslint-config-airbnb-base": "^14.2.1",
73
+ "eslint-plugin-import": "^2.23.4",
74
+ "eslint-plugin-json": "^3.0.0",
73
75
  "package-json-validator": "^0.6.3",
74
76
  "testdouble": "^3.16.1"
75
77
  },
78
+ "resolutions": {
79
+ "minimist": "^1.2.5"
80
+ },
76
81
  "private": false
77
82
  }
package/pronghorn.json CHANGED
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "methods": [
11
11
  {
12
- "name": "updateAdapterConfiguration",
12
+ "name": "iapUpdateAdapterConfiguration",
13
13
  "summary": "Updates the adapter configuration",
14
14
  "description": "Updates the adapter configuration file with the provided changes",
15
15
  "input": [
@@ -78,27 +78,25 @@
78
78
  ],
79
79
  "route": {
80
80
  "verb": "POST",
81
- "path": "/updateAdapterConfiguration"
81
+ "path": "/iapUpdateAdapterConfiguration"
82
82
  },
83
83
  "task": true
84
84
  },
85
85
  {
86
- "name": "findPath",
86
+ "name": "iapFindAdapterPath",
87
87
  "summary": "Provides the ability to see if a particular API path is supported by the adapter",
88
88
  "description": "Provides the ability to see if a particular API path is supported by the adapter",
89
- "input": [
90
- {
91
- "name": "apiPath",
92
- "type": "string",
93
- "info": "The API Path you want to check - make sure to not include base path and version",
94
- "description": "The API Path you want to check - make sure to not include base path and version",
95
- "schema": {
96
- "title": "apiPath",
97
- "type": "string"
98
- },
99
- "required": true
100
- }
101
- ],
89
+ "input": [{
90
+ "name": "apiPath",
91
+ "type": "string",
92
+ "info": "The API Path you want to check - make sure to not include base path and version",
93
+ "description": "The API Path you want to check - make sure to not include base path and version",
94
+ "schema": {
95
+ "title": "apiPath",
96
+ "type": "string"
97
+ },
98
+ "required": true
99
+ }],
102
100
  "output": {
103
101
  "name": "result",
104
102
  "type": "object",
@@ -113,36 +111,30 @@
113
111
  ],
114
112
  "route": {
115
113
  "verb": "POST",
116
- "path": "/findPath"
114
+ "path": "/iapFindAdapterPath"
117
115
  },
118
116
  "task": true
119
117
  },
120
118
  {
121
- "name": "troubleshoot",
122
- "summary": "Runs troubleshoot script for adapter",
123
- "description": "Runs troubleshoot script for adapter",
124
- "input": [
125
- {
126
- "name": "props",
127
- "type": "object",
128
- "info": "Object containing configuration, healthcheck and auth properties {'connProps':{'host': 'api.service.com', 'base_path': '/', 'protocol': 'http', 'port': 443, 'version': 'v1'},'healthCheckEndpoint': '/healthcheck', 'auth': {'auth_method': 'no authentication', 'username': 'username', 'password': 'password'}}",
129
- "required": true,
130
- "schema": {
131
- "title": "props",
132
- "type": "object"
133
- }
119
+ "name": "iapSuspendAdapter",
120
+ "summary": "Suspends the adapter",
121
+ "description": "Suspends the adapter",
122
+ "input": [{
123
+ "name": "mode",
124
+ "type": "enum",
125
+ "enumerals": ["pause", "error"],
126
+ "info": "How incoming requests are handled. Defaults to 'pause'",
127
+ "description": "How incoming requests are handled. Defaults to 'pause'",
128
+ "schema": {
129
+ "title": "mode",
130
+ "type": "string"
134
131
  },
135
- {
136
- "name": "persistFlag",
137
- "type": "boolean",
138
- "info": "Whether the input properties should be saved",
139
- "required": true
140
- }
141
- ],
132
+ "required": false
133
+ }],
142
134
  "output": {
143
135
  "name": "result",
144
136
  "type": "object",
145
- "description": "A JSON Object containing the test results",
137
+ "description": "A JSON Object containing the adapter suspended status",
146
138
  "schema": {
147
139
  "title": "result",
148
140
  "type": "object"
@@ -153,38 +145,42 @@
153
145
  ],
154
146
  "route": {
155
147
  "verb": "POST",
156
- "path": "/troubleshoot"
148
+ "path": "/iapSuspendAdapter"
157
149
  },
158
150
  "task": true
159
151
  },
160
152
  {
161
- "name": "runHealthcheck",
162
- "summary": "Runs healthcheck script for adapter",
163
- "description": "Runs healthcheck script for adapter",
153
+ "name": "iapUnsuspendAdapter",
154
+ "summary": "Unsuspends the adapter",
155
+ "description": "Unsuspends the adapter",
164
156
  "input": [],
165
157
  "output": {
166
158
  "name": "result",
167
- "type": "boolean",
168
- "description": "Whether healthcheck passed or failed"
159
+ "type": "object",
160
+ "description": "A JSON Object containing the adapter suspended status",
161
+ "schema": {
162
+ "title": "result",
163
+ "type": "object"
164
+ }
169
165
  },
170
166
  "roles": [
171
167
  "admin"
172
168
  ],
173
169
  "route": {
174
170
  "verb": "POST",
175
- "path": "/runHealthcheck"
171
+ "path": "/iapUnsuspendAdapter"
176
172
  },
177
173
  "task": true
178
174
  },
179
175
  {
180
- "name": "runConnectivity",
181
- "summary": "Runs connectivity check script for adapter",
182
- "description": "Runs connectivity check script for adapter",
176
+ "name": "iapGetAdapterQueue",
177
+ "summary": "Return the requests that are waiting in the queue if throttling is enabled",
178
+ "description": "Return the requests that are waiting in the queue if throttling is enabled",
183
179
  "input": [],
184
180
  "output": {
185
181
  "name": "result",
186
182
  "type": "object",
187
- "description": "A JSON Object containing the test results",
183
+ "description": "A JSON Object containing the adapter queue",
188
184
  "schema": {
189
185
  "title": "result",
190
186
  "type": "object"
@@ -195,15 +191,32 @@
195
191
  ],
196
192
  "route": {
197
193
  "verb": "POST",
198
- "path": "/runConnectivity"
194
+ "path": "/iapGetAdapterQueue"
199
195
  },
200
196
  "task": true
201
197
  },
202
198
  {
203
- "name": "runBasicGet",
204
- "summary": "Runs basicGet script for adapter",
205
- "description": "Runs basicGet script for adapter",
206
- "input": [],
199
+ "name": "iapTroubleshootAdapter",
200
+ "summary": "Runs troubleshoot script for adapter",
201
+ "description": "Runs troubleshoot script for adapter",
202
+ "input": [
203
+ {
204
+ "name": "props",
205
+ "type": "object",
206
+ "info": "Object containing configuration, healthcheck and auth properties {'connProps':{'host': 'api.service.com', 'base_path': '/', 'protocol': 'http', 'port': 443, 'version': 'v1'},'healthCheckEndpoint': '/healthcheck', 'auth': {'auth_method': 'no authentication', 'username': 'username', 'password': 'password'}}",
207
+ "required": true,
208
+ "schema": {
209
+ "title": "props",
210
+ "type": "object"
211
+ }
212
+ },
213
+ {
214
+ "name": "persistFlag",
215
+ "type": "boolean",
216
+ "info": "Whether the input properties should be saved",
217
+ "required": true
218
+ }
219
+ ],
207
220
  "output": {
208
221
  "name": "result",
209
222
  "type": "object",
@@ -218,35 +231,38 @@
218
231
  ],
219
232
  "route": {
220
233
  "verb": "POST",
221
- "path": "/runBasicGet"
234
+ "path": "/iapTroubleshootAdapter"
222
235
  },
223
236
  "task": true
224
237
  },
225
238
  {
226
- "name": "suspend",
227
- "summary": "Suspends the adapter",
228
- "description": "Suspends the adapter",
229
- "input": [
230
- {
231
- "name": "mode",
232
- "type": "enum",
233
- "enumerals": [
234
- "pause",
235
- "error"
236
- ],
237
- "info": "How incoming requests are handled. Defaults to 'pause'",
238
- "description": "How incoming requests are handled. Defaults to 'pause'",
239
- "schema": {
240
- "title": "mode",
241
- "type": "string"
242
- },
243
- "required": false
244
- }
239
+ "name": "iapRunAdapterHealthcheck",
240
+ "summary": "Runs healthcheck script for adapter",
241
+ "description": "Runs healthcheck script for adapter",
242
+ "input": [],
243
+ "output": {
244
+ "name": "result",
245
+ "type": "boolean",
246
+ "description": "Whether healthcheck passed or failed"
247
+ },
248
+ "roles": [
249
+ "admin"
245
250
  ],
251
+ "route": {
252
+ "verb": "POST",
253
+ "path": "/iapRunAdapterHealthcheck"
254
+ },
255
+ "task": true
256
+ },
257
+ {
258
+ "name": "iapRunAdapterConnectivity",
259
+ "summary": "Runs connectivity check script for adapter",
260
+ "description": "Runs connectivity check script for adapter",
261
+ "input": [],
246
262
  "output": {
247
263
  "name": "result",
248
264
  "type": "object",
249
- "description": "A JSON Object containing the adapter suspended status",
265
+ "description": "A JSON Object containing the test results",
250
266
  "schema": {
251
267
  "title": "result",
252
268
  "type": "object"
@@ -257,19 +273,19 @@
257
273
  ],
258
274
  "route": {
259
275
  "verb": "POST",
260
- "path": "/suspend"
276
+ "path": "/iapRunAdapterConnectivity"
261
277
  },
262
278
  "task": true
263
279
  },
264
280
  {
265
- "name": "unsuspend",
266
- "summary": "Unsuspends the adapter",
267
- "description": "Unsuspends the adapter",
281
+ "name": "iapRunAdapterBasicGet",
282
+ "summary": "Runs basicGet script for adapter",
283
+ "description": "Runs basicGet script for adapter",
268
284
  "input": [],
269
285
  "output": {
270
286
  "name": "result",
271
287
  "type": "object",
272
- "description": "A JSON Object containing the adapter suspended status",
288
+ "description": "A JSON Object containing the test results",
273
289
  "schema": {
274
290
  "title": "result",
275
291
  "type": "object"
@@ -280,21 +296,21 @@
280
296
  ],
281
297
  "route": {
282
298
  "verb": "POST",
283
- "path": "/unsuspend"
299
+ "path": "/iapRunAdapterBasicGet"
284
300
  },
285
301
  "task": true
286
302
  },
287
303
  {
288
- "name": "getQueue",
289
- "summary": "Return the requests that are waiting in the queue if throttling is enabled",
290
- "description": "Return the requests that are waiting in the queue if throttling is enabled",
304
+ "name": "iapMoveAdapterEntitiesToDB",
305
+ "summary": "Moves entities from an adapter into the IAP database",
306
+ "description": "Moves entities from an adapter into the IAP database",
291
307
  "input": [],
292
308
  "output": {
293
- "name": "result",
309
+ "name": "res",
294
310
  "type": "object",
295
- "description": "A JSON Object containing the adapter queue",
311
+ "description": "A JSON Object containing status, code and the response from the mongo transaction",
296
312
  "schema": {
297
- "title": "result",
313
+ "title": "res",
298
314
  "type": "object"
299
315
  }
300
316
  },
@@ -303,7 +319,7 @@
303
319
  ],
304
320
  "route": {
305
321
  "verb": "POST",
306
- "path": "/getQueue"
322
+ "path": "/iapMoveAdapterEntitiesToDB"
307
323
  },
308
324
  "task": true
309
325
  },
@@ -386,6 +402,175 @@
386
402
  },
387
403
  "task": true
388
404
  },
405
+ {
406
+ "name": "getDevice",
407
+ "summary": "Get the Appliance",
408
+ "description": "Get the Appliance",
409
+ "input": [
410
+ {
411
+ "name": "deviceName",
412
+ "type": "string",
413
+ "info": "An Appliance Device Name",
414
+ "required": true,
415
+ "schema": {
416
+ "title": "deviceName",
417
+ "type": "string"
418
+ }
419
+ }
420
+ ],
421
+ "output": {
422
+ "name": "result",
423
+ "type": "object",
424
+ "description": "A JSON Object containing status, code and the result",
425
+ "schema": {
426
+ "title": "result",
427
+ "type": "object"
428
+ }
429
+ },
430
+ "roles": [
431
+ "admin"
432
+ ],
433
+ "route": {
434
+ "verb": "POST",
435
+ "path": "/getDevice"
436
+ },
437
+ "task": false
438
+ },
439
+ {
440
+ "name": "getDevicesFiltered",
441
+ "summary": "Get Appliances that match the filter",
442
+ "description": "Get Appliances that match the filter",
443
+ "input": [
444
+ {
445
+ "name": "options",
446
+ "type": "object",
447
+ "info": "options - e.g. { 'start': 1, 'limit': 20, 'filter': { 'name': 'abc123' } }",
448
+ "required": true,
449
+ "schema": {
450
+ "title": "options",
451
+ "type": "object"
452
+ }
453
+ }
454
+ ],
455
+ "output": {
456
+ "name": "result",
457
+ "type": "array",
458
+ "description": "A JSON Object containing status, code and the result",
459
+ "schema": {
460
+ "title": "result",
461
+ "type": "array"
462
+ }
463
+ },
464
+ "roles": [
465
+ "admin"
466
+ ],
467
+ "route": {
468
+ "verb": "POST",
469
+ "path": "/getDevicesFiltered"
470
+ },
471
+ "task": false
472
+ },
473
+ {
474
+ "name": "isAlive",
475
+ "summary": "Checks the status for the provided Appliance",
476
+ "description": "Checks the status for the provided Appliance",
477
+ "input": [
478
+ {
479
+ "name": "deviceName",
480
+ "type": "string",
481
+ "info": "An Appliance Device Name",
482
+ "required": true,
483
+ "schema": {
484
+ "title": "deviceName",
485
+ "type": "string"
486
+ }
487
+ }
488
+ ],
489
+ "output": {
490
+ "name": "result",
491
+ "type": "boolean",
492
+ "description": "A JSON Object containing status, code and the result",
493
+ "schema": {
494
+ "title": "result",
495
+ "type": "boolean"
496
+ }
497
+ },
498
+ "roles": [
499
+ "admin"
500
+ ],
501
+ "route": {
502
+ "verb": "POST",
503
+ "path": "/isAlive"
504
+ },
505
+ "task": false
506
+ },
507
+ {
508
+ "name": "getConfig",
509
+ "summary": "Gets a config for the provided Appliance",
510
+ "description": "Gets a config for the provided Appliance",
511
+ "input": [
512
+ {
513
+ "name": "deviceName",
514
+ "type": "string",
515
+ "info": "An Appliance Device Name",
516
+ "required": true,
517
+ "schema": {
518
+ "title": "deviceName",
519
+ "type": "string"
520
+ }
521
+ },
522
+ {
523
+ "name": "format",
524
+ "type": "string",
525
+ "info": "The format to be returned - this is ignored as we always return json",
526
+ "required": false,
527
+ "schema": {
528
+ "title": "format",
529
+ "type": "string"
530
+ }
531
+ }
532
+ ],
533
+ "output": {
534
+ "name": "result",
535
+ "type": "object",
536
+ "description": "A JSON Object containing status, code and the result",
537
+ "schema": {
538
+ "title": "result",
539
+ "type": "object"
540
+ }
541
+ },
542
+ "roles": [
543
+ "admin"
544
+ ],
545
+ "route": {
546
+ "verb": "POST",
547
+ "path": "/getConfig"
548
+ },
549
+ "task": false
550
+ },
551
+ {
552
+ "name": "iapGetDeviceCount",
553
+ "summary": "Gets a device count from the system",
554
+ "description": "Gets a device count from the system",
555
+ "input": [],
556
+ "output": {
557
+ "name": "result",
558
+ "type": "object",
559
+ "description": "A JSON Object containing status, code and the result",
560
+ "schema": {
561
+ "title": "result",
562
+ "type": "object"
563
+ }
564
+ },
565
+ "roles": [
566
+ "admin"
567
+ ],
568
+ "route": {
569
+ "verb": "POST",
570
+ "path": "/iapGetDeviceCount"
571
+ },
572
+ "task": false
573
+ },
389
574
  {
390
575
  "name": "createOrganizationActionBatch",
391
576
  "summary": "Create an action batch",
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "type": "encryption",
4
+ "pointer": "/authentication/password"
5
+ },
6
+ {
7
+ "type": "encryption",
8
+ "pointer": "/authentication/token"
9
+ },
10
+ {
11
+ "type": "encryption",
12
+ "pointer": "/mongo/password"
13
+ }
14
+ ]