@itentialopensource/adapter-f5_bigiq 0.5.6 → 0.5.8
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/CALLS.md +612 -0
- package/adapter.js +11310 -0
- package/entities/BIGIPAuthentication/action.json +106 -0
- package/entities/BIGIPAuthentication/schema.json +23 -0
- package/entities/BIGIPConfigurationManagement/action.json +310 -0
- package/entities/BIGIPConfigurationManagement/schema.json +33 -0
- package/entities/BIGIPLocalTrafficManager/action.json +1042 -0
- package/entities/BIGIPLocalTrafficManager/schema.json +69 -0
- package/entities/BIGIPNetwork/action.json +432 -0
- package/entities/BIGIPNetwork/schema.json +39 -0
- package/entities/BIGIPSystem/action.json +209 -0
- package/entities/BIGIPSystem/schema.json +28 -0
- package/package.json +2 -2
- package/pronghorn.json +5958 -0
- package/report/adapterInfo.json +7 -7
- package/test/integration/adapterTestIntegration.js +2596 -0
- package/test/unit/adapterTestUnit.js +4795 -1
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getSysGlobalSettings",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/{pathv1}/rest-proxy/mgmt/tm/sys/global-settings?{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
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "updateSysGlobalSettings",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "PUT",
|
|
28
|
+
"entitypath": "{base_path}/{version}/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/{pathv1}/rest-proxy/mgmt/tm/sys/global-settings?{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": "patchSysGlobalSettings",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "PATCH",
|
|
48
|
+
"entitypath": "{base_path}/{version}/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/{pathv1}/rest-proxy/mgmt/tm/sys/global-settings?{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
|
+
"name": "getSysNTPSettings",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "GET",
|
|
68
|
+
"entitypath": "{base_path}/{version}/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/{pathv1}/rest-proxy/mgmt/tm/sys/ntp?{query}",
|
|
69
|
+
"requestSchema": "schema.json",
|
|
70
|
+
"responseSchema": "schema.json",
|
|
71
|
+
"timeout": 0,
|
|
72
|
+
"sendEmpty": false,
|
|
73
|
+
"sendGetBody": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "setSysNTPSettings",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PATCH",
|
|
89
|
+
"entitypath": "{base_path}/{version}/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/{pathv1}/rest-proxy/mgmt/tm/sys/ntp?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"requestDatatype": "JSON",
|
|
95
|
+
"responseDatatype": "JSON",
|
|
96
|
+
"headers": {},
|
|
97
|
+
"responseObjects": [
|
|
98
|
+
{
|
|
99
|
+
"type": "default",
|
|
100
|
+
"key": "",
|
|
101
|
+
"mockFile": ""
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "getSysSoftwareImages",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/{pathv1}/rest-proxy/mgmt/tm/sys/software/volume?{query}",
|
|
110
|
+
"requestSchema": "schema.json",
|
|
111
|
+
"responseSchema": "schema.json",
|
|
112
|
+
"timeout": 0,
|
|
113
|
+
"sendEmpty": false,
|
|
114
|
+
"sendGetBody": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "deleteSysSoftwareVolume",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "DELETE",
|
|
130
|
+
"entitypath": "{base_path}/{version}/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/{pathv1}/rest-proxy/mgmt/tm/sys/software/volume/{pathv2}?{query}",
|
|
131
|
+
"requestSchema": "schema.json",
|
|
132
|
+
"responseSchema": "schema.json",
|
|
133
|
+
"timeout": 0,
|
|
134
|
+
"sendEmpty": false,
|
|
135
|
+
"requestDatatype": "JSON",
|
|
136
|
+
"responseDatatype": "JSON",
|
|
137
|
+
"headers": {},
|
|
138
|
+
"responseObjects": [
|
|
139
|
+
{
|
|
140
|
+
"type": "default",
|
|
141
|
+
"key": "",
|
|
142
|
+
"mockFile": ""
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "getSysSoftwareVolumeByName",
|
|
148
|
+
"protocol": "REST",
|
|
149
|
+
"method": "GET",
|
|
150
|
+
"entitypath": "{base_path}/{version}/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/{pathv1}/rest-proxy/mgmt/tm/sys/software/volume/{pathv2}?{query}",
|
|
151
|
+
"requestSchema": "schema.json",
|
|
152
|
+
"responseSchema": "schema.json",
|
|
153
|
+
"timeout": 0,
|
|
154
|
+
"sendEmpty": false,
|
|
155
|
+
"sendGetBody": false,
|
|
156
|
+
"requestDatatype": "JSON",
|
|
157
|
+
"responseDatatype": "JSON",
|
|
158
|
+
"headers": {},
|
|
159
|
+
"responseObjects": [
|
|
160
|
+
{
|
|
161
|
+
"type": "default",
|
|
162
|
+
"key": "",
|
|
163
|
+
"mockFile": ""
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "getSysDnsSettings",
|
|
169
|
+
"protocol": "REST",
|
|
170
|
+
"method": "GET",
|
|
171
|
+
"entitypath": "{base_path}/{version}/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/{pathv1}/rest-proxy/mgmt/tm/sys/dns?{query}",
|
|
172
|
+
"requestSchema": "schema.json",
|
|
173
|
+
"responseSchema": "schema.json",
|
|
174
|
+
"timeout": 0,
|
|
175
|
+
"sendEmpty": false,
|
|
176
|
+
"sendGetBody": false,
|
|
177
|
+
"requestDatatype": "JSON",
|
|
178
|
+
"responseDatatype": "JSON",
|
|
179
|
+
"headers": {},
|
|
180
|
+
"responseObjects": [
|
|
181
|
+
{
|
|
182
|
+
"type": "default",
|
|
183
|
+
"key": "",
|
|
184
|
+
"mockFile": ""
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "setSysDnsSettings",
|
|
190
|
+
"protocol": "REST",
|
|
191
|
+
"method": "PATCH",
|
|
192
|
+
"entitypath": "{base_path}/{version}/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/{pathv1}/rest-proxy/mgmt/tm/sys/dns?{query}",
|
|
193
|
+
"requestSchema": "schema.json",
|
|
194
|
+
"responseSchema": "schema.json",
|
|
195
|
+
"timeout": 0,
|
|
196
|
+
"sendEmpty": false,
|
|
197
|
+
"requestDatatype": "JSON",
|
|
198
|
+
"responseDatatype": "JSON",
|
|
199
|
+
"headers": {},
|
|
200
|
+
"responseObjects": [
|
|
201
|
+
{
|
|
202
|
+
"type": "default",
|
|
203
|
+
"key": "",
|
|
204
|
+
"mockFile": ""
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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": "getSysGlobalSettings",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getSysGlobalSettings",
|
|
14
|
+
"updateSysGlobalSettings",
|
|
15
|
+
"patchSysGlobalSettings",
|
|
16
|
+
"getSysNTPSettings",
|
|
17
|
+
"setSysNTPSettings",
|
|
18
|
+
"getSysSoftwareImages",
|
|
19
|
+
"deleteSysSoftwareVolume",
|
|
20
|
+
"getSysSoftwareVolumeByName",
|
|
21
|
+
"getSysDnsSettings",
|
|
22
|
+
"setSysDnsSettings"
|
|
23
|
+
],
|
|
24
|
+
"external_name": "ph_request_type"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"definitions": {}
|
|
28
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-f5_bigiq",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.8",
|
|
4
4
|
"description": "This adapter integrates with system described as: f5Big-iqApi.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"wizardVersion": "2.44.7",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@itentialopensource/adapter-utils": "^5.10.1",
|
|
58
58
|
"acorn": "^8.14.0",
|
|
59
59
|
"ajv": "^8.17.1",
|
|
60
|
-
"axios": "^1.
|
|
60
|
+
"axios": "^1.8.2",
|
|
61
61
|
"commander": "^11.0.0",
|
|
62
62
|
"dns-lookup-promise": "^1.0.4",
|
|
63
63
|
"fs-extra": "^11.2.0",
|