@itentialopensource/adapter-infoblox 1.9.1 → 1.10.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/.eslintignore +1 -0
- package/.eslintrc.js +12 -12
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +169 -0
- package/CHANGELOG.md +68 -49
- package/CODE_OF_CONDUCT.md +12 -17
- package/CONTRIBUTING.md +88 -74
- package/ENHANCE.md +69 -0
- package/PROPERTIES.md +641 -0
- package/README.md +244 -392
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +5177 -2074
- package/adapterBase.js +1330 -49
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/DNSProperties/action.json +1 -1
- package/entities/DNSProperties/mockdatafiles/getGridDnsData.json +3 -0
- package/entities/ExtensibleAttributes/action.json +63 -0
- package/entities/ExtensibleAttributes/schema.json +4 -1
- package/entities/NetworkViewsAndDNSViews/action.json +63 -0
- package/entities/NetworkViewsAndDNSViews/schema.json +4 -1
- package/entities/Networks/action.json +49 -7
- package/entities/Networks/requestSchema.json +3 -1
- package/entities/Networks/responseSchema.json +3 -1
- package/entities/Records/action.json +7 -7
- package/entities/Services/action.json +22 -1
- package/entities/Services/schema.json +1 -0
- package/entities/Zones/action.json +3 -3
- package/error.json +12 -0
- package/package.json +47 -23
- package/pronghorn.json +1079 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +505 -11
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/updateReport1594212087590.json +95 -0
- package/report/updateReport1615140322137.json +95 -0
- package/report/updateReport1646675873230.json +95 -0
- package/report/updateReport1653911824054.json +120 -0
- package/sampleProperties.json +110 -6
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +390 -181
- package/test/unit/adapterBaseTestUnit.js +949 -0
- package/test/unit/adapterTestUnit.js +1181 -272
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +0 -1
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +1 -1
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +3 -0
- package/utils/removeHooks.js +20 -0
- package/utils/tbScript.js +184 -0
- package/utils/tbUtils.js +469 -0
- package/utils/testRunner.js +16 -16
- package/utils/troubleshootingAdapter.js +190 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getGenerics",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{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": "createGeneric",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"sendGetBody": false,
|
|
34
|
+
"requestDatatype": "JSON",
|
|
35
|
+
"responseDatatype": "JSON",
|
|
36
|
+
"headers": {},
|
|
37
|
+
"responseObjects": [
|
|
38
|
+
{
|
|
39
|
+
"type": "default",
|
|
40
|
+
"key": "",
|
|
41
|
+
"mockFile": ""
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "updateGeneric",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "PUT",
|
|
49
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"sendGetBody": false,
|
|
55
|
+
"requestDatatype": "JSON",
|
|
56
|
+
"responseDatatype": "JSON",
|
|
57
|
+
"headers": {},
|
|
58
|
+
"responseObjects": [
|
|
59
|
+
{
|
|
60
|
+
"type": "default",
|
|
61
|
+
"key": "",
|
|
62
|
+
"mockFile": ""
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "patchGeneric",
|
|
68
|
+
"protocol": "REST",
|
|
69
|
+
"method": "PATCH",
|
|
70
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
71
|
+
"requestSchema": "schema.json",
|
|
72
|
+
"responseSchema": "schema.json",
|
|
73
|
+
"timeout": 0,
|
|
74
|
+
"sendEmpty": false,
|
|
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": "deleteGeneric",
|
|
89
|
+
"protocol": "REST",
|
|
90
|
+
"method": "DELETE",
|
|
91
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
92
|
+
"requestSchema": "schema.json",
|
|
93
|
+
"responseSchema": "schema.json",
|
|
94
|
+
"timeout": 0,
|
|
95
|
+
"sendEmpty": false,
|
|
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": "getGenericsNoBase",
|
|
110
|
+
"protocol": "REST",
|
|
111
|
+
"method": "GET",
|
|
112
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
113
|
+
"requestSchema": "schema.json",
|
|
114
|
+
"responseSchema": "schema.json",
|
|
115
|
+
"timeout": 0,
|
|
116
|
+
"sendEmpty": false,
|
|
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": "createGenericNoBase",
|
|
131
|
+
"protocol": "REST",
|
|
132
|
+
"method": "POST",
|
|
133
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
134
|
+
"requestSchema": "schema.json",
|
|
135
|
+
"responseSchema": "schema.json",
|
|
136
|
+
"timeout": 0,
|
|
137
|
+
"sendEmpty": false,
|
|
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": "updateGenericNoBase",
|
|
152
|
+
"protocol": "REST",
|
|
153
|
+
"method": "PUT",
|
|
154
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
155
|
+
"requestSchema": "schema.json",
|
|
156
|
+
"responseSchema": "schema.json",
|
|
157
|
+
"timeout": 0,
|
|
158
|
+
"sendEmpty": false,
|
|
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": "patchGenericNoBase",
|
|
173
|
+
"protocol": "REST",
|
|
174
|
+
"method": "PATCH",
|
|
175
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{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": "deleteGenericNoBase",
|
|
194
|
+
"protocol": "REST",
|
|
195
|
+
"method": "DELETE",
|
|
196
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
197
|
+
"requestSchema": "schema.json",
|
|
198
|
+
"responseSchema": "schema.json",
|
|
199
|
+
"timeout": 0,
|
|
200
|
+
"sendEmpty": false,
|
|
201
|
+
"sendGetBody": false,
|
|
202
|
+
"requestDatatype": "JSON",
|
|
203
|
+
"responseDatatype": "JSON",
|
|
204
|
+
"headers": {},
|
|
205
|
+
"responseObjects": [
|
|
206
|
+
{
|
|
207
|
+
"type": "default",
|
|
208
|
+
"key": "",
|
|
209
|
+
"mockFile": ""
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "generic_schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "getGeneric",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getGenerics",
|
|
14
|
+
"createGeneric",
|
|
15
|
+
"updateGeneric",
|
|
16
|
+
"patchGeneric",
|
|
17
|
+
"deleteGeneric",
|
|
18
|
+
"getGenericsNoBase",
|
|
19
|
+
"createGenericNoBase",
|
|
20
|
+
"updateGenericNoBase",
|
|
21
|
+
"patchGenericNoBase",
|
|
22
|
+
"deleteGenericNoBase"
|
|
23
|
+
],
|
|
24
|
+
"external_name": "ph_request_type"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"definitions": {}
|
|
28
|
+
}
|
|
@@ -41,6 +41,69 @@
|
|
|
41
41
|
"mockFile": ""
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "getExtensibleAttributeDefinitionById",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "GET",
|
|
49
|
+
"entitypath": "{base_path}/{version}/extensibleattributedef/{pathv1}?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"sendGetBody": false,
|
|
55
|
+
"requestDatatype": "JSON",
|
|
56
|
+
"responseDatatype": "JSON",
|
|
57
|
+
"headers": {},
|
|
58
|
+
"responseObjects": [
|
|
59
|
+
{
|
|
60
|
+
"type": "default",
|
|
61
|
+
"key": "",
|
|
62
|
+
"mockFile": ""
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "updateExtensibleAttributeDefinition",
|
|
68
|
+
"protocol": "REST",
|
|
69
|
+
"method": "PUT",
|
|
70
|
+
"entitypath": "{base_path}/{version}/extensibleattributedef/{pathv1}?{query}",
|
|
71
|
+
"requestSchema": "schema.json",
|
|
72
|
+
"responseSchema": "schema.json",
|
|
73
|
+
"timeout": 0,
|
|
74
|
+
"sendEmpty": false,
|
|
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": "deleteExtensibleAttributeDefinition",
|
|
89
|
+
"protocol": "REST",
|
|
90
|
+
"method": "DELETE",
|
|
91
|
+
"entitypath": "{base_path}/{version}/extensibleattributedef/{pathv1}?{query}",
|
|
92
|
+
"requestSchema": "schema.json",
|
|
93
|
+
"responseSchema": "schema.json",
|
|
94
|
+
"timeout": 0,
|
|
95
|
+
"sendEmpty": false,
|
|
96
|
+
"sendGetBody": false,
|
|
97
|
+
"requestDatatype": "JSON",
|
|
98
|
+
"responseDatatype": "JSON",
|
|
99
|
+
"headers": {},
|
|
100
|
+
"responseObjects": [
|
|
101
|
+
{
|
|
102
|
+
"type": "default",
|
|
103
|
+
"key": "",
|
|
104
|
+
"mockFile": ""
|
|
105
|
+
}
|
|
106
|
+
]
|
|
44
107
|
}
|
|
45
108
|
]
|
|
46
109
|
}
|
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
"default": "getExtensibleAttributeDefinition",
|
|
12
12
|
"enum": [
|
|
13
13
|
"getExtensibleAttributeDefinition",
|
|
14
|
-
"createExtensibleAttributeDefinition"
|
|
14
|
+
"createExtensibleAttributeDefinition",
|
|
15
|
+
"getExtensibleAttributeDefinitionById",
|
|
16
|
+
"updateExtensibleAttributeDefinition",
|
|
17
|
+
"deleteExtensibleAttributeDefinition"
|
|
15
18
|
],
|
|
16
19
|
"external_name": "ph_request_type"
|
|
17
20
|
}
|
|
@@ -62,6 +62,69 @@
|
|
|
62
62
|
"mockFile": ""
|
|
63
63
|
}
|
|
64
64
|
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "getNetworkViewById",
|
|
68
|
+
"protocol": "REST",
|
|
69
|
+
"method": "GET",
|
|
70
|
+
"entitypath": "{base_path}/{version}/networkview/{pathv1}?{query}",
|
|
71
|
+
"requestSchema": "schema.json",
|
|
72
|
+
"responseSchema": "schema.json",
|
|
73
|
+
"timeout": 0,
|
|
74
|
+
"sendEmpty": false,
|
|
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": "updateNetworkView",
|
|
89
|
+
"protocol": "REST",
|
|
90
|
+
"method": "PUT",
|
|
91
|
+
"entitypath": "{base_path}/{version}/networkview/{pathv1}?{query}",
|
|
92
|
+
"requestSchema": "schema.json",
|
|
93
|
+
"responseSchema": "schema.json",
|
|
94
|
+
"timeout": 0,
|
|
95
|
+
"sendEmpty": false,
|
|
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": "deleteNetworkView",
|
|
110
|
+
"protocol": "REST",
|
|
111
|
+
"method": "DELETE",
|
|
112
|
+
"entitypath": "{base_path}/{version}/networkview/{pathv1}?{query}",
|
|
113
|
+
"requestSchema": "schema.json",
|
|
114
|
+
"responseSchema": "schema.json",
|
|
115
|
+
"timeout": 0,
|
|
116
|
+
"sendEmpty": false,
|
|
117
|
+
"sendGetBody": false,
|
|
118
|
+
"requestDatatype": "JSON",
|
|
119
|
+
"responseDatatype": "JSON",
|
|
120
|
+
"headers": {},
|
|
121
|
+
"responseObjects": [
|
|
122
|
+
{
|
|
123
|
+
"type": "default",
|
|
124
|
+
"key": "",
|
|
125
|
+
"mockFile": ""
|
|
126
|
+
}
|
|
127
|
+
]
|
|
65
128
|
}
|
|
66
129
|
]
|
|
67
130
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"name": "getNetworkDetails",
|
|
46
46
|
"protocol": "REST",
|
|
47
47
|
"method": "GET",
|
|
48
|
-
"entitypath": "{base_path}/{version}/network{pathv1}?{query}",
|
|
48
|
+
"entitypath": "{base_path}/{version}/network/{pathv1}?{query}",
|
|
49
49
|
"requestSchema": "requestSchema.json",
|
|
50
50
|
"responseSchema": "responseSchema.json",
|
|
51
51
|
"timeout": 0,
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"name": "getNetworkContainerDetails",
|
|
88
88
|
"protocol": "REST",
|
|
89
89
|
"method": "GET",
|
|
90
|
-
"entitypath": "{base_path}/{version}/networkcontainer{pathv1}?{query}",
|
|
90
|
+
"entitypath": "{base_path}/{version}/networkcontainer/{pathv1}?{query}",
|
|
91
91
|
"requestSchema": "requestSchema.json",
|
|
92
92
|
"responseSchema": "responseSchema.json",
|
|
93
93
|
"timeout": 0,
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"name": "getNetworkUtilizationByIP",
|
|
193
193
|
"protocol": "REST",
|
|
194
194
|
"method": "GET",
|
|
195
|
-
"entitypath": "{base_path}/{version}/ipam:statistics{pathv1}?{query}",
|
|
195
|
+
"entitypath": "{base_path}/{version}/ipam:statistics/{pathv1}?{query}",
|
|
196
196
|
"requestSchema": "requestSchema.json",
|
|
197
197
|
"responseSchema": "responseSchema.json",
|
|
198
198
|
"timeout": 0,
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
"name": "getNextAvailableIp",
|
|
298
298
|
"protocol": "REST",
|
|
299
299
|
"method": "POST",
|
|
300
|
-
"entitypath": "{base_path}/{version}/network{pathv1}?{query}",
|
|
300
|
+
"entitypath": "{base_path}/{version}/network/{pathv1}?{query}",
|
|
301
301
|
"requestSchema": "requestSchema.json",
|
|
302
302
|
"responseSchema": "responseSchema.json",
|
|
303
303
|
"timeout": 0,
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
"name": "getNextAvailableIps",
|
|
319
319
|
"protocol": "REST",
|
|
320
320
|
"method": "POST",
|
|
321
|
-
"entitypath": "{base_path}/{version}/network{pathv1}?{query}",
|
|
321
|
+
"entitypath": "{base_path}/{version}/network/{pathv1}?{query}",
|
|
322
322
|
"requestSchema": "requestSchema.json",
|
|
323
323
|
"responseSchema": "responseSchema.json",
|
|
324
324
|
"timeout": 0,
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
"name": "deleteNetworkByNetworkKey",
|
|
340
340
|
"protocol": "REST",
|
|
341
341
|
"method": "DELETE",
|
|
342
|
-
"entitypath": "{base_path}/{version}/network{pathv1}?{query}",
|
|
342
|
+
"entitypath": "{base_path}/{version}/network/{pathv1}?{query}",
|
|
343
343
|
"requestSchema": "requestSchema.json",
|
|
344
344
|
"responseSchema": "responseSchema.json",
|
|
345
345
|
"timeout": 0,
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
"name": "deleteNetworkContainerByNetworkKey",
|
|
361
361
|
"protocol": "REST",
|
|
362
362
|
"method": "DELETE",
|
|
363
|
-
"entitypath": "{base_path}/{version}/networkcontainer{pathv1}?{query}",
|
|
363
|
+
"entitypath": "{base_path}/{version}/networkcontainer/{pathv1}?{query}",
|
|
364
364
|
"requestSchema": "requestSchema.json",
|
|
365
365
|
"responseSchema": "responseSchema.json",
|
|
366
366
|
"timeout": 0,
|
|
@@ -376,6 +376,48 @@
|
|
|
376
376
|
"mockFile": "mockdatafiles/deleteNetworkContainerByNetworkKey.json"
|
|
377
377
|
}
|
|
378
378
|
]
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"name": "getNetworkContainerNextNetworkIps",
|
|
382
|
+
"protocol": "REST",
|
|
383
|
+
"method": "POST",
|
|
384
|
+
"entitypath": "{base_path}/{version}/networkcontainer/{pathv1}/{pathv2}?{query}",
|
|
385
|
+
"requestSchema": "requestSchema.json",
|
|
386
|
+
"responseSchema": "responseSchema.json",
|
|
387
|
+
"timeout": 0,
|
|
388
|
+
"sendEmpty": false,
|
|
389
|
+
"sendGetBody": false,
|
|
390
|
+
"requestDatatype": "JSON",
|
|
391
|
+
"responseDatatype": "JSON",
|
|
392
|
+
"headers": {},
|
|
393
|
+
"responseObjects": [
|
|
394
|
+
{
|
|
395
|
+
"type": "default",
|
|
396
|
+
"key": "",
|
|
397
|
+
"mockFile": ""
|
|
398
|
+
}
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "getIpv6NetworkContainerNextNetworkIps",
|
|
403
|
+
"protocol": "REST",
|
|
404
|
+
"method": "POST",
|
|
405
|
+
"entitypath": "{base_path}/{version}/ipv6networkcontainer/{pathv1}/{pathv2}?{query}",
|
|
406
|
+
"requestSchema": "requestSchema.json",
|
|
407
|
+
"responseSchema": "responseSchema.json",
|
|
408
|
+
"timeout": 0,
|
|
409
|
+
"sendEmpty": false,
|
|
410
|
+
"sendGetBody": false,
|
|
411
|
+
"requestDatatype": "JSON",
|
|
412
|
+
"responseDatatype": "JSON",
|
|
413
|
+
"headers": {},
|
|
414
|
+
"responseObjects": [
|
|
415
|
+
{
|
|
416
|
+
"type": "default",
|
|
417
|
+
"key": "",
|
|
418
|
+
"mockFile": ""
|
|
419
|
+
}
|
|
420
|
+
]
|
|
379
421
|
}
|
|
380
422
|
]
|
|
381
423
|
}
|
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
"getNetworkContainerDetails",
|
|
26
26
|
"deleteNetworkContainerByNetworkKey",
|
|
27
27
|
"deleteNetwork",
|
|
28
|
-
"modifyNetworkBlock"
|
|
28
|
+
"modifyNetworkBlock",
|
|
29
|
+
"getNetworkContainerNextNetworkIps",
|
|
30
|
+
"getIpv6NetworkContainerNextNetworkIps"
|
|
29
31
|
],
|
|
30
32
|
"external_name": "ph_request_type"
|
|
31
33
|
},
|
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
"getNetworkContainerDetails",
|
|
24
24
|
"deleteNetworkContainerByNetworkKey",
|
|
25
25
|
"deleteNetwork",
|
|
26
|
-
"modifyNetworkBlock"
|
|
26
|
+
"modifyNetworkBlock",
|
|
27
|
+
"getNetworkContainerNextNetworkIps",
|
|
28
|
+
"getIpv6NetworkContainerNextNetworkIps"
|
|
27
29
|
],
|
|
28
30
|
"external_name": "ph_request_type"
|
|
29
31
|
},
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"name": "createHostRecord",
|
|
47
47
|
"protocol": "REST",
|
|
48
48
|
"method": "POST",
|
|
49
|
-
"entitypath": "{base_path}/{version}/record:host{pathv1}?{query}",
|
|
49
|
+
"entitypath": "{base_path}/{version}/record:host/{pathv1}?{query}",
|
|
50
50
|
"requestSchema": "requestSchema.json",
|
|
51
51
|
"responseSchema": "responseSchema.json",
|
|
52
52
|
"timeout": 0,
|
|
@@ -592,7 +592,7 @@
|
|
|
592
592
|
"name": "createHostRecord2",
|
|
593
593
|
"protocol": "REST",
|
|
594
594
|
"method": "POST",
|
|
595
|
-
"entitypath": "{base_path}/{version}/record:host{pathv1}?{query}",
|
|
595
|
+
"entitypath": "{base_path}/{version}/record:host/{pathv1}?{query}",
|
|
596
596
|
"requestSchema": "requestSchema.json",
|
|
597
597
|
"responseSchema": "responseSchema.json",
|
|
598
598
|
"timeout": 0,
|
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
"name": "getHostKeyByHostName",
|
|
613
613
|
"protocol": "REST",
|
|
614
614
|
"method": "GET",
|
|
615
|
-
"entitypath": "{base_path}/{version}/record:host{pathv1}?{query}",
|
|
615
|
+
"entitypath": "{base_path}/{version}/record:host/{pathv1}?{query}",
|
|
616
616
|
"requestSchema": "requestSchema.json",
|
|
617
617
|
"responseSchema": "responseSchema.json",
|
|
618
618
|
"timeout": 0,
|
|
@@ -633,7 +633,7 @@
|
|
|
633
633
|
"name": "getIpByHost",
|
|
634
634
|
"protocol": "REST",
|
|
635
635
|
"method": "GET",
|
|
636
|
-
"entitypath": "{base_path}/{version}/record:host{pathv1}?{query}",
|
|
636
|
+
"entitypath": "{base_path}/{version}/record:host/{pathv1}?{query}",
|
|
637
637
|
"requestSchema": "requestSchema.json",
|
|
638
638
|
"responseSchema": "responseSchema.json",
|
|
639
639
|
"timeout": 0,
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
"name": "getHostByIp",
|
|
655
655
|
"protocol": "REST",
|
|
656
656
|
"method": "GET",
|
|
657
|
-
"entitypath": "{base_path}/{version}/ipv4address{pathv1}?{query}",
|
|
657
|
+
"entitypath": "{base_path}/{version}/ipv4address/{pathv1}?{query}",
|
|
658
658
|
"requestSchema": "requestSchema.json",
|
|
659
659
|
"responseSchema": "responseSchema.json",
|
|
660
660
|
"timeout": 0,
|
|
@@ -675,7 +675,7 @@
|
|
|
675
675
|
"name": "deleteHostRecordByHostName",
|
|
676
676
|
"protocol": "REST",
|
|
677
677
|
"method": "DELETE",
|
|
678
|
-
"entitypath": "{base_path}/{version}/record:host{pathv1}?{query}",
|
|
678
|
+
"entitypath": "{base_path}/{version}/record:host/{pathv1}?{query}",
|
|
679
679
|
"requestSchema": "requestSchema.json",
|
|
680
680
|
"responseSchema": "responseSchema.json",
|
|
681
681
|
"timeout": 0,
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
"name": "unassignIP",
|
|
697
697
|
"protocol": "REST",
|
|
698
698
|
"method": "DELETE",
|
|
699
|
-
"entitypath": "{base_path}/{version}/ipv4address{pathv1}?{query}",
|
|
699
|
+
"entitypath": "{base_path}/{version}/ipv4address/{pathv1}?{query}",
|
|
700
700
|
"requestSchema": "requestSchema.json",
|
|
701
701
|
"responseSchema": "responseSchema.json",
|
|
702
702
|
"timeout": 0,
|
|
@@ -21,6 +21,27 @@
|
|
|
21
21
|
}
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
|
+
{
|
|
25
|
+
"name": "getGridStatus",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"entitypath": "{base_path}/{version}/grid:servicerestart:status?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"sendGetBody": false,
|
|
34
|
+
"requestDatatype": "JSON",
|
|
35
|
+
"responseDatatype": "JSON",
|
|
36
|
+
"headers": {},
|
|
37
|
+
"responseObjects": [
|
|
38
|
+
{
|
|
39
|
+
"type": "default",
|
|
40
|
+
"key": "",
|
|
41
|
+
"mockFile": ""
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
24
45
|
{
|
|
25
46
|
"name": "getGridPendingChanges",
|
|
26
47
|
"protocol": "REST",
|
|
@@ -64,4 +85,4 @@
|
|
|
64
85
|
]
|
|
65
86
|
}
|
|
66
87
|
]
|
|
67
|
-
}
|
|
88
|
+
}
|