@itentialopensource/adapter-paragon_pathfinder 1.3.4 → 1.4.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/AUTH.md +83 -14
- package/BROKER.md +31 -19
- package/CALLS.md +59 -23
- package/CHANGELOG.md +16 -0
- package/PROPERTIES.md +5 -0
- package/README.md +60 -63
- package/SYSTEMINFO.md +17 -6
- package/TAB1.md +12 -0
- package/TAB2.md +398 -0
- package/metadata.json +26 -5
- package/package.json +7 -9
- package/propertiesSchema.json +5 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +4 -4
- package/report/updateReport1717075995823.json +120 -0
- package/sampleProperties.json +37 -25
- package/test/integration/adapterTestIntegration.js +1 -0
- package/test/unit/adapterTestUnit.js +1 -3
package/SYSTEMINFO.md
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Paragon Pathfinder
|
|
2
2
|
|
|
3
|
-
Vendor:
|
|
4
|
-
Homepage: https://
|
|
3
|
+
Vendor: Juniper Networks
|
|
4
|
+
Homepage: https://www.juniper.net/us/en.html
|
|
5
5
|
|
|
6
|
-
Product:
|
|
7
|
-
Product Page: https://
|
|
6
|
+
Product: Paragon Pathfinder
|
|
7
|
+
Product Page: https://www.juniper.net/us/en/products/network-automation/paragon-pathfinder.html
|
|
8
8
|
|
|
9
9
|
## Introduction
|
|
10
|
+
We classify Paragon Pathfinder into the Network Services domain as Paragon Pathfinder provides functionalities centered around optimizing and managing network traffic. We also classify Paragon Pathfinder into the Data Center domain due to its role in managing and optimizing network infrastructure within data center.
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
"Paragon Pathfinder enables your operations team to more efficiently manage strict transport service SLAs through automated planning, provisioning, proactive monitoring, and optimization of large traffic loads dynamically"
|
|
13
|
+
|
|
14
|
+
## Why Integrate
|
|
15
|
+
The Paragon Pathfinder adapter from Itential is used to integrate the Itential Automation Platform (IAP) with Juniper Paragon Pathfinder. With this adapter you have the ability to perform operations such as:
|
|
16
|
+
|
|
17
|
+
- Topology
|
|
18
|
+
- Config
|
|
19
|
+
- NETCONF
|
|
20
|
+
|
|
21
|
+
## Additional Product Documentation
|
|
22
|
+
The [API documents for Paragon Pathfinder](https://www.juniper.net/documentation/us/en/software/paragon-automation23.2/paragon-automation-api-ref/paragon-pathfinder/api-ref-pathfinder-v2.html)
|
package/TAB1.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Overview
|
|
2
|
+
|
|
3
|
+
This adapter is used to integrate the Itential Automation Platform (IAP) with the Paragon_pathfinder System. The API that was used to build the adapter for Paragon_pathfinder is usually available in the report directory of this adapter. The adapter utilizes the Paragon_pathfinder API to provide the integrations that are deemed pertinent to IAP. The ReadMe file is intended to provide information on this adapter it is generated from various other Markdown files.
|
|
4
|
+
|
|
5
|
+
## Details
|
|
6
|
+
The Paragon Pathfinder adapter from Itential is used to integrate the Itential Automation Platform (IAP) with Juniper Paragon Pathfinder. With this adapter you have the ability to perform operations such as:
|
|
7
|
+
|
|
8
|
+
- Topology
|
|
9
|
+
- Config
|
|
10
|
+
- NETCONF
|
|
11
|
+
|
|
12
|
+
For further technical details on how to install and use this adapter, please click the Technical Documentation tab.
|
package/TAB2.md
ADDED
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
# Paragon Pathfinder
|
|
2
|
+
|
|
3
|
+
## Table of Contents
|
|
4
|
+
|
|
5
|
+
- [Specific Adapter Information](#specific-adapter-information)
|
|
6
|
+
- [Authentication](#authentication)
|
|
7
|
+
- [Sample Properties](#sample-properties)
|
|
8
|
+
- [Swagger](#swagger)
|
|
9
|
+
- [Generic Adapter Information](#generic-adapter-information)
|
|
10
|
+
|
|
11
|
+
## Specific Adapter Information
|
|
12
|
+
### Authentication
|
|
13
|
+
|
|
14
|
+
This document will go through the steps for authenticating the Paragon Pathfinder adapter with Dynamic Token Authentication and Multi-Step Authentication. Properly configuring the properties for an adapter in IAP is critical for getting the adapter online. You can read more about adapter authentication <a href="https://docs.itential.com/opensource/docs/authentication" target="_blank">HERE</a>.
|
|
15
|
+
|
|
16
|
+
Companies periodically change authentication methods to provide better security. As this happens this section should be updated and contributed/merge back into the adapter repository.
|
|
17
|
+
|
|
18
|
+
#### Dynamic Token Authentication
|
|
19
|
+
The Paragon Pathfinder adapter requires Dynamic Token Authentication. If you change authentication methods, you should change this section accordingly and merge it back into the adapter repository.
|
|
20
|
+
|
|
21
|
+
STEPS
|
|
22
|
+
1. Ensure you have access to a Paragon Pathfinder server and that it is running
|
|
23
|
+
2. Follow the steps in the README.md to import the adapter into IAP if you have not already done so
|
|
24
|
+
3. Use the properties below for the ```properties.authentication``` field
|
|
25
|
+
```json
|
|
26
|
+
"authentication": {
|
|
27
|
+
"auth_method": "request_token",
|
|
28
|
+
"username": "<username>",
|
|
29
|
+
"password": "<password>",
|
|
30
|
+
"token_timeout": 600000,
|
|
31
|
+
"token_cache": "local",
|
|
32
|
+
"invalid_token_error": 401,
|
|
33
|
+
"auth_field": "header.headers.x-iam-token",
|
|
34
|
+
"auth_field_format": "{token}",
|
|
35
|
+
"auth_logging": false
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
4. Use the properties below for the ```request.global_request.authData``` field
|
|
39
|
+
```json
|
|
40
|
+
"request": {
|
|
41
|
+
"global_request": {
|
|
42
|
+
"authData": {
|
|
43
|
+
"user": {
|
|
44
|
+
"name": "admin",
|
|
45
|
+
"domain": "spadmin"
|
|
46
|
+
},
|
|
47
|
+
"methods": [
|
|
48
|
+
"PASSWORD"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
5. Restart the adapter. If your properties were set correctly, the adapter should go online.
|
|
55
|
+
|
|
56
|
+
#### Multi-Step Authentication
|
|
57
|
+
The Paragon Pathfinder adapter also supports Multi-Step Authentication using The Paragon IAM Authentication API. If you change authentication methods, you should change this section accordingly and merge it back into the adapter repository.
|
|
58
|
+
|
|
59
|
+
STEPS
|
|
60
|
+
1. Ensure you have access to a Paragon Pathfinder server and that it is running
|
|
61
|
+
2. Follow the steps in the README.md to import the adapter into IAP if you have not already done so
|
|
62
|
+
3. Use the properties below for the ```properties.authentication``` field
|
|
63
|
+
```json
|
|
64
|
+
"authentication": {
|
|
65
|
+
"auth_method": "multi_step_authentication",
|
|
66
|
+
"multiStepAuthCalls": [
|
|
67
|
+
{
|
|
68
|
+
"name": "getFirstToken",
|
|
69
|
+
"requestFields": {
|
|
70
|
+
"user": {
|
|
71
|
+
"domain": "",
|
|
72
|
+
"name": "admin"
|
|
73
|
+
},
|
|
74
|
+
"password": "<password>",
|
|
75
|
+
"methods": [
|
|
76
|
+
"PASSWORD"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"responseFields": {
|
|
80
|
+
"firstIdToken": "id_token",
|
|
81
|
+
"scopeId": "scopes.0.id"
|
|
82
|
+
},
|
|
83
|
+
"successfullResponseCode": 200
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "getSecondToken",
|
|
87
|
+
"requestFields": {
|
|
88
|
+
"token": "{getFirstToken.responseFields.firstIdToken}",
|
|
89
|
+
"scopeId": "{getFirstToken.responseFields.scopeId}",
|
|
90
|
+
"methods": [
|
|
91
|
+
"TOKEN"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"responseFields": {
|
|
95
|
+
"tokenp2": "id_token"
|
|
96
|
+
},
|
|
97
|
+
"successfullResponseCode": 200
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"token_timeout": 600000,
|
|
101
|
+
"token_cache": "local",
|
|
102
|
+
"invalid_token_error": 401,
|
|
103
|
+
"auth_field": "header.headers.x-iam-token",
|
|
104
|
+
"auth_field_format": "{tokenp2}",
|
|
105
|
+
"auth_logging": true
|
|
106
|
+
}
|
|
107
|
+
```
|
|
108
|
+
4. Restart the adapter. If your properties were set correctly, the adapter should go online.
|
|
109
|
+
|
|
110
|
+
#### Troubleshooting
|
|
111
|
+
- Make sure you copied over the correct username and password.
|
|
112
|
+
- Turn on debug level logs for the adapter in IAP Admin Essentials.
|
|
113
|
+
- Turn on auth_logging for the adapter in IAP Admin Essentials (adapter properties).
|
|
114
|
+
- Investigate the logs - in particular:
|
|
115
|
+
- The FULL REQUEST log to make sure the proper headers are being sent with the request.
|
|
116
|
+
- The FULL BODY log to make sure the payload is accurate.
|
|
117
|
+
- The CALL RETURN log to see what the other system is telling us.
|
|
118
|
+
- Credentials should be ** masked ** by the adapter so make sure you verify the username and password - including that there are erroneous spaces at the front or end.
|
|
119
|
+
- Remember when you are done to turn auth_logging off as you do not want to log credentials.
|
|
120
|
+
|
|
121
|
+
### Sample Properties
|
|
122
|
+
|
|
123
|
+
Sample Properties can be used to help you configure the adapter in the Itential Automation Platform. You will need to update connectivity information such as the host, port, protocol and credentials.
|
|
124
|
+
|
|
125
|
+
```json
|
|
126
|
+
"properties": {
|
|
127
|
+
"host": "localhost",
|
|
128
|
+
"port": 443,
|
|
129
|
+
"choosepath": "",
|
|
130
|
+
"base_path": "/traffic-engineering/api",
|
|
131
|
+
"version": "",
|
|
132
|
+
"cache_location": "none",
|
|
133
|
+
"encode_pathvars": true,
|
|
134
|
+
"encode_queryvars": true,
|
|
135
|
+
"save_metric": false,
|
|
136
|
+
"stub": true,
|
|
137
|
+
"protocol": "https",
|
|
138
|
+
"authentication": {
|
|
139
|
+
"auth_method": "request_token",
|
|
140
|
+
"username": "admin",
|
|
141
|
+
"password": "pass",
|
|
142
|
+
"token": "token",
|
|
143
|
+
"token_timeout": 600000,
|
|
144
|
+
"token_cache": "local",
|
|
145
|
+
"invalid_token_error": 401,
|
|
146
|
+
"auth_field": "header.headers.x-iam-token",
|
|
147
|
+
"auth_field_format": "{token}",
|
|
148
|
+
"auth_logging": false,
|
|
149
|
+
"client_id": "",
|
|
150
|
+
"client_secret": "",
|
|
151
|
+
"grant_type": "",
|
|
152
|
+
"sensitive": [],
|
|
153
|
+
"sso": {
|
|
154
|
+
"protocol": "",
|
|
155
|
+
"host": "",
|
|
156
|
+
"port": 0
|
|
157
|
+
},
|
|
158
|
+
"multiStepAuthCalls": [
|
|
159
|
+
{
|
|
160
|
+
"name": "",
|
|
161
|
+
"requestFields": {},
|
|
162
|
+
"responseFields": {},
|
|
163
|
+
"successfullResponseCode": 200
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"healthcheck": {
|
|
168
|
+
"type": "none",
|
|
169
|
+
"frequency": 60000,
|
|
170
|
+
"query_object": {},
|
|
171
|
+
"addlHeaders": {}
|
|
172
|
+
},
|
|
173
|
+
"throttle": {
|
|
174
|
+
"throttle_enabled": false,
|
|
175
|
+
"number_pronghorns": 1,
|
|
176
|
+
"sync_async": "sync",
|
|
177
|
+
"max_in_queue": 1000,
|
|
178
|
+
"concurrent_max": 1,
|
|
179
|
+
"expire_timeout": 0,
|
|
180
|
+
"avg_runtime": 200,
|
|
181
|
+
"priorities": [
|
|
182
|
+
{
|
|
183
|
+
"value": 0,
|
|
184
|
+
"percent": 100
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
"request": {
|
|
189
|
+
"number_redirects": 0,
|
|
190
|
+
"number_retries": 3,
|
|
191
|
+
"limit_retry_error": [
|
|
192
|
+
0
|
|
193
|
+
],
|
|
194
|
+
"failover_codes": [],
|
|
195
|
+
"attempt_timeout": 5000,
|
|
196
|
+
"global_request": {
|
|
197
|
+
"payload": {},
|
|
198
|
+
"uriOptions": {},
|
|
199
|
+
"addlHeaders": {},
|
|
200
|
+
"authData": {
|
|
201
|
+
"user": {
|
|
202
|
+
"name": "admin",
|
|
203
|
+
"domain": "spadmin"
|
|
204
|
+
},
|
|
205
|
+
"methods": [
|
|
206
|
+
"PASSWORD"
|
|
207
|
+
]
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"healthcheck_on_timeout": true,
|
|
211
|
+
"return_raw": false,
|
|
212
|
+
"archiving": false,
|
|
213
|
+
"return_request": false
|
|
214
|
+
},
|
|
215
|
+
"proxy": {
|
|
216
|
+
"enabled": false,
|
|
217
|
+
"host": "",
|
|
218
|
+
"port": 1,
|
|
219
|
+
"protocol": "http",
|
|
220
|
+
"username": "",
|
|
221
|
+
"password": ""
|
|
222
|
+
},
|
|
223
|
+
"ssl": {
|
|
224
|
+
"ecdhCurve": "",
|
|
225
|
+
"enabled": false,
|
|
226
|
+
"accept_invalid_cert": false,
|
|
227
|
+
"ca_file": "",
|
|
228
|
+
"key_file": "",
|
|
229
|
+
"cert_file": "",
|
|
230
|
+
"secure_protocol": "",
|
|
231
|
+
"ciphers": ""
|
|
232
|
+
},
|
|
233
|
+
"mongo": {
|
|
234
|
+
"host": "",
|
|
235
|
+
"port": 0,
|
|
236
|
+
"database": "",
|
|
237
|
+
"username": "",
|
|
238
|
+
"password": "",
|
|
239
|
+
"replSet": "",
|
|
240
|
+
"db_ssl": {
|
|
241
|
+
"enabled": false,
|
|
242
|
+
"accept_invalid_cert": false,
|
|
243
|
+
"ca_file": "",
|
|
244
|
+
"key_file": "",
|
|
245
|
+
"cert_file": ""
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"devicebroker": {
|
|
249
|
+
"enabled": false,
|
|
250
|
+
"getDevice": [
|
|
251
|
+
{
|
|
252
|
+
"path": "/not/mapped",
|
|
253
|
+
"method": "GET",
|
|
254
|
+
"query": {},
|
|
255
|
+
"body": {},
|
|
256
|
+
"headers": {},
|
|
257
|
+
"handleFailure": "ignore",
|
|
258
|
+
"requestFields": {
|
|
259
|
+
"insample": "{port}"
|
|
260
|
+
},
|
|
261
|
+
"responseDatakey": "",
|
|
262
|
+
"responseFields": {
|
|
263
|
+
"name": "{this}{||}{that}",
|
|
264
|
+
"ostype": "{osfield}",
|
|
265
|
+
"ostypePrefix": "meraki-",
|
|
266
|
+
"port": "{port}",
|
|
267
|
+
"ipaddress": "{ip_addr}",
|
|
268
|
+
"serial": "{serial}"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"getDevicesFiltered": [
|
|
273
|
+
{
|
|
274
|
+
"path": "/not/mapped",
|
|
275
|
+
"method": "GET",
|
|
276
|
+
"pagination": {
|
|
277
|
+
"offsetVar": "",
|
|
278
|
+
"limitVar": "",
|
|
279
|
+
"incrementBy": "limit",
|
|
280
|
+
"requestLocation": "query"
|
|
281
|
+
},
|
|
282
|
+
"query": {},
|
|
283
|
+
"body": {},
|
|
284
|
+
"headers": {},
|
|
285
|
+
"handleFailure": "ignore",
|
|
286
|
+
"requestFields": {},
|
|
287
|
+
"responseDatakey": "",
|
|
288
|
+
"responseFields": {
|
|
289
|
+
"name": "{this}{||}{that}",
|
|
290
|
+
"ostype": "{osfield}",
|
|
291
|
+
"ostypePrefix": "meraki-",
|
|
292
|
+
"port": "{port}",
|
|
293
|
+
"ipaddress": "{ip_addr}",
|
|
294
|
+
"serial": "{serial}",
|
|
295
|
+
"id": "{myid}"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"isAlive": [
|
|
300
|
+
{
|
|
301
|
+
"path": "/not/mapped/{devID}",
|
|
302
|
+
"method": "GET",
|
|
303
|
+
"query": {},
|
|
304
|
+
"body": {},
|
|
305
|
+
"headers": {},
|
|
306
|
+
"handleFailure": "ignore",
|
|
307
|
+
"requestFields": {
|
|
308
|
+
"devID": "{id}"
|
|
309
|
+
},
|
|
310
|
+
"responseDatakey": "",
|
|
311
|
+
"responseFields": {
|
|
312
|
+
"status": "return2xx",
|
|
313
|
+
"statusValue": "AD.200"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"getConfig": [
|
|
318
|
+
{
|
|
319
|
+
"path": "/not/mapped/{devID}",
|
|
320
|
+
"method": "GET",
|
|
321
|
+
"query": {},
|
|
322
|
+
"body": {},
|
|
323
|
+
"headers": {},
|
|
324
|
+
"handleFailure": "ignore",
|
|
325
|
+
"requestFields": {
|
|
326
|
+
"devID": "{id}"
|
|
327
|
+
},
|
|
328
|
+
"responseDatakey": "",
|
|
329
|
+
"responseFields": {}
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"getCount": [
|
|
333
|
+
{
|
|
334
|
+
"path": "/not/mapped",
|
|
335
|
+
"method": "GET",
|
|
336
|
+
"query": {},
|
|
337
|
+
"body": {},
|
|
338
|
+
"headers": {},
|
|
339
|
+
"handleFailure": "ignore",
|
|
340
|
+
"requestFields": {},
|
|
341
|
+
"responseDatakey": "",
|
|
342
|
+
"responseFields": {}
|
|
343
|
+
}
|
|
344
|
+
]
|
|
345
|
+
},
|
|
346
|
+
"cache": {
|
|
347
|
+
"enabled": false,
|
|
348
|
+
"entities": [
|
|
349
|
+
{
|
|
350
|
+
"entityType": "device",
|
|
351
|
+
"frequency": 3600,
|
|
352
|
+
"flushOnFail": false,
|
|
353
|
+
"limit": 10000,
|
|
354
|
+
"retryAttempts": 5,
|
|
355
|
+
"sort": true,
|
|
356
|
+
"populate": [
|
|
357
|
+
{
|
|
358
|
+
"path": "/not/mapped",
|
|
359
|
+
"method": "GET",
|
|
360
|
+
"pagination": {
|
|
361
|
+
"offsetVar": "",
|
|
362
|
+
"limitVar": "",
|
|
363
|
+
"incrementBy": "limit",
|
|
364
|
+
"requestLocation": "query"
|
|
365
|
+
},
|
|
366
|
+
"query": {},
|
|
367
|
+
"body": {},
|
|
368
|
+
"headers": {},
|
|
369
|
+
"handleFailure": "ignore",
|
|
370
|
+
"requestFields": {},
|
|
371
|
+
"responseDatakey": "",
|
|
372
|
+
"responseFields": {
|
|
373
|
+
"name": "{this}{||}{that}",
|
|
374
|
+
"ostype": "{osfield}",
|
|
375
|
+
"ostypePrefix": "meraki-",
|
|
376
|
+
"port": "{port}",
|
|
377
|
+
"ipaddress": "{ip_addr}",
|
|
378
|
+
"serial": "{serial}",
|
|
379
|
+
"id": "{myid}"
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
],
|
|
383
|
+
"cachedTasks": [
|
|
384
|
+
{
|
|
385
|
+
"name": "",
|
|
386
|
+
"filterField": "",
|
|
387
|
+
"filterLoc": ""
|
|
388
|
+
}
|
|
389
|
+
]
|
|
390
|
+
}
|
|
391
|
+
]
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
```
|
|
395
|
+
### [Swagger](https://gitlab.com/itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder/-/blob/master/report/adapter-openapi.json)
|
|
396
|
+
|
|
397
|
+
## [Generic Adapter Information](https://gitlab.com/itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder/-/blob/master/README.md)
|
|
398
|
+
|
package/metadata.json
CHANGED
|
@@ -39,20 +39,41 @@
|
|
|
39
39
|
"isDeprecated": false
|
|
40
40
|
},
|
|
41
41
|
"brokerSince": "",
|
|
42
|
+
"authMethods": [
|
|
43
|
+
{
|
|
44
|
+
"type": "Multi Factor Auth",
|
|
45
|
+
"primary": true
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "Token",
|
|
49
|
+
"primary": false
|
|
50
|
+
}
|
|
51
|
+
],
|
|
42
52
|
"documentation": {
|
|
43
53
|
"storeLink": "",
|
|
44
54
|
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-paragon_pathfinder",
|
|
45
|
-
"repoLink": "https://gitlab.com/itentialopensource/adapters/
|
|
55
|
+
"repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-paragon_pathfinder",
|
|
46
56
|
"docLink": "https://docs.itential.com/opensource/docs/paragon-pathfinder",
|
|
47
57
|
"demoLinks": [],
|
|
48
|
-
"trainingLinks": [
|
|
58
|
+
"trainingLinks": [
|
|
59
|
+
{
|
|
60
|
+
"title": "Itential Academy",
|
|
61
|
+
"link": "https://www.itential.com/itential-academy/"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
49
64
|
"faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
|
|
50
65
|
"contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
|
|
51
66
|
"issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
|
|
52
67
|
"webLink": "https://www.itential.com/adapters/paragon-pathfinder/",
|
|
53
|
-
"vendorLink": "",
|
|
54
|
-
"productLink": "",
|
|
55
|
-
"apiLinks": [
|
|
68
|
+
"vendorLink": "https://www.juniper.net/us/en.html",
|
|
69
|
+
"productLink": "https://www.juniper.net/us/en/products/network-automation/paragon-pathfinder.html",
|
|
70
|
+
"apiLinks": [
|
|
71
|
+
{
|
|
72
|
+
"title": "Paragon PathFinder API",
|
|
73
|
+
"link": "https://www.juniper.net/documentation/us/en/software/paragon-automation23.2/paragon-automation-api-ref/paragon-pathfinder/api-ref-pathfinder-v2.html",
|
|
74
|
+
"public": true
|
|
75
|
+
}
|
|
76
|
+
]
|
|
56
77
|
},
|
|
57
78
|
"assets": [],
|
|
58
79
|
"relatedItems": {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-paragon_pathfinder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "This adapter integrates with paragon pathfinder",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"wizardVersion": "2.44.7",
|
|
7
|
-
"engineVersion": "1.67.
|
|
7
|
+
"engineVersion": "1.67.19",
|
|
8
8
|
"adapterType": "http",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
16
16
|
"test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
|
|
17
17
|
"test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
|
|
18
|
-
"test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
|
|
19
18
|
"test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
|
|
20
19
|
"adapter:install": "npm i && node utils/tbScript.js install",
|
|
21
20
|
"adapter:checkMigrate": "node utils/checkMigrate.js",
|
|
@@ -44,20 +43,20 @@
|
|
|
44
43
|
],
|
|
45
44
|
"license": "Apache-2.0",
|
|
46
45
|
"engines": {
|
|
47
|
-
"node": ">=
|
|
46
|
+
"node": ">= 14.0.0",
|
|
48
47
|
"npm": ">= 6.0.0"
|
|
49
48
|
},
|
|
50
49
|
"repository": {
|
|
51
50
|
"type": "git",
|
|
52
|
-
"url": "git@gitlab.com:itentialopensource/adapters/
|
|
51
|
+
"url": "git@gitlab.com:itentialopensource/adapters/adapter-paragon_pathfinder.git"
|
|
53
52
|
},
|
|
54
53
|
"author": "Itential",
|
|
55
|
-
"homepage": "https://gitlab.com/itentialopensource/adapters/
|
|
54
|
+
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-paragon_pathfinder#readme",
|
|
56
55
|
"dependencies": {
|
|
57
|
-
"@itentialopensource/adapter-utils": "^5.3.
|
|
56
|
+
"@itentialopensource/adapter-utils": "^5.3.10",
|
|
58
57
|
"acorn": "^8.10.0",
|
|
59
58
|
"ajv": "^8.12.0",
|
|
60
|
-
"axios": "^1.6.
|
|
59
|
+
"axios": "^1.6.8",
|
|
61
60
|
"commander": "^11.0.0",
|
|
62
61
|
"dns-lookup-promise": "^1.0.4",
|
|
63
62
|
"fs-extra": "^11.1.1",
|
|
@@ -65,7 +64,6 @@
|
|
|
65
64
|
"mocha": "^10.3.0",
|
|
66
65
|
"mocha-param": "^2.0.1",
|
|
67
66
|
"mongodb": "^4.16.0",
|
|
68
|
-
"nyc": "^15.1.0",
|
|
69
67
|
"ping": "^0.4.4",
|
|
70
68
|
"prompts": "^2.4.2",
|
|
71
69
|
"readline-sync": "^1.4.10",
|
package/propertiesSchema.json
CHANGED
|
@@ -943,6 +943,11 @@
|
|
|
943
943
|
"devicebroker": {
|
|
944
944
|
"type": "object",
|
|
945
945
|
"properties": {
|
|
946
|
+
"enabled": {
|
|
947
|
+
"type": "boolean",
|
|
948
|
+
"description": "Whether or not the device broker calls have been mapped",
|
|
949
|
+
"default": false
|
|
950
|
+
},
|
|
946
951
|
"getDevice": {
|
|
947
952
|
"type": "array",
|
|
948
953
|
"description": "Broker call(s) to getDevice",
|
|
Binary file
|
package/report/adapterInfo.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
3
|
-
"configLines":
|
|
2
|
+
"version": "1.3.5",
|
|
3
|
+
"configLines": 32690,
|
|
4
4
|
"scriptLines": 1783,
|
|
5
5
|
"codeLines": 14810,
|
|
6
|
-
"testLines":
|
|
6
|
+
"testLines": 15506,
|
|
7
7
|
"testCases": 629,
|
|
8
|
-
"totalCodeLines":
|
|
8
|
+
"totalCodeLines": 32099,
|
|
9
9
|
"wfTasks": 177
|
|
10
10
|
}
|