@itentialopensource/adapter-infoblox_universal_ddi 0.1.1
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 +5 -0
- package/.eslintrc.js +19 -0
- package/.jshintrc +3 -0
- package/AUTH.md +39 -0
- package/BROKER.md +211 -0
- package/CALLS.md +923 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +661 -0
- package/README.md +344 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +16 -0
- package/TAB1.md +10 -0
- package/TAB2.md +314 -0
- package/TROUBLESHOOT.md +56 -0
- package/UTILITIES.md +473 -0
- package/adapter.js +13131 -0
- package/adapterBase.js +1488 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/Address/action.json +106 -0
- package/entities/Address/schema.json +122 -0
- package/entities/AddressBlock/action.json +270 -0
- package/entities/AddressBlock/schema.json +163 -0
- package/entities/Asm/action.json +66 -0
- package/entities/Asm/schema.json +43 -0
- package/entities/ConfigProfile/action.json +126 -0
- package/entities/ConfigProfile/schema.json +90 -0
- package/entities/DhcpHost/action.json +87 -0
- package/entities/DhcpHost/schema.json +110 -0
- package/entities/DhcpUniversalService/action.json +46 -0
- package/entities/DhcpUniversalService/schema.json +20 -0
- package/entities/DnsUsage/action.json +46 -0
- package/entities/DnsUsage/schema.json +86 -0
- package/entities/Filter/action.json +25 -0
- package/entities/Filter/schema.json +107 -0
- package/entities/FixedAddress/action.json +106 -0
- package/entities/FixedAddress/schema.json +111 -0
- package/entities/Global/action.json +86 -0
- package/entities/Global/schema.json +33 -0
- package/entities/HaGroup/action.json +106 -0
- package/entities/HaGroup/schema.json +122 -0
- package/entities/HardwareFilter/action.json +106 -0
- package/entities/HardwareFilter/schema.json +111 -0
- package/entities/IpSpace/action.json +167 -0
- package/entities/IpSpace/schema.json +136 -0
- package/entities/IpamHost/action.json +106 -0
- package/entities/IpamHost/schema.json +111 -0
- package/entities/LeasesCommand/action.json +24 -0
- package/entities/LeasesCommand/schema.json +19 -0
- package/entities/MacAddressItem/action.json +146 -0
- package/entities/MacAddressItem/schema.json +91 -0
- package/entities/OptionCode/action.json +106 -0
- package/entities/OptionCode/schema.json +89 -0
- package/entities/OptionFilter/action.json +106 -0
- package/entities/OptionFilter/schema.json +111 -0
- package/entities/OptionGroup/action.json +106 -0
- package/entities/OptionGroup/schema.json +111 -0
- package/entities/OptionSpace/action.json +106 -0
- package/entities/OptionSpace/schema.json +111 -0
- package/entities/Range/action.json +147 -0
- package/entities/Range/schema.json +113 -0
- package/entities/Server/action.json +106 -0
- package/entities/Server/schema.json +111 -0
- package/entities/Service/action.json +46 -0
- package/entities/Service/schema.json +108 -0
- package/entities/Subnet/action.json +188 -0
- package/entities/Subnet/schema.json +137 -0
- package/error.json +190 -0
- package/metadata.json +61 -0
- package/package.json +75 -0
- package/pronghorn.json +8232 -0
- package/propertiesDecorators.json +18 -0
- package/propertiesSchema.json +1727 -0
- package/report/adapterInfo.json +10 -0
- package/report/auto-adapter-openapi.json +6163 -0
- package/report/creationReport.json +1150 -0
- package/report/universal_ddi_v1.json +10288 -0
- package/sampleProperties.json +260 -0
- package/test/integration/adapterTestBasicGet.js +117 -0
- package/test/integration/adapterTestConnectivity.js +117 -0
- package/test/integration/adapterTestIntegration.js +3484 -0
- package/test/unit/adapterBaseTestUnit.js +1628 -0
- package/test/unit/adapterTestUnit.js +4871 -0
- package/utils/adapterInfo.js +156 -0
- package/utils/argParser.js +44 -0
- package/utils/checkMigrate.js +102 -0
- package/utils/entitiesToDB.js +190 -0
- package/utils/findPath.js +74 -0
- package/utils/logger.js +26 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +153 -0
- package/utils/mongoDbConnection.js +79 -0
- package/utils/mongoUtils.js +162 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +308 -0
- package/utils/tbScript.js +103 -0
- package/utils/tbUtils.js +347 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +177 -0
- package/utils/updateAdapterConfig.js +158 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "optionGroupList",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/dhcp/option_group?{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": "optionGroupCreate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/dhcp/option_group?{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": "optionGroupRead",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/dhcp/option_group/{pathv1}?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"sendGetBody": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": ""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "optionGroupDelete",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "DELETE",
|
|
69
|
+
"entitypath": "{base_path}/{version}/dhcp/option_group/{pathv1}?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": 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": "optionGroupUpdate",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PATCH",
|
|
89
|
+
"entitypath": "{base_path}/{version}/dhcp/option_group/{pathv1}?{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
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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": "optionGroupList",
|
|
12
|
+
"enum": [
|
|
13
|
+
"optionGroupList",
|
|
14
|
+
"optionGroupCreate",
|
|
15
|
+
"optionGroupRead",
|
|
16
|
+
"optionGroupDelete",
|
|
17
|
+
"optionGroupUpdate"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
},
|
|
21
|
+
"fields": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field ...(description truncated)",
|
|
24
|
+
"parse": false,
|
|
25
|
+
"encode": false,
|
|
26
|
+
"encrypt": {
|
|
27
|
+
"type": "AES",
|
|
28
|
+
"key": ""
|
|
29
|
+
},
|
|
30
|
+
"external_name": "_fields"
|
|
31
|
+
},
|
|
32
|
+
"filter": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logi...(description truncated)",
|
|
35
|
+
"parse": false,
|
|
36
|
+
"encode": false,
|
|
37
|
+
"encrypt": {
|
|
38
|
+
"type": "AES",
|
|
39
|
+
"key": ""
|
|
40
|
+
},
|
|
41
|
+
"external_name": "_filter"
|
|
42
|
+
},
|
|
43
|
+
"offset": {
|
|
44
|
+
"type": "number",
|
|
45
|
+
"description": "The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.",
|
|
46
|
+
"parse": false,
|
|
47
|
+
"encode": false,
|
|
48
|
+
"encrypt": {
|
|
49
|
+
"type": "AES",
|
|
50
|
+
"key": ""
|
|
51
|
+
},
|
|
52
|
+
"external_name": "_offset"
|
|
53
|
+
},
|
|
54
|
+
"limit": {
|
|
55
|
+
"type": "number",
|
|
56
|
+
"description": "The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.",
|
|
57
|
+
"parse": false,
|
|
58
|
+
"encode": false,
|
|
59
|
+
"encrypt": {
|
|
60
|
+
"type": "AES",
|
|
61
|
+
"key": ""
|
|
62
|
+
},
|
|
63
|
+
"external_name": "_limit"
|
|
64
|
+
},
|
|
65
|
+
"pageToken": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "The service-defined string used to identify a page of resources. A null value indicates the first page.",
|
|
68
|
+
"parse": false,
|
|
69
|
+
"encode": false,
|
|
70
|
+
"encrypt": {
|
|
71
|
+
"type": "AES",
|
|
72
|
+
"key": ""
|
|
73
|
+
},
|
|
74
|
+
"external_name": "_page_token"
|
|
75
|
+
},
|
|
76
|
+
"orderBy": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"description": "A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchi...(description truncated)",
|
|
79
|
+
"parse": false,
|
|
80
|
+
"encode": false,
|
|
81
|
+
"encrypt": {
|
|
82
|
+
"type": "AES",
|
|
83
|
+
"key": ""
|
|
84
|
+
},
|
|
85
|
+
"external_name": "_order_by"
|
|
86
|
+
},
|
|
87
|
+
"torderBy": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "This parameter is used for sorting by tags.",
|
|
90
|
+
"parse": false,
|
|
91
|
+
"encode": false,
|
|
92
|
+
"encrypt": {
|
|
93
|
+
"type": "AES",
|
|
94
|
+
"key": ""
|
|
95
|
+
},
|
|
96
|
+
"external_name": "_torder_by"
|
|
97
|
+
},
|
|
98
|
+
"tfilter": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "This parameter is used for filtering by tags.",
|
|
101
|
+
"parse": false,
|
|
102
|
+
"encode": false,
|
|
103
|
+
"encrypt": {
|
|
104
|
+
"type": "AES",
|
|
105
|
+
"key": ""
|
|
106
|
+
},
|
|
107
|
+
"external_name": "_tfilter"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"definitions": {}
|
|
111
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "optionspaceList",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/dhcp/option_space?{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": "optionspaceCreate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/dhcp/option_space?{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": "optionspaceRead",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/dhcp/option_space/{pathv1}?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"sendGetBody": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": ""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "optionspaceDelete",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "DELETE",
|
|
69
|
+
"entitypath": "{base_path}/{version}/dhcp/option_space/{pathv1}?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": 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": "optionspaceUpdate",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PATCH",
|
|
89
|
+
"entitypath": "{base_path}/{version}/dhcp/option_space/{pathv1}?{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
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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": "optionspaceList",
|
|
12
|
+
"enum": [
|
|
13
|
+
"optionspaceList",
|
|
14
|
+
"optionspaceCreate",
|
|
15
|
+
"optionspaceRead",
|
|
16
|
+
"optionspaceDelete",
|
|
17
|
+
"optionspaceUpdate"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
},
|
|
21
|
+
"fields": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field ...(description truncated)",
|
|
24
|
+
"parse": false,
|
|
25
|
+
"encode": false,
|
|
26
|
+
"encrypt": {
|
|
27
|
+
"type": "AES",
|
|
28
|
+
"key": ""
|
|
29
|
+
},
|
|
30
|
+
"external_name": "_fields"
|
|
31
|
+
},
|
|
32
|
+
"filter": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logi...(description truncated)",
|
|
35
|
+
"parse": false,
|
|
36
|
+
"encode": false,
|
|
37
|
+
"encrypt": {
|
|
38
|
+
"type": "AES",
|
|
39
|
+
"key": ""
|
|
40
|
+
},
|
|
41
|
+
"external_name": "_filter"
|
|
42
|
+
},
|
|
43
|
+
"offset": {
|
|
44
|
+
"type": "number",
|
|
45
|
+
"description": "The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.",
|
|
46
|
+
"parse": false,
|
|
47
|
+
"encode": false,
|
|
48
|
+
"encrypt": {
|
|
49
|
+
"type": "AES",
|
|
50
|
+
"key": ""
|
|
51
|
+
},
|
|
52
|
+
"external_name": "_offset"
|
|
53
|
+
},
|
|
54
|
+
"limit": {
|
|
55
|
+
"type": "number",
|
|
56
|
+
"description": "The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.",
|
|
57
|
+
"parse": false,
|
|
58
|
+
"encode": false,
|
|
59
|
+
"encrypt": {
|
|
60
|
+
"type": "AES",
|
|
61
|
+
"key": ""
|
|
62
|
+
},
|
|
63
|
+
"external_name": "_limit"
|
|
64
|
+
},
|
|
65
|
+
"pageToken": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "The service-defined string used to identify a page of resources. A null value indicates the first page.",
|
|
68
|
+
"parse": false,
|
|
69
|
+
"encode": false,
|
|
70
|
+
"encrypt": {
|
|
71
|
+
"type": "AES",
|
|
72
|
+
"key": ""
|
|
73
|
+
},
|
|
74
|
+
"external_name": "_page_token"
|
|
75
|
+
},
|
|
76
|
+
"orderBy": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"description": "A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchi...(description truncated)",
|
|
79
|
+
"parse": false,
|
|
80
|
+
"encode": false,
|
|
81
|
+
"encrypt": {
|
|
82
|
+
"type": "AES",
|
|
83
|
+
"key": ""
|
|
84
|
+
},
|
|
85
|
+
"external_name": "_order_by"
|
|
86
|
+
},
|
|
87
|
+
"torderBy": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "This parameter is used for sorting by tags.",
|
|
90
|
+
"parse": false,
|
|
91
|
+
"encode": false,
|
|
92
|
+
"encrypt": {
|
|
93
|
+
"type": "AES",
|
|
94
|
+
"key": ""
|
|
95
|
+
},
|
|
96
|
+
"external_name": "_torder_by"
|
|
97
|
+
},
|
|
98
|
+
"tfilter": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "This parameter is used for filtering by tags.",
|
|
101
|
+
"parse": false,
|
|
102
|
+
"encode": false,
|
|
103
|
+
"encrypt": {
|
|
104
|
+
"type": "AES",
|
|
105
|
+
"key": ""
|
|
106
|
+
},
|
|
107
|
+
"external_name": "_tfilter"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"definitions": {}
|
|
111
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "rangeList",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/ipam/range?{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": "rangeCreate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/ipam/range?{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": "rangeRead",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/ipam/range/{pathv1}?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"sendGetBody": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": ""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "rangeDelete",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "DELETE",
|
|
69
|
+
"entitypath": "{base_path}/{version}/ipam/range/{pathv1}?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": 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": "rangeUpdate",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PATCH",
|
|
89
|
+
"entitypath": "{base_path}/{version}/ipam/range/{pathv1}?{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": "rangeListNextAvailableIP",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/ipam/range/{pathv1}/nextavailableip?{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": "rangeCreateNextAvailableIP",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "POST",
|
|
130
|
+
"entitypath": "{base_path}/{version}/ipam/range/{pathv1}/nextavailableip?{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
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
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": "rangeList",
|
|
12
|
+
"enum": [
|
|
13
|
+
"rangeList",
|
|
14
|
+
"rangeCreate",
|
|
15
|
+
"rangeRead",
|
|
16
|
+
"rangeDelete",
|
|
17
|
+
"rangeUpdate",
|
|
18
|
+
"rangeListNextAvailableIP",
|
|
19
|
+
"rangeCreateNextAvailableIP"
|
|
20
|
+
],
|
|
21
|
+
"external_name": "ph_request_type"
|
|
22
|
+
},
|
|
23
|
+
"filter": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logi...(description truncated)",
|
|
26
|
+
"parse": false,
|
|
27
|
+
"encode": false,
|
|
28
|
+
"encrypt": {
|
|
29
|
+
"type": "AES",
|
|
30
|
+
"key": ""
|
|
31
|
+
},
|
|
32
|
+
"external_name": "_filter"
|
|
33
|
+
},
|
|
34
|
+
"orderBy": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchi...(description truncated)",
|
|
37
|
+
"parse": false,
|
|
38
|
+
"encode": false,
|
|
39
|
+
"encrypt": {
|
|
40
|
+
"type": "AES",
|
|
41
|
+
"key": ""
|
|
42
|
+
},
|
|
43
|
+
"external_name": "_order_by"
|
|
44
|
+
},
|
|
45
|
+
"fields": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"description": "A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field ...(description truncated)",
|
|
48
|
+
"parse": false,
|
|
49
|
+
"encode": false,
|
|
50
|
+
"encrypt": {
|
|
51
|
+
"type": "AES",
|
|
52
|
+
"key": ""
|
|
53
|
+
},
|
|
54
|
+
"external_name": "_fields"
|
|
55
|
+
},
|
|
56
|
+
"offset": {
|
|
57
|
+
"type": "number",
|
|
58
|
+
"description": "The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.",
|
|
59
|
+
"parse": false,
|
|
60
|
+
"encode": false,
|
|
61
|
+
"encrypt": {
|
|
62
|
+
"type": "AES",
|
|
63
|
+
"key": ""
|
|
64
|
+
},
|
|
65
|
+
"external_name": "_offset"
|
|
66
|
+
},
|
|
67
|
+
"limit": {
|
|
68
|
+
"type": "number",
|
|
69
|
+
"description": "The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.",
|
|
70
|
+
"parse": false,
|
|
71
|
+
"encode": false,
|
|
72
|
+
"encrypt": {
|
|
73
|
+
"type": "AES",
|
|
74
|
+
"key": ""
|
|
75
|
+
},
|
|
76
|
+
"external_name": "_limit"
|
|
77
|
+
},
|
|
78
|
+
"pageToken": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "The service-defined string used to identify a page of resources. A null value indicates the first page.",
|
|
81
|
+
"parse": false,
|
|
82
|
+
"encode": false,
|
|
83
|
+
"encrypt": {
|
|
84
|
+
"type": "AES",
|
|
85
|
+
"key": ""
|
|
86
|
+
},
|
|
87
|
+
"external_name": "_page_token"
|
|
88
|
+
},
|
|
89
|
+
"torderBy": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"description": "This parameter is used for sorting by tags.",
|
|
92
|
+
"parse": false,
|
|
93
|
+
"encode": false,
|
|
94
|
+
"encrypt": {
|
|
95
|
+
"type": "AES",
|
|
96
|
+
"key": ""
|
|
97
|
+
},
|
|
98
|
+
"external_name": "_torder_by"
|
|
99
|
+
},
|
|
100
|
+
"tfilter": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "This parameter is used for filtering by tags.",
|
|
103
|
+
"parse": false,
|
|
104
|
+
"encode": false,
|
|
105
|
+
"encrypt": {
|
|
106
|
+
"type": "AES",
|
|
107
|
+
"key": ""
|
|
108
|
+
},
|
|
109
|
+
"external_name": "_tfilter"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"definitions": {}
|
|
113
|
+
}
|