@itentialopensource/adapter-paragon_pathfinder 1.2.0 → 1.2.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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,20 @@
1
1
 
2
+ ## 1.2.2 [04-25-2023]
3
+
4
+ * Fix body and token schema
5
+
6
+ See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!6
7
+
8
+ ---
9
+
10
+ ## 1.2.1 [04-24-2023]
11
+
12
+ * Update system entity and sample properties
13
+
14
+ See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!5
15
+
16
+ ---
17
+
2
18
  ## 1.2.0 [04-22-2023]
3
19
 
4
20
  * Remove ems endpoints
package/adapter.js CHANGED
@@ -1857,7 +1857,7 @@ class ParagonPathfinder extends AdapterBaseCl {
1857
1857
  const queryParamsAvailable = {};
1858
1858
  const queryParams = {};
1859
1859
  const pathVars = [topologyId];
1860
- const bodyVars = body;
1860
+ const bodyVars = { body };
1861
1861
 
1862
1862
  // loop in template. long callback arg name to avoid identifier conflicts
1863
1863
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -2104,7 +2104,7 @@ class ParagonPathfinder extends AdapterBaseCl {
2104
2104
  const queryParamsAvailable = {};
2105
2105
  const queryParams = {};
2106
2106
  const pathVars = [topologyId];
2107
- const bodyVars = { body };
2107
+ const bodyVars = body;
2108
2108
 
2109
2109
  // loop in template. long callback arg name to avoid identifier conflicts
2110
2110
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -2187,7 +2187,7 @@ class ParagonPathfinder extends AdapterBaseCl {
2187
2187
  const queryParamsAvailable = {};
2188
2188
  const queryParams = {};
2189
2189
  const pathVars = [topologyId];
2190
- const bodyVars = { body };
2190
+ const bodyVars = body;
2191
2191
 
2192
2192
  // loop in template. long callback arg name to avoid identifier conflicts
2193
2193
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -2270,7 +2270,7 @@ class ParagonPathfinder extends AdapterBaseCl {
2270
2270
  const queryParamsAvailable = {};
2271
2271
  const queryParams = {};
2272
2272
  const pathVars = [topologyId];
2273
- const bodyVars = { body };
2273
+ const bodyVars = body;
2274
2274
 
2275
2275
  // loop in template. long callback arg name to avoid identifier conflicts
2276
2276
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -2529,7 +2529,7 @@ class ParagonPathfinder extends AdapterBaseCl {
2529
2529
  const queryParamsAvailable = {};
2530
2530
  const queryParams = {};
2531
2531
  const pathVars = [topologyId, nodeIndex];
2532
- const bodyVars = body;
2532
+ const bodyVars = { body };
2533
2533
 
2534
2534
  // loop in template. long callback arg name to avoid identifier conflicts
2535
2535
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -2618,7 +2618,7 @@ class ParagonPathfinder extends AdapterBaseCl {
2618
2618
  const queryParamsAvailable = {};
2619
2619
  const queryParams = {};
2620
2620
  const pathVars = [topologyId, nodeIndex];
2621
- const bodyVars = { body };
2621
+ const bodyVars = body;
2622
2622
 
2623
2623
  // loop in template. long callback arg name to avoid identifier conflicts
2624
2624
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -3223,7 +3223,7 @@ class ParagonPathfinder extends AdapterBaseCl {
3223
3223
  const queryParamsAvailable = {};
3224
3224
  const queryParams = {};
3225
3225
  const pathVars = [topologyId];
3226
- const bodyVars = body;
3226
+ const bodyVars = { body };
3227
3227
 
3228
3228
  // loop in template. long callback arg name to avoid identifier conflicts
3229
3229
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -3646,7 +3646,7 @@ class ParagonPathfinder extends AdapterBaseCl {
3646
3646
  const queryParamsAvailable = {};
3647
3647
  const queryParams = {};
3648
3648
  const pathVars = [topologyId, linkIndex];
3649
- const bodyVars = body;
3649
+ const bodyVars = { body };
3650
3650
 
3651
3651
  // loop in template. long callback arg name to avoid identifier conflicts
3652
3652
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -3735,7 +3735,7 @@ class ParagonPathfinder extends AdapterBaseCl {
3735
3735
  const queryParamsAvailable = {};
3736
3736
  const queryParams = {};
3737
3737
  const pathVars = [topologyId, linkIndex];
3738
- const bodyVars = { body };
3738
+ const bodyVars = body;
3739
3739
 
3740
3740
  // loop in template. long callback arg name to avoid identifier conflicts
3741
3741
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -4088,7 +4088,7 @@ class ParagonPathfinder extends AdapterBaseCl {
4088
4088
  const queryParamsAvailable = {};
4089
4089
  const queryParams = {};
4090
4090
  const pathVars = [topologyId, linkIndex];
4091
- const bodyVars = body;
4091
+ const bodyVars = { body };
4092
4092
 
4093
4093
  // loop in template. long callback arg name to avoid identifier conflicts
4094
4094
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -4177,7 +4177,7 @@ class ParagonPathfinder extends AdapterBaseCl {
4177
4177
  const queryParamsAvailable = {};
4178
4178
  const queryParams = {};
4179
4179
  const pathVars = [topologyId, linkIndex];
4180
- const bodyVars = { body };
4180
+ const bodyVars = body;
4181
4181
 
4182
4182
  // loop in template. long callback arg name to avoid identifier conflicts
4183
4183
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -4354,7 +4354,7 @@ class ParagonPathfinder extends AdapterBaseCl {
4354
4354
  const queryParamsAvailable = {};
4355
4355
  const queryParams = {};
4356
4356
  const pathVars = [topologyId, linkIndex];
4357
- const bodyVars = body;
4357
+ const bodyVars = { body };
4358
4358
 
4359
4359
  // loop in template. long callback arg name to avoid identifier conflicts
4360
4360
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -4443,7 +4443,7 @@ class ParagonPathfinder extends AdapterBaseCl {
4443
4443
  const queryParamsAvailable = {};
4444
4444
  const queryParams = {};
4445
4445
  const pathVars = [topologyId, linkIndex];
4446
- const bodyVars = { body };
4446
+ const bodyVars = body;
4447
4447
 
4448
4448
  // loop in template. long callback arg name to avoid identifier conflicts
4449
4449
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -4696,7 +4696,7 @@ class ParagonPathfinder extends AdapterBaseCl {
4696
4696
  const queryParamsAvailable = {};
4697
4697
  const queryParams = {};
4698
4698
  const pathVars = [topologyId];
4699
- const bodyVars = body;
4699
+ const bodyVars = { body };
4700
4700
 
4701
4701
  // loop in template. long callback arg name to avoid identifier conflicts
4702
4702
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -4943,7 +4943,7 @@ class ParagonPathfinder extends AdapterBaseCl {
4943
4943
  const queryParamsAvailable = {};
4944
4944
  const queryParams = {};
4945
4945
  const pathVars = [topologyId];
4946
- const bodyVars = { body };
4946
+ const bodyVars = body;
4947
4947
 
4948
4948
  // loop in template. long callback arg name to avoid identifier conflicts
4949
4949
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -5026,7 +5026,7 @@ class ParagonPathfinder extends AdapterBaseCl {
5026
5026
  const queryParamsAvailable = {};
5027
5027
  const queryParams = {};
5028
5028
  const pathVars = [topologyId];
5029
- const bodyVars = { body };
5029
+ const bodyVars = body;
5030
5030
 
5031
5031
  // loop in template. long callback arg name to avoid identifier conflicts
5032
5032
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -5109,7 +5109,7 @@ class ParagonPathfinder extends AdapterBaseCl {
5109
5109
  const queryParamsAvailable = {};
5110
5110
  const queryParams = {};
5111
5111
  const pathVars = [topologyId];
5112
- const bodyVars = { body };
5112
+ const bodyVars = body;
5113
5113
 
5114
5114
  // loop in template. long callback arg name to avoid identifier conflicts
5115
5115
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -5368,7 +5368,7 @@ class ParagonPathfinder extends AdapterBaseCl {
5368
5368
  const queryParamsAvailable = {};
5369
5369
  const queryParams = {};
5370
5370
  const pathVars = [topologyId, lspIndex];
5371
- const bodyVars = body;
5371
+ const bodyVars = { body };
5372
5372
 
5373
5373
  // loop in template. long callback arg name to avoid identifier conflicts
5374
5374
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -5457,7 +5457,7 @@ class ParagonPathfinder extends AdapterBaseCl {
5457
5457
  const queryParamsAvailable = {};
5458
5458
  const queryParams = {};
5459
5459
  const pathVars = [topologyId, lspIndex];
5460
- const bodyVars = { body };
5460
+ const bodyVars = body;
5461
5461
 
5462
5462
  // loop in template. long callback arg name to avoid identifier conflicts
5463
5463
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -5798,7 +5798,7 @@ class ParagonPathfinder extends AdapterBaseCl {
5798
5798
  const queryParamsAvailable = {};
5799
5799
  const queryParams = {};
5800
5800
  const pathVars = [topologyId];
5801
- const bodyVars = body;
5801
+ const bodyVars = { body };
5802
5802
 
5803
5803
  // loop in template. long callback arg name to avoid identifier conflicts
5804
5804
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -6057,7 +6057,7 @@ class ParagonPathfinder extends AdapterBaseCl {
6057
6057
  const queryParamsAvailable = {};
6058
6058
  const queryParams = {};
6059
6059
  const pathVars = [topologyId, demandIndex];
6060
- const bodyVars = body;
6060
+ const bodyVars = { body };
6061
6061
 
6062
6062
  // loop in template. long callback arg name to avoid identifier conflicts
6063
6063
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -6146,7 +6146,7 @@ class ParagonPathfinder extends AdapterBaseCl {
6146
6146
  const queryParamsAvailable = {};
6147
6147
  const queryParams = {};
6148
6148
  const pathVars = [topologyId, demandIndex];
6149
- const bodyVars = { body };
6149
+ const bodyVars = body;
6150
6150
 
6151
6151
  // loop in template. long callback arg name to avoid identifier conflicts
6152
6152
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -6317,7 +6317,7 @@ class ParagonPathfinder extends AdapterBaseCl {
6317
6317
  const queryParamsAvailable = {};
6318
6318
  const queryParams = {};
6319
6319
  const pathVars = [topologyId];
6320
- const bodyVars = { body };
6320
+ const bodyVars = body;
6321
6321
 
6322
6322
  // loop in template. long callback arg name to avoid identifier conflicts
6323
6323
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -6400,7 +6400,7 @@ class ParagonPathfinder extends AdapterBaseCl {
6400
6400
  const queryParamsAvailable = {};
6401
6401
  const queryParams = {};
6402
6402
  const pathVars = [topologyId];
6403
- const bodyVars = { body };
6403
+ const bodyVars = body;
6404
6404
 
6405
6405
  // loop in template. long callback arg name to avoid identifier conflicts
6406
6406
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -6483,7 +6483,7 @@ class ParagonPathfinder extends AdapterBaseCl {
6483
6483
  const queryParamsAvailable = {};
6484
6484
  const queryParams = {};
6485
6485
  const pathVars = [topologyId];
6486
- const bodyVars = { body };
6486
+ const bodyVars = body;
6487
6487
 
6488
6488
  // loop in template. long callback arg name to avoid identifier conflicts
6489
6489
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -6730,7 +6730,7 @@ class ParagonPathfinder extends AdapterBaseCl {
6730
6730
  const queryParamsAvailable = {};
6731
6731
  const queryParams = {};
6732
6732
  const pathVars = [topologyId];
6733
- const bodyVars = body;
6733
+ const bodyVars = { body };
6734
6734
 
6735
6735
  // loop in template. long callback arg name to avoid identifier conflicts
6736
6736
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -7071,7 +7071,7 @@ class ParagonPathfinder extends AdapterBaseCl {
7071
7071
  const queryParamsAvailable = {};
7072
7072
  const queryParams = {};
7073
7073
  const pathVars = [topologyId, p2mpGroupIndex];
7074
- const bodyVars = body;
7074
+ const bodyVars = { body };
7075
7075
 
7076
7076
  // loop in template. long callback arg name to avoid identifier conflicts
7077
7077
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -7248,7 +7248,7 @@ class ParagonPathfinder extends AdapterBaseCl {
7248
7248
  const queryParamsAvailable = {};
7249
7249
  const queryParams = {};
7250
7250
  const pathVars = [topologyId, p2mpGroupIndex];
7251
- const bodyVars = { body };
7251
+ const bodyVars = body;
7252
7252
 
7253
7253
  // loop in template. long callback arg name to avoid identifier conflicts
7254
7254
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -7337,7 +7337,7 @@ class ParagonPathfinder extends AdapterBaseCl {
7337
7337
  const queryParamsAvailable = {};
7338
7338
  const queryParams = {};
7339
7339
  const pathVars = [topologyId, p2mpGroupIndex];
7340
- const bodyVars = body;
7340
+ const bodyVars = { body };
7341
7341
 
7342
7342
  // loop in template. long callback arg name to avoid identifier conflicts
7343
7343
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -7948,7 +7948,7 @@ class ParagonPathfinder extends AdapterBaseCl {
7948
7948
  const queryParamsAvailable = {};
7949
7949
  const queryParams = {};
7950
7950
  const pathVars = [topologyId];
7951
- const bodyVars = body;
7951
+ const bodyVars = { body };
7952
7952
 
7953
7953
  // loop in template. long callback arg name to avoid identifier conflicts
7954
7954
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -8207,7 +8207,7 @@ class ParagonPathfinder extends AdapterBaseCl {
8207
8207
  const queryParamsAvailable = {};
8208
8208
  const queryParams = {};
8209
8209
  const pathVars = [topologyId, maintenanceIndex];
8210
- const bodyVars = body;
8210
+ const bodyVars = { body };
8211
8211
 
8212
8212
  // loop in template. long callback arg name to avoid identifier conflicts
8213
8213
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -8460,7 +8460,7 @@ class ParagonPathfinder extends AdapterBaseCl {
8460
8460
  const queryParamsAvailable = {};
8461
8461
  const queryParams = {};
8462
8462
  const pathVars = [topologyId];
8463
- const bodyVars = body;
8463
+ const bodyVars = { body };
8464
8464
 
8465
8465
  // loop in template. long callback arg name to avoid identifier conflicts
8466
8466
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -8719,7 +8719,7 @@ class ParagonPathfinder extends AdapterBaseCl {
8719
8719
  const queryParamsAvailable = {};
8720
8720
  const queryParams = {};
8721
8721
  const pathVars = [topologyId, facilityIndex];
8722
- const bodyVars = body;
8722
+ const bodyVars = { body };
8723
8723
 
8724
8724
  // loop in template. long callback arg name to avoid identifier conflicts
8725
8725
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -8972,7 +8972,7 @@ class ParagonPathfinder extends AdapterBaseCl {
8972
8972
  const queryParamsAvailable = {};
8973
8973
  const queryParams = {};
8974
8974
  const pathVars = [topologyId];
8975
- const bodyVars = body;
8975
+ const bodyVars = { body };
8976
8976
 
8977
8977
  // loop in template. long callback arg name to avoid identifier conflicts
8978
8978
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -9231,7 +9231,7 @@ class ParagonPathfinder extends AdapterBaseCl {
9231
9231
  const queryParamsAvailable = {};
9232
9232
  const queryParams = {};
9233
9233
  const pathVars = [topologyId, containerIndex];
9234
- const bodyVars = body;
9234
+ const bodyVars = { body };
9235
9235
 
9236
9236
  // loop in template. long callback arg name to avoid identifier conflicts
9237
9237
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -9320,7 +9320,7 @@ class ParagonPathfinder extends AdapterBaseCl {
9320
9320
  const queryParamsAvailable = {};
9321
9321
  const queryParams = {};
9322
9322
  const pathVars = [topologyId, containerIndex];
9323
- const bodyVars = { body };
9323
+ const bodyVars = body;
9324
9324
 
9325
9325
  // loop in template. long callback arg name to avoid identifier conflicts
9326
9326
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -9491,7 +9491,7 @@ class ParagonPathfinder extends AdapterBaseCl {
9491
9491
  const queryParamsAvailable = {};
9492
9492
  const queryParams = {};
9493
9493
  const pathVars = [topologyId];
9494
- const bodyVars = body;
9494
+ const bodyVars = { body };
9495
9495
 
9496
9496
  // loop in template. long callback arg name to avoid identifier conflicts
9497
9497
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -9574,7 +9574,7 @@ class ParagonPathfinder extends AdapterBaseCl {
9574
9574
  const queryParamsAvailable = {};
9575
9575
  const queryParams = {};
9576
9576
  const pathVars = [topologyId];
9577
- const bodyVars = { body };
9577
+ const bodyVars = body;
9578
9578
 
9579
9579
  // loop in template. long callback arg name to avoid identifier conflicts
9580
9580
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -9657,7 +9657,7 @@ class ParagonPathfinder extends AdapterBaseCl {
9657
9657
  const queryParamsAvailable = {};
9658
9658
  const queryParams = {};
9659
9659
  const pathVars = [topologyId];
9660
- const bodyVars = { body };
9660
+ const bodyVars = body;
9661
9661
 
9662
9662
  // loop in template. long callback arg name to avoid identifier conflicts
9663
9663
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -9992,7 +9992,7 @@ class ParagonPathfinder extends AdapterBaseCl {
9992
9992
  const queryParamsAvailable = {};
9993
9993
  const queryParams = {};
9994
9994
  const pathVars = [topologyId];
9995
- const bodyVars = body;
9995
+ const bodyVars = { body };
9996
9996
 
9997
9997
  // loop in template. long callback arg name to avoid identifier conflicts
9998
9998
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -10069,7 +10069,7 @@ class ParagonPathfinder extends AdapterBaseCl {
10069
10069
  const queryParamsAvailable = {};
10070
10070
  const queryParams = {};
10071
10071
  const pathVars = [];
10072
- const bodyVars = body;
10072
+ const bodyVars = { body };
10073
10073
 
10074
10074
  // loop in template. long callback arg name to avoid identifier conflicts
10075
10075
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -10222,7 +10222,7 @@ class ParagonPathfinder extends AdapterBaseCl {
10222
10222
  const queryParamsAvailable = {};
10223
10223
  const queryParams = {};
10224
10224
  const pathVars = [];
10225
- const bodyVars = body;
10225
+ const bodyVars = { body };
10226
10226
 
10227
10227
  // loop in template. long callback arg name to avoid identifier conflicts
10228
10228
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -10545,7 +10545,7 @@ class ParagonPathfinder extends AdapterBaseCl {
10545
10545
  const queryParamsAvailable = {};
10546
10546
  const queryParams = {};
10547
10547
  const pathVars = [];
10548
- const bodyVars = body;
10548
+ const bodyVars = { body };
10549
10549
 
10550
10550
  // loop in template. long callback arg name to avoid identifier conflicts
10551
10551
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -10932,7 +10932,7 @@ class ParagonPathfinder extends AdapterBaseCl {
10932
10932
  const queryParamsAvailable = {};
10933
10933
  const queryParams = {};
10934
10934
  const pathVars = [];
10935
- const bodyVars = body;
10935
+ const bodyVars = { body };
10936
10936
 
10937
10937
  // loop in template. long callback arg name to avoid identifier conflicts
10938
10938
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -11009,7 +11009,7 @@ class ParagonPathfinder extends AdapterBaseCl {
11009
11009
  const queryParamsAvailable = {};
11010
11010
  const queryParams = {};
11011
11011
  const pathVars = [];
11012
- const bodyVars = body;
11012
+ const bodyVars = { body };
11013
11013
 
11014
11014
  // loop in template. long callback arg name to avoid identifier conflicts
11015
11015
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -11086,7 +11086,7 @@ class ParagonPathfinder extends AdapterBaseCl {
11086
11086
  const queryParamsAvailable = {};
11087
11087
  const queryParams = {};
11088
11088
  const pathVars = [];
11089
- const bodyVars = body;
11089
+ const bodyVars = { body };
11090
11090
 
11091
11091
  // loop in template. long callback arg name to avoid identifier conflicts
11092
11092
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -11163,7 +11163,7 @@ class ParagonPathfinder extends AdapterBaseCl {
11163
11163
  const queryParamsAvailable = {};
11164
11164
  const queryParams = {};
11165
11165
  const pathVars = [];
11166
- const bodyVars = { body };
11166
+ const bodyVars = body;
11167
11167
 
11168
11168
  // loop in template. long callback arg name to avoid identifier conflicts
11169
11169
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -11404,7 +11404,7 @@ class ParagonPathfinder extends AdapterBaseCl {
11404
11404
  const queryParamsAvailable = {};
11405
11405
  const queryParams = {};
11406
11406
  const pathVars = [];
11407
- const bodyVars = body;
11407
+ const bodyVars = { body };
11408
11408
 
11409
11409
  // loop in template. long callback arg name to avoid identifier conflicts
11410
11410
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -11481,7 +11481,7 @@ class ParagonPathfinder extends AdapterBaseCl {
11481
11481
  const queryParamsAvailable = {};
11482
11482
  const queryParams = {};
11483
11483
  const pathVars = [];
11484
- const bodyVars = body;
11484
+ const bodyVars = { body };
11485
11485
 
11486
11486
  // loop in template. long callback arg name to avoid identifier conflicts
11487
11487
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -11710,7 +11710,7 @@ class ParagonPathfinder extends AdapterBaseCl {
11710
11710
  const queryParamsAvailable = {};
11711
11711
  const queryParams = {};
11712
11712
  const pathVars = [];
11713
- const bodyVars = body;
11713
+ const bodyVars = { body };
11714
11714
 
11715
11715
  // loop in template. long callback arg name to avoid identifier conflicts
11716
11716
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -11875,7 +11875,7 @@ class ParagonPathfinder extends AdapterBaseCl {
11875
11875
  const queryParamsAvailable = {};
11876
11876
  const queryParams = {};
11877
11877
  const pathVars = [transportControllerIndex];
11878
- const bodyVars = body;
11878
+ const bodyVars = { body };
11879
11879
 
11880
11880
  // loop in template. long callback arg name to avoid identifier conflicts
11881
11881
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -12110,7 +12110,7 @@ class ParagonPathfinder extends AdapterBaseCl {
12110
12110
  const queryParamsAvailable = {};
12111
12111
  const queryParams = {};
12112
12112
  const pathVars = [];
12113
- const bodyVars = { body };
12113
+ const bodyVars = body;
12114
12114
 
12115
12115
  // loop in template. long callback arg name to avoid identifier conflicts
12116
12116
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -12351,7 +12351,7 @@ class ParagonPathfinder extends AdapterBaseCl {
12351
12351
  const queryParamsAvailable = {};
12352
12352
  const queryParams = {};
12353
12353
  const pathVars = [transportControllerGroupName];
12354
- const bodyVars = { body };
12354
+ const bodyVars = body;
12355
12355
 
12356
12356
  // loop in template. long callback arg name to avoid identifier conflicts
12357
12357
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -12434,7 +12434,7 @@ class ParagonPathfinder extends AdapterBaseCl {
12434
12434
  const queryParamsAvailable = {};
12435
12435
  const queryParams = {};
12436
12436
  const pathVars = [transportControllerGroupName];
12437
- const bodyVars = { body };
12437
+ const bodyVars = body;
12438
12438
 
12439
12439
  // loop in template. long callback arg name to avoid identifier conflicts
12440
12440
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -12669,7 +12669,7 @@ class ParagonPathfinder extends AdapterBaseCl {
12669
12669
  const queryParamsAvailable = {};
12670
12670
  const queryParams = {};
12671
12671
  const pathVars = [];
12672
- const bodyVars = { body };
12672
+ const bodyVars = body;
12673
12673
 
12674
12674
  // loop in template. long callback arg name to avoid identifier conflicts
12675
12675
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -12746,7 +12746,7 @@ class ParagonPathfinder extends AdapterBaseCl {
12746
12746
  const queryParamsAvailable = {};
12747
12747
  const queryParams = {};
12748
12748
  const pathVars = [];
12749
- const bodyVars = { body };
12749
+ const bodyVars = body;
12750
12750
 
12751
12751
  // loop in template. long callback arg name to avoid identifier conflicts
12752
12752
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -12899,7 +12899,7 @@ class ParagonPathfinder extends AdapterBaseCl {
12899
12899
  const queryParamsAvailable = {};
12900
12900
  const queryParams = {};
12901
12901
  const pathVars = [];
12902
- const bodyVars = body;
12902
+ const bodyVars = { body };
12903
12903
 
12904
12904
  // loop in template. long callback arg name to avoid identifier conflicts
12905
12905
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -4,7 +4,7 @@
4
4
  "name": "getToken",
5
5
  "protocol": "REST",
6
6
  "method": "POST",
7
- "entitypath": "{base_path}/{version}/iam/authenticate",
7
+ "entitypath": "/api/v2/login",
8
8
  "requestSchema": "schemaTokenReq.json",
9
9
  "responseSchema": "schemaTokenResp.json",
10
10
  "timeout": 0,
@@ -29,7 +29,7 @@
29
29
  "name": "healthcheck",
30
30
  "protocol": "REST",
31
31
  "method": "GET",
32
- "entitypath": "{base_path}/{version}/healthcheck?{query}",
32
+ "entitypath": "/api/v2/system-details?{query}",
33
33
  "requestSchema": "schema.json",
34
34
  "responseSchema": "schema.json",
35
35
  "timeout": 0,
@@ -1,15 +1,7 @@
1
1
  {
2
2
  "status": "AUTHENTICATED",
3
3
  "user_id": "781d4678b18",
4
- "id_token": "garbagetoken",
5
- "token": {
6
- "user_id": "78b18",
7
- "user_name": "admin",
8
- "iat": "1678463271",
9
- "exp": "1678466871",
10
- "unique_identifier": "1678463271",
11
- "identity_provider_type": "Local"
12
- },
4
+ "accessToken": "garbagetoken",
13
5
  "scopes": [
14
6
  {
15
7
  "id": "cb43a7fb-903f-4e81-b6ca-86f980f8ec68",
@@ -14,20 +14,16 @@
14
14
  ],
15
15
  "external_name": "ph_request_type"
16
16
  },
17
- "user": {
18
- "type": "object",
17
+ "username": {
18
+ "type": "string",
19
19
  "description": "username to log in with",
20
20
  "parse": false,
21
21
  "encode": false,
22
- "default": {
23
- "domain": "default",
24
- "name": "admin"
25
- },
26
22
  "encrypt": {
27
23
  "type": "AES",
28
24
  "key": ""
29
25
  },
30
- "external_name": "user"
26
+ "external_name": "userName"
31
27
  },
32
28
  "password": {
33
29
  "type": "string",
@@ -40,43 +36,6 @@
40
36
  },
41
37
  "external_name": "password"
42
38
  },
43
- "methods" :{
44
- "type" : "array",
45
- "description" : "",
46
- "parse": false,
47
- "encode": false,
48
- "placement": "BODY",
49
- "default": ["PASSWORDS"],
50
- "encrypt": {
51
- "type": "AES",
52
- "key": ""
53
- },
54
- "external_name": "methods"
55
- },
56
- "domain" :{
57
- "type" : "string",
58
- "description" : "",
59
- "parse": false,
60
- "encode": false,
61
- "placement": "BODY",
62
- "encrypt": {
63
- "type": "AES",
64
- "key": ""
65
- },
66
- "external_name": "domain"
67
- },
68
- "name" :{
69
- "type" : "string",
70
- "description" : "",
71
- "parse": false,
72
- "encode": false,
73
- "placement": "BODY",
74
- "encrypt": {
75
- "type": "AES",
76
- "key": ""
77
- },
78
- "external_name": "name"
79
- },
80
39
  "token": {
81
40
  "type": "string",
82
41
  "description": "token returned by system",
@@ -87,7 +46,7 @@
87
46
  "type": "AES",
88
47
  "key": ""
89
48
  },
90
- "external_name": "token"
49
+ "external_name": "accessToken"
91
50
  }
92
51
  },
93
52
  "definitions": {}
@@ -23,7 +23,7 @@
23
23
  "type": "AES",
24
24
  "key": ""
25
25
  },
26
- "external_name": "username"
26
+ "external_name": "userName"
27
27
  },
28
28
  "password": {
29
29
  "type": "string",
@@ -37,18 +37,6 @@
37
37
  "external_name": "password"
38
38
  },
39
39
  "token": {
40
- "type": "object",
41
- "description": "token returned by system",
42
- "parse": false,
43
- "encode": false,
44
- "placement": "BODY",
45
- "encrypt": {
46
- "type": "AES",
47
- "key": ""
48
- },
49
- "external_name": "token"
50
- },
51
- "tokenp2": {
52
40
  "type": "string",
53
41
  "description": "token returned by system",
54
42
  "parse": false,
@@ -58,7 +46,7 @@
58
46
  "type": "AES",
59
47
  "key": ""
60
48
  },
61
- "external_name": "id_token"
49
+ "external_name": "accessToken"
62
50
  }
63
51
  },
64
52
  "definitions": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-paragon_pathfinder",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "This adapter integrates with paragon pathfinder",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.15",
Binary file
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.2.0",
3
3
  "configLines": 30382,
4
4
  "scriptLines": 1795,
5
5
  "codeLines": 14895,
@@ -4,7 +4,7 @@
4
4
  "properties": {
5
5
  "host": "localhost",
6
6
  "port": 443,
7
- "base_path": "/",
7
+ "base_path": "/traffic-engineering/api",
8
8
  "version": "",
9
9
  "cache_location": "none",
10
10
  "encode_pathvars": true,
@@ -21,7 +21,7 @@
21
21
  "token_cache": "local",
22
22
  "invalid_token_error": 401,
23
23
  "auth_field": "header.headers.x-iam-token",
24
- "auth_field_format": "{tokenp2}",
24
+ "auth_field_format": "{token}",
25
25
  "auth_logging": false,
26
26
  "client_id": "",
27
27
  "client_secret": "",