@itentialopensource/adapter-viptela 0.7.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.
Files changed (42) hide show
  1. package/.eslintignore +1 -0
  2. package/CHANGELOG.md +32 -0
  3. package/README.md +182 -24
  4. package/adapter.js +7374 -666
  5. package/adapterBase.js +285 -7
  6. package/entities/.generic/action.json +109 -0
  7. package/entities/.generic/schema.json +23 -0
  8. package/entities/.system/action.json +5 -4
  9. package/entities/.system/schemaTokenReq.json +2 -2
  10. package/entities/.system/schemaTokenResp.json +12 -0
  11. package/entities/MonitoringDeviceDetails/action.json +4 -2
  12. package/entities/Statistic/action.json +24 -0
  13. package/entities/Statistic/schema.json +19 -0
  14. package/entities/System/action.json +311 -0
  15. package/entities/System/schema.json +33 -0
  16. package/entities/Template/action.json +1417 -1
  17. package/entities/Template/schema.json +71 -2
  18. package/error.json +6 -0
  19. package/package.json +40 -19
  20. package/pronghorn.json +3509 -560
  21. package/propertiesSchema.json +51 -4
  22. package/refs?service=git-upload-pack +0 -0
  23. package/report/updateReport1612559221344.json +95 -0
  24. package/report/updateReport1642735010496.json +95 -0
  25. package/sampleProperties.json +21 -5
  26. package/test/integration/adapterTestBasicGet.js +85 -0
  27. package/test/integration/adapterTestConnectivity.js +93 -0
  28. package/test/integration/adapterTestIntegration.js +1690 -7
  29. package/test/unit/adapterBaseTestUnit.js +944 -0
  30. package/test/unit/adapterTestUnit.js +2007 -12
  31. package/utils/addAuth.js +94 -0
  32. package/utils/basicGet.js +50 -0
  33. package/utils/checkMigrate.js +63 -0
  34. package/utils/entitiesToDB.js +224 -0
  35. package/utils/findPath.js +74 -0
  36. package/utils/modify.js +154 -0
  37. package/utils/packModificationScript.js +1 -1
  38. package/utils/patches2bundledDeps.js +90 -0
  39. package/utils/removeHooks.js +20 -0
  40. package/utils/tbScript.js +169 -0
  41. package/utils/tbUtils.js +451 -0
  42. package/utils/troubleshootingAdapter.js +190 -0
@@ -1,5 +1,26 @@
1
1
  {
2
2
  "actions": [
3
+ {
4
+ "name": "getVsmartPolicyList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/template/policy/vsmart?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
3
24
  {
4
25
  "name": "activateVsmartPolicy",
5
26
  "protocol": "REST",
@@ -8,7 +29,7 @@
8
29
  "requestSchema": "schema.json",
9
30
  "responseSchema": "schema.json",
10
31
  "timeout": 0,
11
- "sendEmpty": false,
32
+ "sendEmpty": true,
12
33
  "sendGetBody": false,
13
34
  "requestDatatype": "JSON",
14
35
  "responseDatatype": "JSON",
@@ -41,6 +62,1401 @@
41
62
  "mockFile": ""
42
63
  }
43
64
  ]
65
+ },
66
+ {
67
+ "name": "generateDeviceTemplateInput",
68
+ "protocol": "REST",
69
+ "method": "POST",
70
+ "entitypath": "{base_path}/{version}/template/device/config/input?{query}",
71
+ "requestSchema": "schema.json",
72
+ "responseSchema": "schema.json",
73
+ "timeout": 0,
74
+ "sendEmpty": true,
75
+ "sendGetBody": false,
76
+ "requestDatatype": "JSON",
77
+ "responseDatatype": "JSON",
78
+ "headers": {},
79
+ "responseObjects": [
80
+ {
81
+ "type": "default",
82
+ "key": "",
83
+ "mockFile": ""
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "name": "previewDeviceTemplateConfiguration",
89
+ "protocol": "REST",
90
+ "method": "POST",
91
+ "entitypath": "{base_path}/{version}/template/device/config/config?{query}",
92
+ "requestSchema": "schema.json",
93
+ "responseSchema": "schema.json",
94
+ "timeout": 0,
95
+ "sendEmpty": true,
96
+ "sendGetBody": false,
97
+ "requestDatatype": "JSON",
98
+ "responseDatatype": "JSON",
99
+ "headers": {},
100
+ "responseObjects": [
101
+ {
102
+ "type": "default",
103
+ "key": "",
104
+ "mockFile": ""
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "name": "attachDeviceTemplateCli",
110
+ "protocol": "REST",
111
+ "method": "POST",
112
+ "entitypath": "{base_path}/{version}/template/device/config/attachcli?{query}",
113
+ "requestSchema": "schema.json",
114
+ "responseSchema": "schema.json",
115
+ "timeout": 0,
116
+ "sendEmpty": true,
117
+ "sendGetBody": false,
118
+ "requestDatatype": "JSON",
119
+ "responseDatatype": "JSON",
120
+ "headers": {},
121
+ "responseObjects": [
122
+ {
123
+ "type": "default",
124
+ "key": "",
125
+ "mockFile": ""
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "name": "attachDeviceTemplateFeature",
131
+ "protocol": "REST",
132
+ "method": "POST",
133
+ "entitypath": "{base_path}/{version}/template/device/config/attachfeature?{query}",
134
+ "requestSchema": "schema.json",
135
+ "responseSchema": "schema.json",
136
+ "timeout": 0,
137
+ "sendEmpty": true,
138
+ "sendGetBody": false,
139
+ "requestDatatype": "JSON",
140
+ "responseDatatype": "JSON",
141
+ "headers": {},
142
+ "responseObjects": [
143
+ {
144
+ "type": "default",
145
+ "key": "",
146
+ "mockFile": ""
147
+ }
148
+ ]
149
+ },
150
+ {
151
+ "name": "detachDeviceTemplateCli",
152
+ "protocol": "REST",
153
+ "method": "POST",
154
+ "entitypath": "{base_path}/{version}/template/config/device/mode/cli?{query}",
155
+ "requestSchema": "schema.json",
156
+ "responseSchema": "schema.json",
157
+ "timeout": 0,
158
+ "sendEmpty": true,
159
+ "sendGetBody": false,
160
+ "requestDatatype": "JSON",
161
+ "responseDatatype": "JSON",
162
+ "headers": {},
163
+ "responseObjects": [
164
+ {
165
+ "type": "default",
166
+ "key": "",
167
+ "mockFile": ""
168
+ }
169
+ ]
170
+ },
171
+ {
172
+ "name": "getDeviceList",
173
+ "protocol": "REST",
174
+ "method": "GET",
175
+ "entitypath": "{base_path}/{version}/template/device/config/available/{pathv1}?{query}",
176
+ "requestSchema": "schema.json",
177
+ "responseSchema": "schema.json",
178
+ "timeout": 0,
179
+ "sendEmpty": false,
180
+ "sendGetBody": false,
181
+ "requestDatatype": "JSON",
182
+ "responseDatatype": "JSON",
183
+ "headers": {},
184
+ "responseObjects": [
185
+ {
186
+ "type": "default",
187
+ "key": "",
188
+ "mockFile": ""
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "name": "pushMixTemplate",
194
+ "protocol": "REST",
195
+ "method": "POST",
196
+ "entitypath": "{base_path}/{version}/template/device/config/attachment?{query}",
197
+ "requestSchema": "schema.json",
198
+ "responseSchema": "schema.json",
199
+ "timeout": 0,
200
+ "sendEmpty": false,
201
+ "requestDatatype": "PLAIN",
202
+ "responseDatatype": "JSON",
203
+ "headers": {},
204
+ "responseObjects": [
205
+ {
206
+ "type": "default",
207
+ "key": "",
208
+ "mockFile": ""
209
+ }
210
+ ]
211
+ },
212
+ {
213
+ "name": "getAttachedConfigToDevice",
214
+ "protocol": "REST",
215
+ "method": "GET",
216
+ "entitypath": "{base_path}/{version}/template/device/config/attachedconfig?{query}",
217
+ "requestSchema": "schema.json",
218
+ "responseSchema": "schema.json",
219
+ "timeout": 0,
220
+ "sendEmpty": false,
221
+ "sendGetBody": false,
222
+ "requestDatatype": "JSON",
223
+ "responseDatatype": "JSON",
224
+ "headers": {},
225
+ "responseObjects": [
226
+ {
227
+ "type": "default",
228
+ "key": "",
229
+ "mockFile": ""
230
+ }
231
+ ]
232
+ },
233
+ {
234
+ "name": "pushMasterTemplate",
235
+ "protocol": "REST",
236
+ "method": "POST",
237
+ "entitypath": "{base_path}/{version}/template/device/config/attachfeature?{query}",
238
+ "requestSchema": "schema.json",
239
+ "responseSchema": "schema.json",
240
+ "timeout": 0,
241
+ "sendEmpty": false,
242
+ "requestDatatype": "PLAIN",
243
+ "responseDatatype": "JSON",
244
+ "headers": {},
245
+ "responseObjects": [
246
+ {
247
+ "type": "default",
248
+ "key": "",
249
+ "mockFile": ""
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ "name": "getAttachedDeviceList",
255
+ "protocol": "REST",
256
+ "method": "GET",
257
+ "entitypath": "{base_path}/{version}/template/device/config/attached/{pathv1}?{query}",
258
+ "requestSchema": "schema.json",
259
+ "responseSchema": "schema.json",
260
+ "timeout": 0,
261
+ "sendEmpty": false,
262
+ "sendGetBody": false,
263
+ "requestDatatype": "JSON",
264
+ "responseDatatype": "JSON",
265
+ "headers": {},
266
+ "responseObjects": [
267
+ {
268
+ "type": "default",
269
+ "key": "",
270
+ "mockFile": ""
271
+ }
272
+ ]
273
+ },
274
+ {
275
+ "name": "createInputWithoutDevice",
276
+ "protocol": "REST",
277
+ "method": "POST",
278
+ "entitypath": "{base_path}/{version}/template/device/config/exportcsv?{query}",
279
+ "requestSchema": "schema.json",
280
+ "responseSchema": "schema.json",
281
+ "timeout": 0,
282
+ "sendEmpty": false,
283
+ "requestDatatype": "PLAIN",
284
+ "responseDatatype": "JSON",
285
+ "headers": {},
286
+ "responseObjects": [
287
+ {
288
+ "type": "default",
289
+ "key": "",
290
+ "mockFile": ""
291
+ }
292
+ ]
293
+ },
294
+ {
295
+ "name": "getDeviceConfigurationPreview",
296
+ "protocol": "REST",
297
+ "method": "POST",
298
+ "entitypath": "{base_path}/{version}/template/device/config/config?{query}",
299
+ "requestSchema": "schema.json",
300
+ "responseSchema": "schema.json",
301
+ "timeout": 0,
302
+ "sendEmpty": false,
303
+ "requestDatatype": "PLAIN",
304
+ "responseDatatype": "JSON",
305
+ "headers": {},
306
+ "responseObjects": [
307
+ {
308
+ "type": "default",
309
+ "key": "",
310
+ "mockFile": ""
311
+ }
312
+ ]
313
+ },
314
+ {
315
+ "name": "processInputCommaSepFile",
316
+ "protocol": "REST",
317
+ "method": "POST",
318
+ "entitypath": "{base_path}/{version}/template/device/config/process/input/file?{query}",
319
+ "requestSchema": "schema.json",
320
+ "responseSchema": "schema.json",
321
+ "timeout": 0,
322
+ "sendEmpty": false,
323
+ "requestDatatype": "JSON",
324
+ "responseDatatype": "JSON",
325
+ "headers": {},
326
+ "responseObjects": [
327
+ {
328
+ "type": "default",
329
+ "key": "",
330
+ "mockFile": ""
331
+ }
332
+ ]
333
+ },
334
+ {
335
+ "name": "validateTemplate",
336
+ "protocol": "REST",
337
+ "method": "POST",
338
+ "entitypath": "{base_path}/{version}/template/device/config/verify?{query}",
339
+ "requestSchema": "schema.json",
340
+ "responseSchema": "schema.json",
341
+ "timeout": 0,
342
+ "sendEmpty": false,
343
+ "requestDatatype": "PLAIN",
344
+ "responseDatatype": "JSON",
345
+ "headers": {},
346
+ "responseObjects": [
347
+ {
348
+ "type": "default",
349
+ "key": "",
350
+ "mockFile": ""
351
+ }
352
+ ]
353
+ },
354
+ {
355
+ "name": "pushCloudxConfig",
356
+ "protocol": "REST",
357
+ "method": "POST",
358
+ "entitypath": "{base_path}/{version}/template/device/config/attachcloudx?{query}",
359
+ "requestSchema": "schema.json",
360
+ "responseSchema": "schema.json",
361
+ "timeout": 0,
362
+ "sendEmpty": false,
363
+ "requestDatatype": "PLAIN",
364
+ "responseDatatype": "JSON",
365
+ "headers": {},
366
+ "responseObjects": [
367
+ {
368
+ "type": "default",
369
+ "key": "",
370
+ "mockFile": ""
371
+ }
372
+ ]
373
+ },
374
+ {
375
+ "name": "editCloudxConfig",
376
+ "protocol": "REST",
377
+ "method": "PUT",
378
+ "entitypath": "{base_path}/{version}/template/device/config/attachcloudx?{query}",
379
+ "requestSchema": "schema.json",
380
+ "responseSchema": "schema.json",
381
+ "timeout": 0,
382
+ "sendEmpty": false,
383
+ "requestDatatype": "PLAIN",
384
+ "responseDatatype": "JSON",
385
+ "headers": {},
386
+ "responseObjects": [
387
+ {
388
+ "type": "default",
389
+ "key": "",
390
+ "mockFile": ""
391
+ }
392
+ ]
393
+ },
394
+ {
395
+ "name": "detachSites",
396
+ "protocol": "REST",
397
+ "method": "POST",
398
+ "entitypath": "{base_path}/{version}/template/device/config/detachcloudx?{query}",
399
+ "requestSchema": "schema.json",
400
+ "responseSchema": "schema.json",
401
+ "timeout": 0,
402
+ "sendEmpty": false,
403
+ "requestDatatype": "PLAIN",
404
+ "responseDatatype": "JSON",
405
+ "headers": {},
406
+ "responseObjects": [
407
+ {
408
+ "type": "default",
409
+ "key": "",
410
+ "mockFile": ""
411
+ }
412
+ ]
413
+ },
414
+ {
415
+ "name": "getDevicesWithDuplicateIP",
416
+ "protocol": "REST",
417
+ "method": "POST",
418
+ "entitypath": "{base_path}/{version}/template/device/config/duplicateip?{query}",
419
+ "requestSchema": "schema.json",
420
+ "responseSchema": "schema.json",
421
+ "timeout": 0,
422
+ "sendEmpty": false,
423
+ "requestDatatype": "PLAIN",
424
+ "responseDatatype": "JSON",
425
+ "headers": {},
426
+ "responseObjects": [
427
+ {
428
+ "type": "default",
429
+ "key": "",
430
+ "mockFile": ""
431
+ }
432
+ ]
433
+ },
434
+ {
435
+ "name": "pushCLITemplate",
436
+ "protocol": "REST",
437
+ "method": "POST",
438
+ "entitypath": "{base_path}/{version}/template/device/config/attachcli?{query}",
439
+ "requestSchema": "schema.json",
440
+ "responseSchema": "schema.json",
441
+ "timeout": 0,
442
+ "sendEmpty": false,
443
+ "requestDatatype": "PLAIN",
444
+ "responseDatatype": "JSON",
445
+ "headers": {},
446
+ "responseObjects": [
447
+ {
448
+ "type": "default",
449
+ "key": "",
450
+ "mockFile": ""
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ "name": "detachDeviceTemplate",
456
+ "protocol": "REST",
457
+ "method": "POST",
458
+ "entitypath": "{base_path}/{version}/template/device/config/detach?{query}",
459
+ "requestSchema": "schema.json",
460
+ "responseSchema": "schema.json",
461
+ "timeout": 0,
462
+ "sendEmpty": false,
463
+ "requestDatatype": "PLAIN",
464
+ "responseDatatype": "JSON",
465
+ "headers": {},
466
+ "responseObjects": [
467
+ {
468
+ "type": "default",
469
+ "key": "",
470
+ "mockFile": ""
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "name": "createDeviceInput",
476
+ "protocol": "REST",
477
+ "method": "POST",
478
+ "entitypath": "{base_path}/{version}/template/device/config/input?{query}",
479
+ "requestSchema": "schema.json",
480
+ "responseSchema": "schema.json",
481
+ "timeout": 0,
482
+ "sendEmpty": false,
483
+ "requestDatatype": "PLAIN",
484
+ "responseDatatype": "JSON",
485
+ "headers": {},
486
+ "responseObjects": [
487
+ {
488
+ "type": "default",
489
+ "key": "",
490
+ "mockFile": ""
491
+ }
492
+ ]
493
+ },
494
+ {
495
+ "name": "checkVbond",
496
+ "protocol": "REST",
497
+ "method": "GET",
498
+ "entitypath": "{base_path}/{version}/template/device/config/vbond?{query}",
499
+ "requestSchema": "schema.json",
500
+ "responseSchema": "schema.json",
501
+ "timeout": 0,
502
+ "sendEmpty": false,
503
+ "sendGetBody": false,
504
+ "requestDatatype": "JSON",
505
+ "responseDatatype": "JSON",
506
+ "headers": {},
507
+ "responseObjects": [
508
+ {
509
+ "type": "default",
510
+ "key": "",
511
+ "mockFile": ""
512
+ }
513
+ ]
514
+ },
515
+ {
516
+ "name": "generateTemplateList",
517
+ "protocol": "REST",
518
+ "method": "GET",
519
+ "entitypath": "{base_path}/{version}/template/feature?{query}",
520
+ "requestSchema": "schema.json",
521
+ "responseSchema": "schema.json",
522
+ "timeout": 0,
523
+ "sendEmpty": false,
524
+ "sendGetBody": false,
525
+ "requestDatatype": "JSON",
526
+ "responseDatatype": "JSON",
527
+ "headers": {},
528
+ "responseObjects": [
529
+ {
530
+ "type": "default",
531
+ "key": "",
532
+ "mockFile": ""
533
+ }
534
+ ]
535
+ },
536
+ {
537
+ "name": "createTemplate",
538
+ "protocol": "REST",
539
+ "method": "POST",
540
+ "entitypath": "{base_path}/{version}/template/feature?{query}",
541
+ "requestSchema": "schema.json",
542
+ "responseSchema": "schema.json",
543
+ "timeout": 0,
544
+ "sendEmpty": false,
545
+ "requestDatatype": "PLAIN",
546
+ "responseDatatype": "JSON",
547
+ "headers": {},
548
+ "responseObjects": [
549
+ {
550
+ "type": "default",
551
+ "key": "",
552
+ "mockFile": ""
553
+ }
554
+ ]
555
+ },
556
+ {
557
+ "name": "getTemplate",
558
+ "protocol": "REST",
559
+ "method": "GET",
560
+ "entitypath": "{base_path}/{version}/template/feature/object/{pathv1}?{query}",
561
+ "requestSchema": "schema.json",
562
+ "responseSchema": "schema.json",
563
+ "timeout": 0,
564
+ "sendEmpty": false,
565
+ "sendGetBody": false,
566
+ "requestDatatype": "JSON",
567
+ "responseDatatype": "JSON",
568
+ "headers": {},
569
+ "responseObjects": [
570
+ {
571
+ "type": "default",
572
+ "key": "",
573
+ "mockFile": ""
574
+ }
575
+ ]
576
+ },
577
+ {
578
+ "name": "editTemplate",
579
+ "protocol": "REST",
580
+ "method": "PUT",
581
+ "entitypath": "{base_path}/{version}/template/feature/{pathv1}?{query}",
582
+ "requestSchema": "schema.json",
583
+ "responseSchema": "schema.json",
584
+ "timeout": 0,
585
+ "sendEmpty": false,
586
+ "requestDatatype": "PLAIN",
587
+ "responseDatatype": "JSON",
588
+ "headers": {},
589
+ "responseObjects": [
590
+ {
591
+ "type": "default",
592
+ "key": "",
593
+ "mockFile": ""
594
+ }
595
+ ]
596
+ },
597
+ {
598
+ "name": "deleteTemplate",
599
+ "protocol": "REST",
600
+ "method": "DELETE",
601
+ "entitypath": "{base_path}/{version}/template/feature/{pathv1}?{query}",
602
+ "requestSchema": "schema.json",
603
+ "responseSchema": "schema.json",
604
+ "timeout": 0,
605
+ "sendEmpty": false,
606
+ "requestDatatype": "JSON",
607
+ "responseDatatype": "JSON",
608
+ "headers": {},
609
+ "responseObjects": [
610
+ {
611
+ "type": "default",
612
+ "key": "",
613
+ "mockFile": ""
614
+ }
615
+ ]
616
+ },
617
+ {
618
+ "name": "editLITemplate",
619
+ "protocol": "REST",
620
+ "method": "PUT",
621
+ "entitypath": "{base_path}/{version}/template/feature/li/{pathv1}?{query}",
622
+ "requestSchema": "schema.json",
623
+ "responseSchema": "schema.json",
624
+ "timeout": 0,
625
+ "sendEmpty": false,
626
+ "requestDatatype": "PLAIN",
627
+ "responseDatatype": "JSON",
628
+ "headers": {},
629
+ "responseObjects": [
630
+ {
631
+ "type": "default",
632
+ "key": "",
633
+ "mockFile": ""
634
+ }
635
+ ]
636
+ },
637
+ {
638
+ "name": "createLITemplate",
639
+ "protocol": "REST",
640
+ "method": "POST",
641
+ "entitypath": "{base_path}/{version}/template/feature/li?{query}",
642
+ "requestSchema": "schema.json",
643
+ "responseSchema": "schema.json",
644
+ "timeout": 0,
645
+ "sendEmpty": false,
646
+ "requestDatatype": "PLAIN",
647
+ "responseDatatype": "JSON",
648
+ "headers": {},
649
+ "responseObjects": [
650
+ {
651
+ "type": "default",
652
+ "key": "",
653
+ "mockFile": ""
654
+ }
655
+ ]
656
+ },
657
+ {
658
+ "name": "listLITemplate",
659
+ "protocol": "REST",
660
+ "method": "GET",
661
+ "entitypath": "{base_path}/{version}/template/feature/li?{query}",
662
+ "requestSchema": "schema.json",
663
+ "responseSchema": "schema.json",
664
+ "timeout": 0,
665
+ "sendEmpty": false,
666
+ "sendGetBody": false,
667
+ "requestDatatype": "JSON",
668
+ "responseDatatype": "JSON",
669
+ "headers": {},
670
+ "responseObjects": [
671
+ {
672
+ "type": "default",
673
+ "key": "",
674
+ "mockFile": ""
675
+ }
676
+ ]
677
+ },
678
+ {
679
+ "name": "generateTemplateByDeviceType",
680
+ "protocol": "REST",
681
+ "method": "GET",
682
+ "entitypath": "{base_path}/{version}/template/feature/{pathv1}?{query}",
683
+ "requestSchema": "schema.json",
684
+ "responseSchema": "schema.json",
685
+ "timeout": 0,
686
+ "sendEmpty": false,
687
+ "sendGetBody": false,
688
+ "requestDatatype": "JSON",
689
+ "responseDatatype": "JSON",
690
+ "headers": {},
691
+ "responseObjects": [
692
+ {
693
+ "type": "default",
694
+ "key": "",
695
+ "mockFile": ""
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "name": "getTemplateDefinition",
701
+ "protocol": "REST",
702
+ "method": "GET",
703
+ "entitypath": "{base_path}/{version}/template/feature/definition/{pathv1}?{query}",
704
+ "requestSchema": "schema.json",
705
+ "responseSchema": "schema.json",
706
+ "timeout": 0,
707
+ "sendEmpty": false,
708
+ "sendGetBody": false,
709
+ "requestDatatype": "JSON",
710
+ "responseDatatype": "JSON",
711
+ "headers": {},
712
+ "responseObjects": [
713
+ {
714
+ "type": "default",
715
+ "key": "",
716
+ "mockFile": ""
717
+ }
718
+ ]
719
+ },
720
+ {
721
+ "name": "generateTemplateTypes",
722
+ "protocol": "REST",
723
+ "method": "GET",
724
+ "entitypath": "{base_path}/{version}/template/feature/types?{query}",
725
+ "requestSchema": "schema.json",
726
+ "responseSchema": "schema.json",
727
+ "timeout": 0,
728
+ "sendEmpty": false,
729
+ "sendGetBody": false,
730
+ "requestDatatype": "JSON",
731
+ "responseDatatype": "JSON",
732
+ "headers": {},
733
+ "responseObjects": [
734
+ {
735
+ "type": "default",
736
+ "key": "",
737
+ "mockFile": ""
738
+ }
739
+ ]
740
+ },
741
+ {
742
+ "name": "generateTemplateTypeDefinition",
743
+ "protocol": "REST",
744
+ "method": "GET",
745
+ "entitypath": "{base_path}/{version}/template/feature/types/definition/{pathv1}/{pathv2}?{query}",
746
+ "requestSchema": "schema.json",
747
+ "responseSchema": "schema.json",
748
+ "timeout": 0,
749
+ "sendEmpty": false,
750
+ "sendGetBody": false,
751
+ "requestDatatype": "JSON",
752
+ "responseDatatype": "JSON",
753
+ "headers": {},
754
+ "responseObjects": [
755
+ {
756
+ "type": "default",
757
+ "key": "",
758
+ "mockFile": ""
759
+ }
760
+ ]
761
+ },
762
+ {
763
+ "name": "generateMasterTemplateDefinition",
764
+ "protocol": "REST",
765
+ "method": "GET",
766
+ "entitypath": "{base_path}/{version}/template/feature/master/{pathv1}?{query}",
767
+ "requestSchema": "schema.json",
768
+ "responseSchema": "schema.json",
769
+ "timeout": 0,
770
+ "sendEmpty": false,
771
+ "sendGetBody": false,
772
+ "requestDatatype": "JSON",
773
+ "responseDatatype": "JSON",
774
+ "headers": {},
775
+ "responseObjects": [
776
+ {
777
+ "type": "default",
778
+ "key": "",
779
+ "mockFile": ""
780
+ }
781
+ ]
782
+ },
783
+ {
784
+ "name": "getDeviceTemplatesAttachedToFeature",
785
+ "protocol": "REST",
786
+ "method": "GET",
787
+ "entitypath": "{base_path}/{version}/template/feature/devicetemplates/{pathv1}?{query}",
788
+ "requestSchema": "schema.json",
789
+ "responseSchema": "schema.json",
790
+ "timeout": 0,
791
+ "sendEmpty": false,
792
+ "sendGetBody": false,
793
+ "requestDatatype": "JSON",
794
+ "responseDatatype": "JSON",
795
+ "headers": {},
796
+ "responseObjects": [
797
+ {
798
+ "type": "default",
799
+ "key": "",
800
+ "mockFile": ""
801
+ }
802
+ ]
803
+ },
804
+ {
805
+ "name": "getOutOfSyncTemplates",
806
+ "protocol": "REST",
807
+ "method": "GET",
808
+ "entitypath": "{base_path}/{version}/template/device/syncstatus?{query}",
809
+ "requestSchema": "schema.json",
810
+ "responseSchema": "schema.json",
811
+ "timeout": 0,
812
+ "sendEmpty": false,
813
+ "sendGetBody": false,
814
+ "requestDatatype": "JSON",
815
+ "responseDatatype": "JSON",
816
+ "headers": {},
817
+ "responseObjects": [
818
+ {
819
+ "type": "default",
820
+ "key": "",
821
+ "mockFile": ""
822
+ }
823
+ ]
824
+ },
825
+ {
826
+ "name": "getOutOfSyncDevices",
827
+ "protocol": "REST",
828
+ "method": "GET",
829
+ "entitypath": "{base_path}/{version}/template/device/syncstatus/{pathv1}?{query}",
830
+ "requestSchema": "schema.json",
831
+ "responseSchema": "schema.json",
832
+ "timeout": 0,
833
+ "sendEmpty": false,
834
+ "sendGetBody": false,
835
+ "requestDatatype": "JSON",
836
+ "responseDatatype": "JSON",
837
+ "headers": {},
838
+ "responseObjects": [
839
+ {
840
+ "type": "default",
841
+ "key": "",
842
+ "mockFile": ""
843
+ }
844
+ ]
845
+ },
846
+ {
847
+ "name": "createMasterTemplate",
848
+ "protocol": "REST",
849
+ "method": "POST",
850
+ "entitypath": "{base_path}/{version}/template/device/feature?{query}",
851
+ "requestSchema": "schema.json",
852
+ "responseSchema": "schema.json",
853
+ "timeout": 0,
854
+ "sendEmpty": false,
855
+ "requestDatatype": "PLAIN",
856
+ "responseDatatype": "JSON",
857
+ "headers": {},
858
+ "responseObjects": [
859
+ {
860
+ "type": "default",
861
+ "key": "",
862
+ "mockFile": ""
863
+ }
864
+ ]
865
+ },
866
+ {
867
+ "name": "createCLITemplate",
868
+ "protocol": "REST",
869
+ "method": "POST",
870
+ "entitypath": "{base_path}/{version}/template/device/cli?{query}",
871
+ "requestSchema": "schema.json",
872
+ "responseSchema": "schema.json",
873
+ "timeout": 0,
874
+ "sendEmpty": false,
875
+ "requestDatatype": "PLAIN",
876
+ "responseDatatype": "JSON",
877
+ "headers": {},
878
+ "responseObjects": [
879
+ {
880
+ "type": "default",
881
+ "key": "",
882
+ "mockFile": ""
883
+ }
884
+ ]
885
+ },
886
+ {
887
+ "name": "getMasterTemplateDefinition",
888
+ "protocol": "REST",
889
+ "method": "GET",
890
+ "entitypath": "{base_path}/{version}/template/device/object/{pathv1}?{query}",
891
+ "requestSchema": "schema.json",
892
+ "responseSchema": "schema.json",
893
+ "timeout": 0,
894
+ "sendEmpty": false,
895
+ "sendGetBody": false,
896
+ "requestDatatype": "JSON",
897
+ "responseDatatype": "JSON",
898
+ "headers": {},
899
+ "responseObjects": [
900
+ {
901
+ "type": "default",
902
+ "key": "",
903
+ "mockFile": ""
904
+ }
905
+ ]
906
+ },
907
+ {
908
+ "name": "generateTemplateList__v3",
909
+ "protocol": "REST",
910
+ "method": "GET",
911
+ "entitypath": "{base_path}/{version}/template/device?{query}",
912
+ "requestSchema": "schema.json",
913
+ "responseSchema": "schema.json",
914
+ "timeout": 0,
915
+ "sendEmpty": false,
916
+ "sendGetBody": false,
917
+ "requestDatatype": "JSON",
918
+ "responseDatatype": "JSON",
919
+ "headers": {},
920
+ "responseObjects": [
921
+ {
922
+ "type": "default",
923
+ "key": "",
924
+ "mockFile": ""
925
+ }
926
+ ]
927
+ },
928
+ {
929
+ "name": "editTemplate__v3",
930
+ "protocol": "REST",
931
+ "method": "PUT",
932
+ "entitypath": "{base_path}/{version}/template/device/{pathv1}?{query}",
933
+ "requestSchema": "schema.json",
934
+ "responseSchema": "schema.json",
935
+ "timeout": 0,
936
+ "sendEmpty": false,
937
+ "requestDatatype": "PLAIN",
938
+ "responseDatatype": "JSON",
939
+ "headers": {},
940
+ "responseObjects": [
941
+ {
942
+ "type": "default",
943
+ "key": "",
944
+ "mockFile": ""
945
+ }
946
+ ]
947
+ },
948
+ {
949
+ "name": "generateTemplateList__v4",
950
+ "protocol": "REST",
951
+ "method": "GET",
952
+ "entitypath": "{base_path}/{version}/template/device?{query}",
953
+ "requestSchema": "schema.json",
954
+ "responseSchema": "schema.json",
955
+ "timeout": 0,
956
+ "sendEmpty": false,
957
+ "sendGetBody": false,
958
+ "requestDatatype": "JSON",
959
+ "responseDatatype": "JSON",
960
+ "headers": {},
961
+ "responseObjects": [
962
+ {
963
+ "type": "default",
964
+ "key": "",
965
+ "mockFile": ""
966
+ }
967
+ ]
968
+ },
969
+ {
970
+ "name": "editTemplate__v4",
971
+ "protocol": "REST",
972
+ "method": "PUT",
973
+ "entitypath": "{base_path}/{version}/template/device/{pathv1}?{query}",
974
+ "requestSchema": "schema.json",
975
+ "responseSchema": "schema.json",
976
+ "timeout": 0,
977
+ "sendEmpty": false,
978
+ "requestDatatype": "PLAIN",
979
+ "responseDatatype": "JSON",
980
+ "headers": {},
981
+ "responseObjects": [
982
+ {
983
+ "type": "default",
984
+ "key": "",
985
+ "mockFile": ""
986
+ }
987
+ ]
988
+ },
989
+ {
990
+ "name": "getRunningConfig",
991
+ "protocol": "REST",
992
+ "method": "GET",
993
+ "entitypath": "{base_path}/{version}/template/config/running/{pathv1}?{query}",
994
+ "requestSchema": "schema.json",
995
+ "responseSchema": "schema.json",
996
+ "timeout": 0,
997
+ "sendEmpty": false,
998
+ "sendGetBody": false,
999
+ "requestDatatype": "JSON",
1000
+ "responseDatatype": "JSON",
1001
+ "headers": {},
1002
+ "responseObjects": [
1003
+ {
1004
+ "type": "default",
1005
+ "key": "",
1006
+ "mockFile": ""
1007
+ }
1008
+ ]
1009
+ },
1010
+ {
1011
+ "name": "uploadConfig",
1012
+ "protocol": "REST",
1013
+ "method": "PUT",
1014
+ "entitypath": "{base_path}/{version}/template/config/attach/{pathv1}?{query}",
1015
+ "requestSchema": "schema.json",
1016
+ "responseSchema": "schema.json",
1017
+ "timeout": 0,
1018
+ "sendEmpty": false,
1019
+ "requestDatatype": "PLAIN",
1020
+ "responseDatatype": "JSON",
1021
+ "headers": {},
1022
+ "responseObjects": [
1023
+ {
1024
+ "type": "default",
1025
+ "key": "",
1026
+ "mockFile": ""
1027
+ }
1028
+ ]
1029
+ },
1030
+ {
1031
+ "name": "getAttachedConfig",
1032
+ "protocol": "REST",
1033
+ "method": "GET",
1034
+ "entitypath": "{base_path}/{version}/template/config/attached/{pathv1}?{query}",
1035
+ "requestSchema": "schema.json",
1036
+ "responseSchema": "schema.json",
1037
+ "timeout": 0,
1038
+ "sendEmpty": false,
1039
+ "sendGetBody": false,
1040
+ "requestDatatype": "JSON",
1041
+ "responseDatatype": "JSON",
1042
+ "headers": {},
1043
+ "responseObjects": [
1044
+ {
1045
+ "type": "default",
1046
+ "key": "",
1047
+ "mockFile": ""
1048
+ }
1049
+ ]
1050
+ },
1051
+ {
1052
+ "name": "getConfigDiff",
1053
+ "protocol": "REST",
1054
+ "method": "GET",
1055
+ "entitypath": "{base_path}/{version}/template/config/diff/{pathv1}?{query}",
1056
+ "requestSchema": "schema.json",
1057
+ "responseSchema": "schema.json",
1058
+ "timeout": 0,
1059
+ "sendEmpty": false,
1060
+ "sendGetBody": false,
1061
+ "requestDatatype": "JSON",
1062
+ "responseDatatype": "JSON",
1063
+ "headers": {},
1064
+ "responseObjects": [
1065
+ {
1066
+ "type": "default",
1067
+ "key": "",
1068
+ "mockFile": ""
1069
+ }
1070
+ ]
1071
+ },
1072
+ {
1073
+ "name": "generateCLIModeDevices",
1074
+ "protocol": "REST",
1075
+ "method": "GET",
1076
+ "entitypath": "{base_path}/{version}/template/config/device/mode/cli?{query}",
1077
+ "requestSchema": "schema.json",
1078
+ "responseSchema": "schema.json",
1079
+ "timeout": 0,
1080
+ "sendEmpty": false,
1081
+ "sendGetBody": false,
1082
+ "requestDatatype": "JSON",
1083
+ "responseDatatype": "JSON",
1084
+ "headers": {},
1085
+ "responseObjects": [
1086
+ {
1087
+ "type": "default",
1088
+ "key": "",
1089
+ "mockFile": ""
1090
+ }
1091
+ ]
1092
+ },
1093
+ {
1094
+ "name": "updateDeviceToCLIMode",
1095
+ "protocol": "REST",
1096
+ "method": "POST",
1097
+ "entitypath": "{base_path}/{version}/template/config/device/mode/cli?{query}",
1098
+ "requestSchema": "schema.json",
1099
+ "responseSchema": "schema.json",
1100
+ "timeout": 0,
1101
+ "sendEmpty": false,
1102
+ "requestDatatype": "PLAIN",
1103
+ "responseDatatype": "JSON",
1104
+ "headers": {},
1105
+ "responseObjects": [
1106
+ {
1107
+ "type": "default",
1108
+ "key": "",
1109
+ "mockFile": ""
1110
+ }
1111
+ ]
1112
+ },
1113
+ {
1114
+ "name": "generatevManageModeDevices",
1115
+ "protocol": "REST",
1116
+ "method": "GET",
1117
+ "entitypath": "{base_path}/{version}/template/config/device/mode/vmanage?{query}",
1118
+ "requestSchema": "schema.json",
1119
+ "responseSchema": "schema.json",
1120
+ "timeout": 0,
1121
+ "sendEmpty": false,
1122
+ "sendGetBody": false,
1123
+ "requestDatatype": "JSON",
1124
+ "responseDatatype": "JSON",
1125
+ "headers": {},
1126
+ "responseObjects": [
1127
+ {
1128
+ "type": "default",
1129
+ "key": "",
1130
+ "mockFile": ""
1131
+ }
1132
+ ]
1133
+ },
1134
+ {
1135
+ "name": "getCompatibleDevices",
1136
+ "protocol": "REST",
1137
+ "method": "GET",
1138
+ "entitypath": "{base_path}/{version}/template/config/rmalist/{pathv1}?{query}",
1139
+ "requestSchema": "schema.json",
1140
+ "responseSchema": "schema.json",
1141
+ "timeout": 0,
1142
+ "sendEmpty": false,
1143
+ "sendGetBody": false,
1144
+ "requestDatatype": "JSON",
1145
+ "responseDatatype": "JSON",
1146
+ "headers": {},
1147
+ "responseObjects": [
1148
+ {
1149
+ "type": "default",
1150
+ "key": "",
1151
+ "mockFile": ""
1152
+ }
1153
+ ]
1154
+ },
1155
+ {
1156
+ "name": "getVpnForDevice",
1157
+ "protocol": "REST",
1158
+ "method": "GET",
1159
+ "entitypath": "{base_path}/{version}/template/config/vpn/{pathv1}?{query}",
1160
+ "requestSchema": "schema.json",
1161
+ "responseSchema": "schema.json",
1162
+ "timeout": 0,
1163
+ "sendEmpty": false,
1164
+ "sendGetBody": false,
1165
+ "requestDatatype": "JSON",
1166
+ "responseDatatype": "JSON",
1167
+ "headers": {},
1168
+ "responseObjects": [
1169
+ {
1170
+ "type": "default",
1171
+ "key": "",
1172
+ "mockFile": ""
1173
+ }
1174
+ ]
1175
+ },
1176
+ {
1177
+ "name": "rmaUpdate",
1178
+ "protocol": "REST",
1179
+ "method": "PUT",
1180
+ "entitypath": "{base_path}/{version}/template/config/rmaupdate?{query}",
1181
+ "requestSchema": "schema.json",
1182
+ "responseSchema": "schema.json",
1183
+ "timeout": 0,
1184
+ "sendEmpty": false,
1185
+ "requestDatatype": "PLAIN",
1186
+ "responseDatatype": "JSON",
1187
+ "headers": {},
1188
+ "responseObjects": [
1189
+ {
1190
+ "type": "default",
1191
+ "key": "",
1192
+ "mockFile": ""
1193
+ }
1194
+ ]
1195
+ },
1196
+ {
1197
+ "name": "deActivatePolicy",
1198
+ "protocol": "REST",
1199
+ "method": "POST",
1200
+ "entitypath": "{base_path}/{version}/template/policy/vsmart/deactivate/{pathv1}?{query}",
1201
+ "requestSchema": "schema.json",
1202
+ "responseSchema": "schema.json",
1203
+ "timeout": 0,
1204
+ "sendEmpty": false,
1205
+ "requestDatatype": "JSON",
1206
+ "responseDatatype": "JSON",
1207
+ "headers": {},
1208
+ "responseObjects": [
1209
+ {
1210
+ "type": "default",
1211
+ "key": "",
1212
+ "mockFile": ""
1213
+ }
1214
+ ]
1215
+ },
1216
+ {
1217
+ "name": "activatePolicy",
1218
+ "protocol": "REST",
1219
+ "method": "POST",
1220
+ "entitypath": "{base_path}/{version}/template/policy/vsmart/activate/{pathv1}?{query}",
1221
+ "requestSchema": "schema.json",
1222
+ "responseSchema": "schema.json",
1223
+ "timeout": 0,
1224
+ "sendEmpty": false,
1225
+ "requestDatatype": "PLAIN",
1226
+ "responseDatatype": "JSON",
1227
+ "headers": {},
1228
+ "responseObjects": [
1229
+ {
1230
+ "type": "default",
1231
+ "key": "",
1232
+ "mockFile": ""
1233
+ }
1234
+ ]
1235
+ },
1236
+ {
1237
+ "name": "checkVSmartConnectivityStatus",
1238
+ "protocol": "REST",
1239
+ "method": "GET",
1240
+ "entitypath": "{base_path}/{version}/template/policy/vsmart/connectivity/status?{query}",
1241
+ "requestSchema": "schema.json",
1242
+ "responseSchema": "schema.json",
1243
+ "timeout": 0,
1244
+ "sendEmpty": false,
1245
+ "sendGetBody": false,
1246
+ "requestDatatype": "JSON",
1247
+ "responseDatatype": "JSON",
1248
+ "headers": {},
1249
+ "responseObjects": [
1250
+ {
1251
+ "type": "default",
1252
+ "key": "",
1253
+ "mockFile": ""
1254
+ }
1255
+ ]
1256
+ },
1257
+ {
1258
+ "name": "generateTemplateList__v5",
1259
+ "protocol": "REST",
1260
+ "method": "GET",
1261
+ "entitypath": "{base_path}/{version}/template/policy/vsmart?{query}",
1262
+ "requestSchema": "schema.json",
1263
+ "responseSchema": "schema.json",
1264
+ "timeout": 0,
1265
+ "sendEmpty": false,
1266
+ "sendGetBody": false,
1267
+ "requestDatatype": "JSON",
1268
+ "responseDatatype": "JSON",
1269
+ "headers": {},
1270
+ "responseObjects": [
1271
+ {
1272
+ "type": "default",
1273
+ "key": "",
1274
+ "mockFile": ""
1275
+ }
1276
+ ]
1277
+ },
1278
+ {
1279
+ "name": "createTemplate__v3",
1280
+ "protocol": "REST",
1281
+ "method": "POST",
1282
+ "entitypath": "{base_path}/{version}/template/policy/vsmart?{query}",
1283
+ "requestSchema": "schema.json",
1284
+ "responseSchema": "schema.json",
1285
+ "timeout": 0,
1286
+ "sendEmpty": false,
1287
+ "requestDatatype": "PLAIN",
1288
+ "responseDatatype": "JSON",
1289
+ "headers": {},
1290
+ "responseObjects": [
1291
+ {
1292
+ "type": "default",
1293
+ "key": "",
1294
+ "mockFile": ""
1295
+ }
1296
+ ]
1297
+ },
1298
+ {
1299
+ "name": "getTemplate__v3",
1300
+ "protocol": "REST",
1301
+ "method": "GET",
1302
+ "entitypath": "{base_path}/{version}/template/policy/vsmart/definition/{pathv1}?{query}",
1303
+ "requestSchema": "schema.json",
1304
+ "responseSchema": "schema.json",
1305
+ "timeout": 0,
1306
+ "sendEmpty": false,
1307
+ "sendGetBody": false,
1308
+ "requestDatatype": "JSON",
1309
+ "responseDatatype": "JSON",
1310
+ "headers": {},
1311
+ "responseObjects": [
1312
+ {
1313
+ "type": "default",
1314
+ "key": "",
1315
+ "mockFile": ""
1316
+ }
1317
+ ]
1318
+ },
1319
+ {
1320
+ "name": "editTemplate__v5",
1321
+ "protocol": "REST",
1322
+ "method": "PUT",
1323
+ "entitypath": "{base_path}/{version}/template/policy/vsmart/{pathv1}?{query}",
1324
+ "requestSchema": "schema.json",
1325
+ "responseSchema": "schema.json",
1326
+ "timeout": 0,
1327
+ "sendEmpty": false,
1328
+ "requestDatatype": "PLAIN",
1329
+ "responseDatatype": "JSON",
1330
+ "headers": {},
1331
+ "responseObjects": [
1332
+ {
1333
+ "type": "default",
1334
+ "key": "",
1335
+ "mockFile": ""
1336
+ }
1337
+ ]
1338
+ },
1339
+ {
1340
+ "name": "deleteTemplate__v3",
1341
+ "protocol": "REST",
1342
+ "method": "DELETE",
1343
+ "entitypath": "{base_path}/{version}/template/policy/vsmart/{pathv1}?{query}",
1344
+ "requestSchema": "schema.json",
1345
+ "responseSchema": "schema.json",
1346
+ "timeout": 0,
1347
+ "sendEmpty": false,
1348
+ "requestDatatype": "JSON",
1349
+ "responseDatatype": "JSON",
1350
+ "headers": {},
1351
+ "responseObjects": [
1352
+ {
1353
+ "type": "default",
1354
+ "key": "",
1355
+ "mockFile": ""
1356
+ }
1357
+ ]
1358
+ },
1359
+ {
1360
+ "name": "generateTemplateList__v6",
1361
+ "protocol": "REST",
1362
+ "method": "GET",
1363
+ "entitypath": "{base_path}/{version}/template/policy/vsmart?{query}",
1364
+ "requestSchema": "schema.json",
1365
+ "responseSchema": "schema.json",
1366
+ "timeout": 0,
1367
+ "sendEmpty": false,
1368
+ "sendGetBody": false,
1369
+ "requestDatatype": "JSON",
1370
+ "responseDatatype": "JSON",
1371
+ "headers": {},
1372
+ "responseObjects": [
1373
+ {
1374
+ "type": "default",
1375
+ "key": "",
1376
+ "mockFile": ""
1377
+ }
1378
+ ]
1379
+ },
1380
+ {
1381
+ "name": "createTemplate__v4",
1382
+ "protocol": "REST",
1383
+ "method": "POST",
1384
+ "entitypath": "{base_path}/{version}/template/policy/vsmart?{query}",
1385
+ "requestSchema": "schema.json",
1386
+ "responseSchema": "schema.json",
1387
+ "timeout": 0,
1388
+ "sendEmpty": false,
1389
+ "requestDatatype": "PLAIN",
1390
+ "responseDatatype": "JSON",
1391
+ "headers": {},
1392
+ "responseObjects": [
1393
+ {
1394
+ "type": "default",
1395
+ "key": "",
1396
+ "mockFile": ""
1397
+ }
1398
+ ]
1399
+ },
1400
+ {
1401
+ "name": "getTemplate__v4",
1402
+ "protocol": "REST",
1403
+ "method": "GET",
1404
+ "entitypath": "{base_path}/{version}/template/policy/vsmart/definition/{pathv1}?{query}",
1405
+ "requestSchema": "schema.json",
1406
+ "responseSchema": "schema.json",
1407
+ "timeout": 0,
1408
+ "sendEmpty": false,
1409
+ "sendGetBody": false,
1410
+ "requestDatatype": "JSON",
1411
+ "responseDatatype": "JSON",
1412
+ "headers": {},
1413
+ "responseObjects": [
1414
+ {
1415
+ "type": "default",
1416
+ "key": "",
1417
+ "mockFile": ""
1418
+ }
1419
+ ]
1420
+ },
1421
+ {
1422
+ "name": "editTemplate__v6",
1423
+ "protocol": "REST",
1424
+ "method": "PUT",
1425
+ "entitypath": "{base_path}/{version}/template/policy/vsmart/{pathv1}?{query}",
1426
+ "requestSchema": "schema.json",
1427
+ "responseSchema": "schema.json",
1428
+ "timeout": 0,
1429
+ "sendEmpty": false,
1430
+ "requestDatatype": "PLAIN",
1431
+ "responseDatatype": "JSON",
1432
+ "headers": {},
1433
+ "responseObjects": [
1434
+ {
1435
+ "type": "default",
1436
+ "key": "",
1437
+ "mockFile": ""
1438
+ }
1439
+ ]
1440
+ },
1441
+ {
1442
+ "name": "deleteTemplate__v4",
1443
+ "protocol": "REST",
1444
+ "method": "DELETE",
1445
+ "entitypath": "{base_path}/{version}/template/policy/vsmart/{pathv1}?{query}",
1446
+ "requestSchema": "schema.json",
1447
+ "responseSchema": "schema.json",
1448
+ "timeout": 0,
1449
+ "sendEmpty": false,
1450
+ "requestDatatype": "JSON",
1451
+ "responseDatatype": "JSON",
1452
+ "headers": {},
1453
+ "responseObjects": [
1454
+ {
1455
+ "type": "default",
1456
+ "key": "",
1457
+ "mockFile": ""
1458
+ }
1459
+ ]
44
1460
  }
45
1461
  ]
46
1462
  }