@itentialopensource/adapter-paragon_pathfinder 1.7.0 → 1.7.3

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.
@@ -0,0 +1,19 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "authenticationToken",
12
+ "enum": [
13
+ "authenticationToken"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "searchLinks",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/topology/v2/{pathv1}/links/search?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": true,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "patchLink",
26
+ "protocol": "REST",
27
+ "method": "PATCH",
28
+ "entitypath": "{base_path}/{version}/topology/v2/{pathv1}/links/{pathv2}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "searchLinks",
12
+ "enum": [
13
+ "searchLinks",
14
+ "patchLink"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "searchLSPs",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/topology/v2/{pathv1}/te-lsps/search?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": true,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "patchATELSP",
26
+ "protocol": "REST",
27
+ "method": "PATCH",
28
+ "entitypath": "{base_path}/{version}/topology/v2/{pathv1}/te-lsps/{pathv2}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "deleteATELSP",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/topology/v2/{pathv1}/te-lsps/{pathv2}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ }
64
+ ]
65
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "searchLSPs",
12
+ "enum": [
13
+ "searchLSPs",
14
+ "patchATELSP",
15
+ "deleteATELSP"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-paragon_pathfinder",
3
- "version": "1.7.0",
3
+ "version": "1.7.3",
4
4
  "description": "This adapter integrates with paragon pathfinder",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "3.8.0",
@@ -48,7 +48,7 @@
48
48
  "author": "Itential",
49
49
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-paragon_pathfinder#readme",
50
50
  "dependencies": {
51
- "@itentialopensource/adapter-utils": "6.0.2",
51
+ "@itentialopensource/adapter-utils": "6.0.3",
52
52
  "acorn": "8.14.1",
53
53
  "ajv": "8.17.1",
54
54
  "axios": "1.12.2",
package/pronghorn.json CHANGED
@@ -30832,6 +30832,350 @@
30832
30832
  "path": "/getTopologyV2TopologyIdIpePolicyIpePolicyId"
30833
30833
  },
30834
30834
  "task": true
30835
+ },
30836
+ {
30837
+ "name": "authenticationToken",
30838
+ "summary": "The parameters and request body are for method: authenticationToken. Same endpoint also used in met",
30839
+ "description": "The parameters and request body are for method: authenticationToken. Same endpoint also used in methods:",
30840
+ "input": [
30841
+ {
30842
+ "name": "body",
30843
+ "type": "object",
30844
+ "info": "indeterminate body object: object",
30845
+ "required": false,
30846
+ "schema": {
30847
+ "type": "object",
30848
+ "definitions": {}
30849
+ }
30850
+ },
30851
+ {
30852
+ "name": "iapMetadata",
30853
+ "type": "object",
30854
+ "info": "IAP Metadata object contains additional info needed for the request: payload, uriPathVars, uriQuery, uriOptions, addlHeaders, authData, callProperties, etc.",
30855
+ "required": false,
30856
+ "schema": {
30857
+ "title": "iapMetadata",
30858
+ "type": "object"
30859
+ }
30860
+ }
30861
+ ],
30862
+ "output": {
30863
+ "name": "result",
30864
+ "type": "object",
30865
+ "description": "A JSON Object containing status, code and the result",
30866
+ "schema": {
30867
+ "title": "result",
30868
+ "type": "object"
30869
+ }
30870
+ },
30871
+ "roles": [
30872
+ "admin"
30873
+ ],
30874
+ "route": {
30875
+ "verb": "POST",
30876
+ "path": "/authenticationToken"
30877
+ },
30878
+ "task": true
30879
+ },
30880
+ {
30881
+ "name": "searchLinks",
30882
+ "summary": "The parameters and request body are for method: searchLinks. Same endpoint also used in methods:",
30883
+ "description": "The parameters and request body are for method: searchLinks. Same endpoint also used in methods:",
30884
+ "input": [
30885
+ {
30886
+ "name": "topologyId",
30887
+ "type": "string",
30888
+ "info": ": string",
30889
+ "required": true,
30890
+ "schema": {
30891
+ "title": "topologyId",
30892
+ "type": "string"
30893
+ }
30894
+ },
30895
+ {
30896
+ "name": "body",
30897
+ "type": "object",
30898
+ "info": ": object",
30899
+ "required": false,
30900
+ "schema": {
30901
+ "type": "object",
30902
+ "definitions": {}
30903
+ }
30904
+ },
30905
+ {
30906
+ "name": "iapMetadata",
30907
+ "type": "object",
30908
+ "info": "IAP Metadata object contains additional info needed for the request: payload, uriPathVars, uriQuery, uriOptions, addlHeaders, authData, callProperties, etc.",
30909
+ "required": false,
30910
+ "schema": {
30911
+ "title": "iapMetadata",
30912
+ "type": "object"
30913
+ }
30914
+ }
30915
+ ],
30916
+ "output": {
30917
+ "name": "result",
30918
+ "type": "object",
30919
+ "description": "A JSON Object containing status, code and the result",
30920
+ "schema": {
30921
+ "title": "result",
30922
+ "type": "object"
30923
+ }
30924
+ },
30925
+ "roles": [
30926
+ "admin"
30927
+ ],
30928
+ "route": {
30929
+ "verb": "POST",
30930
+ "path": "/searchLinks"
30931
+ },
30932
+ "task": true
30933
+ },
30934
+ {
30935
+ "name": "patchLink",
30936
+ "summary": "The parameters and request body are for method: patchLink. Same endpoint also used in methods:",
30937
+ "description": "The parameters and request body are for method: patchLink. Same endpoint also used in methods:",
30938
+ "input": [
30939
+ {
30940
+ "name": "topologyId",
30941
+ "type": "string",
30942
+ "info": ": string",
30943
+ "required": true,
30944
+ "schema": {
30945
+ "title": "topologyId",
30946
+ "type": "string"
30947
+ }
30948
+ },
30949
+ {
30950
+ "name": "linkIndex",
30951
+ "type": "string",
30952
+ "info": ": string",
30953
+ "required": true,
30954
+ "schema": {
30955
+ "title": "linkIndex",
30956
+ "type": "string"
30957
+ }
30958
+ },
30959
+ {
30960
+ "name": "body",
30961
+ "type": "object",
30962
+ "info": ": object",
30963
+ "required": false,
30964
+ "schema": {
30965
+ "type": "object",
30966
+ "definitions": {}
30967
+ }
30968
+ },
30969
+ {
30970
+ "name": "iapMetadata",
30971
+ "type": "object",
30972
+ "info": "IAP Metadata object contains additional info needed for the request: payload, uriPathVars, uriQuery, uriOptions, addlHeaders, authData, callProperties, etc.",
30973
+ "required": false,
30974
+ "schema": {
30975
+ "title": "iapMetadata",
30976
+ "type": "object"
30977
+ }
30978
+ }
30979
+ ],
30980
+ "output": {
30981
+ "name": "result",
30982
+ "type": "object",
30983
+ "description": "A JSON Object containing status, code and the result",
30984
+ "schema": {
30985
+ "title": "result",
30986
+ "type": "object"
30987
+ }
30988
+ },
30989
+ "roles": [
30990
+ "admin"
30991
+ ],
30992
+ "route": {
30993
+ "verb": "POST",
30994
+ "path": "/patchLink"
30995
+ },
30996
+ "task": true
30997
+ },
30998
+ {
30999
+ "name": "searchLSPs",
31000
+ "summary": "The parameters and request body are for method: searchLSPs. Same endpoint also used in methods:",
31001
+ "description": "The parameters and request body are for method: searchLSPs. Same endpoint also used in methods:",
31002
+ "input": [
31003
+ {
31004
+ "name": "topologyId",
31005
+ "type": "string",
31006
+ "info": ": string",
31007
+ "required": true,
31008
+ "schema": {
31009
+ "title": "topologyId",
31010
+ "type": "string"
31011
+ }
31012
+ },
31013
+ {
31014
+ "name": "body",
31015
+ "type": "object",
31016
+ "info": ": object",
31017
+ "required": false,
31018
+ "schema": {
31019
+ "type": "object",
31020
+ "definitions": {}
31021
+ }
31022
+ },
31023
+ {
31024
+ "name": "iapMetadata",
31025
+ "type": "object",
31026
+ "info": "IAP Metadata object contains additional info needed for the request: payload, uriPathVars, uriQuery, uriOptions, addlHeaders, authData, callProperties, etc.",
31027
+ "required": false,
31028
+ "schema": {
31029
+ "title": "iapMetadata",
31030
+ "type": "object"
31031
+ }
31032
+ }
31033
+ ],
31034
+ "output": {
31035
+ "name": "result",
31036
+ "type": "object",
31037
+ "description": "A JSON Object containing status, code and the result",
31038
+ "schema": {
31039
+ "title": "result",
31040
+ "type": "object"
31041
+ }
31042
+ },
31043
+ "roles": [
31044
+ "admin"
31045
+ ],
31046
+ "route": {
31047
+ "verb": "POST",
31048
+ "path": "/searchLSPs"
31049
+ },
31050
+ "task": true
31051
+ },
31052
+ {
31053
+ "name": "patchATELSP",
31054
+ "summary": "The parameters and request body are for method: patchATELSP. Same endpoint also used in methods:",
31055
+ "description": "The parameters and request body are for method: patchATELSP. Same endpoint also used in methods:",
31056
+ "input": [
31057
+ {
31058
+ "name": "topologyId",
31059
+ "type": "string",
31060
+ "info": ": string",
31061
+ "required": true,
31062
+ "schema": {
31063
+ "title": "topologyId",
31064
+ "type": "string"
31065
+ }
31066
+ },
31067
+ {
31068
+ "name": "lspIndex",
31069
+ "type": "string",
31070
+ "info": ": string",
31071
+ "required": true,
31072
+ "schema": {
31073
+ "title": "lspIndex",
31074
+ "type": "string"
31075
+ }
31076
+ },
31077
+ {
31078
+ "name": "body",
31079
+ "type": "object",
31080
+ "info": ": object",
31081
+ "required": false,
31082
+ "schema": {
31083
+ "type": "object",
31084
+ "definitions": {}
31085
+ }
31086
+ },
31087
+ {
31088
+ "name": "iapMetadata",
31089
+ "type": "object",
31090
+ "info": "IAP Metadata object contains additional info needed for the request: payload, uriPathVars, uriQuery, uriOptions, addlHeaders, authData, callProperties, etc.",
31091
+ "required": false,
31092
+ "schema": {
31093
+ "title": "iapMetadata",
31094
+ "type": "object"
31095
+ }
31096
+ }
31097
+ ],
31098
+ "output": {
31099
+ "name": "result",
31100
+ "type": "object",
31101
+ "description": "A JSON Object containing status, code and the result",
31102
+ "schema": {
31103
+ "title": "result",
31104
+ "type": "object"
31105
+ }
31106
+ },
31107
+ "roles": [
31108
+ "admin"
31109
+ ],
31110
+ "route": {
31111
+ "verb": "POST",
31112
+ "path": "/patchATELSP"
31113
+ },
31114
+ "task": true
31115
+ },
31116
+ {
31117
+ "name": "deleteATELSP",
31118
+ "summary": "The parameters and request body are for method: deleteATELSP. Same endpoint also used in methods:",
31119
+ "description": "The parameters and request body are for method: deleteATELSP. Same endpoint also used in methods:",
31120
+ "input": [
31121
+ {
31122
+ "name": "topologyId",
31123
+ "type": "string",
31124
+ "info": ": string",
31125
+ "required": true,
31126
+ "schema": {
31127
+ "title": "topologyId",
31128
+ "type": "string"
31129
+ }
31130
+ },
31131
+ {
31132
+ "name": "lspIndex",
31133
+ "type": "string",
31134
+ "info": ": string",
31135
+ "required": true,
31136
+ "schema": {
31137
+ "title": "lspIndex",
31138
+ "type": "string"
31139
+ }
31140
+ },
31141
+ {
31142
+ "name": "body",
31143
+ "type": "object",
31144
+ "info": ": object",
31145
+ "required": false,
31146
+ "schema": {
31147
+ "type": "object",
31148
+ "definitions": {}
31149
+ }
31150
+ },
31151
+ {
31152
+ "name": "iapMetadata",
31153
+ "type": "object",
31154
+ "info": "IAP Metadata object contains additional info needed for the request: payload, uriPathVars, uriQuery, uriOptions, addlHeaders, authData, callProperties, etc.",
31155
+ "required": false,
31156
+ "schema": {
31157
+ "title": "iapMetadata",
31158
+ "type": "object"
31159
+ }
31160
+ }
31161
+ ],
31162
+ "output": {
31163
+ "name": "result",
31164
+ "type": "object",
31165
+ "description": "A JSON Object containing status, code and the result",
31166
+ "schema": {
31167
+ "title": "result",
31168
+ "type": "object"
31169
+ }
31170
+ },
31171
+ "roles": [
31172
+ "admin"
31173
+ ],
31174
+ "route": {
31175
+ "verb": "POST",
31176
+ "path": "/deleteATELSP"
31177
+ },
31178
+ "task": true
30835
31179
  }
30836
31180
  ],
30837
31181
  "views": []
@@ -1395,7 +1395,7 @@
1395
1395
  "Topology"
1396
1396
  ],
1397
1397
  "operationId": "getTopologyV2TopologyIdLinksSearch",
1398
- "description": "The parameters and request body are for method: getTopologyV2TopologyIdLinksSearch. Same endpoint also used in methods:",
1398
+ "description": "The parameters and request body are for method: getTopologyV2TopologyIdLinksSearch. Same endpoint also used in methods:<br> searchLinks (topologyId : string,body : object,iapMetadata : object)",
1399
1399
  "responses": {
1400
1400
  "200": {
1401
1401
  "description": "Successful operation",
@@ -1546,7 +1546,7 @@
1546
1546
  "Topology"
1547
1547
  ],
1548
1548
  "operationId": "patchTopologyV2TopologyIdLinksLinkIndex",
1549
- "description": "The parameters and request body are for method: patchTopologyV2TopologyIdLinksLinkIndex. Same endpoint also used in methods:",
1549
+ "description": "The parameters and request body are for method: patchTopologyV2TopologyIdLinksLinkIndex. Same endpoint also used in methods:<br> patchLink (topologyId : string,linkIndex : string,body : object,iapMetadata : object)",
1550
1550
  "responses": {
1551
1551
  "200": {
1552
1552
  "description": "Successful operation",
@@ -2140,7 +2140,7 @@
2140
2140
  "Topology"
2141
2141
  ],
2142
2142
  "operationId": "getTopologyV2TopologyIdTeLspsSearch",
2143
- "description": "The parameters and request body are for method: getTopologyV2TopologyIdTeLspsSearch. Same endpoint also used in methods:",
2143
+ "description": "The parameters and request body are for method: getTopologyV2TopologyIdTeLspsSearch. Same endpoint also used in methods:<br> searchLSPs (topologyId : string,body : object,iapMetadata : object)",
2144
2144
  "responses": {
2145
2145
  "200": {
2146
2146
  "description": "Successful operation",
@@ -2500,7 +2500,7 @@
2500
2500
  "Topology"
2501
2501
  ],
2502
2502
  "operationId": "patchTopologyV2TopologyIdTeLspsLspIndex",
2503
- "description": "The parameters and request body are for method: patchTopologyV2TopologyIdTeLspsLspIndex. Same endpoint also used in methods:",
2503
+ "description": "The parameters and request body are for method: patchTopologyV2TopologyIdTeLspsLspIndex. Same endpoint also used in methods:<br> patchATELSP (topologyId : string,lspIndex : string,body : object,iapMetadata : object)",
2504
2504
  "responses": {
2505
2505
  "200": {
2506
2506
  "description": "Successful operation",
@@ -2550,7 +2550,7 @@
2550
2550
  "Topology"
2551
2551
  ],
2552
2552
  "operationId": "deleteTopologyV2TopologyIdTeLspsLspIndex",
2553
- "description": "The parameters and request body are for method: deleteTopologyV2TopologyIdTeLspsLspIndex. Same endpoint also used in methods:",
2553
+ "description": "The parameters and request body are for method: deleteTopologyV2TopologyIdTeLspsLspIndex. Same endpoint also used in methods:<br> deleteATELSP (topologyId : string,lspIndex : string,body : object,iapMetadata : object)",
2554
2554
  "responses": {
2555
2555
  "200": {
2556
2556
  "description": "Successful operation",
@@ -6606,6 +6606,38 @@
6606
6606
  }
6607
6607
  }
6608
6608
  }
6609
+ },
6610
+ "/iam/authenticate": {
6611
+ "post": {
6612
+ "tags": [
6613
+ "Authentication"
6614
+ ],
6615
+ "operationId": "authenticationToken",
6616
+ "description": "The parameters and request body are for method: authenticationToken. Same endpoint also used in methods:",
6617
+ "responses": {
6618
+ "200": {
6619
+ "description": "Successful operation",
6620
+ "content": {
6621
+ "application/json": {
6622
+ "schema": {
6623
+ "title": "result",
6624
+ "type": "object"
6625
+ }
6626
+ }
6627
+ }
6628
+ }
6629
+ },
6630
+ "requestBody": {
6631
+ "description": "indeterminate body object",
6632
+ "content": {
6633
+ "application/json": {
6634
+ "schema": {
6635
+ "type": "object"
6636
+ }
6637
+ }
6638
+ }
6639
+ }
6640
+ }
6609
6641
  }
6610
6642
  },
6611
6643
  "components": {