@itentialopensource/adapter-netbox 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/adapter.js +815 -0
- package/entities/Dcim/action.json +182 -0
- package/entities/Dcim/mockdatafiles/getDcimLocations-default.json +688 -0
- package/entities/Dcim/schema.json +82 -19
- package/package.json +1 -1
- package/pronghorn.json +2642 -642
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +7 -7
- package/test/integration/adapterTestIntegration.js +253 -0
- package/test/unit/adapterTestUnit.js +261 -0
|
@@ -4197,6 +4197,188 @@
|
|
|
4197
4197
|
"mockFile": ""
|
|
4198
4198
|
}
|
|
4199
4199
|
]
|
|
4200
|
+
},
|
|
4201
|
+
{
|
|
4202
|
+
"name": "getDcimLocations",
|
|
4203
|
+
"protocol": "REST",
|
|
4204
|
+
"method": "GET",
|
|
4205
|
+
"entitypath": "{base_path}/{version}/dcim/locations/?{query}",
|
|
4206
|
+
"requestSchema": "schema.json",
|
|
4207
|
+
"responseSchema": "schema.json",
|
|
4208
|
+
"timeout": 0,
|
|
4209
|
+
"sendEmpty": false,
|
|
4210
|
+
"sendGetBody": false,
|
|
4211
|
+
"requestDatatype": "JSON",
|
|
4212
|
+
"responseDatatype": "JSON",
|
|
4213
|
+
"headers": {},
|
|
4214
|
+
"responseObjects": [
|
|
4215
|
+
{
|
|
4216
|
+
"type": "default",
|
|
4217
|
+
"key": "",
|
|
4218
|
+
"mockFile": "mockdatafiles/getDcimLocations-default.json"
|
|
4219
|
+
}
|
|
4220
|
+
]
|
|
4221
|
+
},
|
|
4222
|
+
{
|
|
4223
|
+
"name": "postDcimLocations",
|
|
4224
|
+
"protocol": "REST",
|
|
4225
|
+
"method": "POST",
|
|
4226
|
+
"entitypath": "{base_path}/{version}/dcim/locations/?{query}",
|
|
4227
|
+
"requestSchema": "schema.json",
|
|
4228
|
+
"responseSchema": "schema.json",
|
|
4229
|
+
"timeout": 0,
|
|
4230
|
+
"sendEmpty": false,
|
|
4231
|
+
"requestDatatype": "JSON",
|
|
4232
|
+
"responseDatatype": "JSON",
|
|
4233
|
+
"headers": {},
|
|
4234
|
+
"responseObjects": [
|
|
4235
|
+
{
|
|
4236
|
+
"type": "default",
|
|
4237
|
+
"key": "",
|
|
4238
|
+
"mockFile": ""
|
|
4239
|
+
}
|
|
4240
|
+
]
|
|
4241
|
+
},
|
|
4242
|
+
{
|
|
4243
|
+
"name": "putDcimLocations",
|
|
4244
|
+
"protocol": "REST",
|
|
4245
|
+
"method": "PUT",
|
|
4246
|
+
"entitypath": "{base_path}/{version}/dcim/locations/?{query}",
|
|
4247
|
+
"requestSchema": "schema.json",
|
|
4248
|
+
"responseSchema": "schema.json",
|
|
4249
|
+
"timeout": 0,
|
|
4250
|
+
"sendEmpty": false,
|
|
4251
|
+
"requestDatatype": "JSON",
|
|
4252
|
+
"responseDatatype": "JSON",
|
|
4253
|
+
"headers": {},
|
|
4254
|
+
"responseObjects": [
|
|
4255
|
+
{
|
|
4256
|
+
"type": "default",
|
|
4257
|
+
"key": "",
|
|
4258
|
+
"mockFile": ""
|
|
4259
|
+
}
|
|
4260
|
+
]
|
|
4261
|
+
},
|
|
4262
|
+
{
|
|
4263
|
+
"name": "patchDcimLocations",
|
|
4264
|
+
"protocol": "REST",
|
|
4265
|
+
"method": "PATCH",
|
|
4266
|
+
"entitypath": "{base_path}/{version}/dcim/locations/?{query}",
|
|
4267
|
+
"requestSchema": "schema.json",
|
|
4268
|
+
"responseSchema": "schema.json",
|
|
4269
|
+
"timeout": 0,
|
|
4270
|
+
"sendEmpty": false,
|
|
4271
|
+
"requestDatatype": "JSON",
|
|
4272
|
+
"responseDatatype": "JSON",
|
|
4273
|
+
"headers": {},
|
|
4274
|
+
"responseObjects": [
|
|
4275
|
+
{
|
|
4276
|
+
"type": "default",
|
|
4277
|
+
"key": "",
|
|
4278
|
+
"mockFile": ""
|
|
4279
|
+
}
|
|
4280
|
+
]
|
|
4281
|
+
},
|
|
4282
|
+
{
|
|
4283
|
+
"name": "deleteDcimLocations",
|
|
4284
|
+
"protocol": "REST",
|
|
4285
|
+
"method": "DELETE",
|
|
4286
|
+
"entitypath": "{base_path}/{version}/dcim/locations/?{query}",
|
|
4287
|
+
"requestSchema": "schema.json",
|
|
4288
|
+
"responseSchema": "schema.json",
|
|
4289
|
+
"timeout": 0,
|
|
4290
|
+
"sendEmpty": false,
|
|
4291
|
+
"requestDatatype": "JSON",
|
|
4292
|
+
"responseDatatype": "JSON",
|
|
4293
|
+
"headers": {},
|
|
4294
|
+
"responseObjects": [
|
|
4295
|
+
{
|
|
4296
|
+
"type": "default",
|
|
4297
|
+
"key": "",
|
|
4298
|
+
"mockFile": ""
|
|
4299
|
+
}
|
|
4300
|
+
]
|
|
4301
|
+
},
|
|
4302
|
+
{
|
|
4303
|
+
"name": "getDcimLocationsId",
|
|
4304
|
+
"protocol": "REST",
|
|
4305
|
+
"method": "GET",
|
|
4306
|
+
"entitypath": "{base_path}/{version}/dcim/locations/{pathv1}/?{query}",
|
|
4307
|
+
"requestSchema": "schema.json",
|
|
4308
|
+
"responseSchema": "schema.json",
|
|
4309
|
+
"timeout": 0,
|
|
4310
|
+
"sendEmpty": false,
|
|
4311
|
+
"sendGetBody": false,
|
|
4312
|
+
"requestDatatype": "JSON",
|
|
4313
|
+
"responseDatatype": "JSON",
|
|
4314
|
+
"headers": {},
|
|
4315
|
+
"responseObjects": [
|
|
4316
|
+
{
|
|
4317
|
+
"type": "default",
|
|
4318
|
+
"key": "",
|
|
4319
|
+
"mockFile": ""
|
|
4320
|
+
}
|
|
4321
|
+
]
|
|
4322
|
+
},
|
|
4323
|
+
{
|
|
4324
|
+
"name": "putDcimLocationsId",
|
|
4325
|
+
"protocol": "REST",
|
|
4326
|
+
"method": "PUT",
|
|
4327
|
+
"entitypath": "{base_path}/{version}/dcim/locations/{pathv1}/?{query}",
|
|
4328
|
+
"requestSchema": "schema.json",
|
|
4329
|
+
"responseSchema": "schema.json",
|
|
4330
|
+
"timeout": 0,
|
|
4331
|
+
"sendEmpty": false,
|
|
4332
|
+
"requestDatatype": "JSON",
|
|
4333
|
+
"responseDatatype": "JSON",
|
|
4334
|
+
"headers": {},
|
|
4335
|
+
"responseObjects": [
|
|
4336
|
+
{
|
|
4337
|
+
"type": "default",
|
|
4338
|
+
"key": "",
|
|
4339
|
+
"mockFile": ""
|
|
4340
|
+
}
|
|
4341
|
+
]
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"name": "patchDcimLocationsId",
|
|
4345
|
+
"protocol": "REST",
|
|
4346
|
+
"method": "PATCH",
|
|
4347
|
+
"entitypath": "{base_path}/{version}/dcim/locations/{pathv1}/?{query}",
|
|
4348
|
+
"requestSchema": "schema.json",
|
|
4349
|
+
"responseSchema": "schema.json",
|
|
4350
|
+
"timeout": 0,
|
|
4351
|
+
"sendEmpty": false,
|
|
4352
|
+
"requestDatatype": "JSON",
|
|
4353
|
+
"responseDatatype": "JSON",
|
|
4354
|
+
"headers": {},
|
|
4355
|
+
"responseObjects": [
|
|
4356
|
+
{
|
|
4357
|
+
"type": "default",
|
|
4358
|
+
"key": "",
|
|
4359
|
+
"mockFile": ""
|
|
4360
|
+
}
|
|
4361
|
+
]
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
"name": "deleteDcimLocationsId",
|
|
4365
|
+
"protocol": "REST",
|
|
4366
|
+
"method": "DELETE",
|
|
4367
|
+
"entitypath": "{base_path}/{version}/dcim/locations/{pathv1}/?{query}",
|
|
4368
|
+
"requestSchema": "schema.json",
|
|
4369
|
+
"responseSchema": "schema.json",
|
|
4370
|
+
"timeout": 0,
|
|
4371
|
+
"sendEmpty": false,
|
|
4372
|
+
"requestDatatype": "JSON",
|
|
4373
|
+
"responseDatatype": "JSON",
|
|
4374
|
+
"headers": {},
|
|
4375
|
+
"responseObjects": [
|
|
4376
|
+
{
|
|
4377
|
+
"type": "default",
|
|
4378
|
+
"key": "",
|
|
4379
|
+
"mockFile": ""
|
|
4380
|
+
}
|
|
4381
|
+
]
|
|
4200
4382
|
}
|
|
4201
4383
|
]
|
|
4202
4384
|
}
|