@itentialopensource/adapter-bluecat_ipam 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 +3069 -0
- package/CHANGELOG.md +9 -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 +681 -0
- package/README.md +344 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +25 -0
- package/TAB1.md +15 -0
- package/TAB2.md +318 -0
- package/TROUBLESHOOT.md +56 -0
- package/UTILITIES.md +473 -0
- package/adapter.js +47832 -0
- package/adapterBase.js +1526 -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/ACLResources/action.json +127 -0
- package/entities/ACLResources/schema.json +24 -0
- package/entities/AdminResources/action.json +1954 -0
- package/entities/AdminResources/schema.json +113 -0
- package/entities/ConfigurationResources/action.json +106 -0
- package/entities/ConfigurationResources/schema.json +23 -0
- package/entities/DHCPClientClassResources/action.json +250 -0
- package/entities/DHCPClientClassResources/schema.json +30 -0
- package/entities/DHCPZoneResources/action.json +250 -0
- package/entities/DHCPZoneResources/schema.json +30 -0
- package/entities/DNSSECResources/action.json +147 -0
- package/entities/DNSSECResources/schema.json +25 -0
- package/entities/DeploymentOptionResources/action.json +250 -0
- package/entities/DeploymentOptionResources/schema.json +30 -0
- package/entities/DeploymentRoleResources/action.json +169 -0
- package/entities/DeploymentRoleResources/schema.json +26 -0
- package/entities/DeviceResources/action.json +352 -0
- package/entities/DeviceResources/schema.json +35 -0
- package/entities/FavoriteResources/action.json +65 -0
- package/entities/FavoriteResources/schema.json +21 -0
- package/entities/IPv4AndIPv6Resources/action.json +1964 -0
- package/entities/IPv4AndIPv6Resources/schema.json +113 -0
- package/entities/KerberosResources/action.json +393 -0
- package/entities/KerberosResources/schema.json +37 -0
- package/entities/LocationResources/action.json +209 -0
- package/entities/LocationResources/schema.json +28 -0
- package/entities/MACAddressAndClientIdentifierResources/action.json +395 -0
- package/entities/MACAddressAndClientIdentifierResources/schema.json +37 -0
- package/entities/NamingPolicyResources/action.json +476 -0
- package/entities/NamingPolicyResources/schema.json +41 -0
- package/entities/ResourceRecordResources/action.json +377 -0
- package/entities/ResourceRecordResources/schema.json +36 -0
- package/entities/ServerResources/action.json +784 -0
- package/entities/ServerResources/schema.json +56 -0
- package/entities/TFTPResources/action.json +250 -0
- package/entities/TFTPResources/schema.json +30 -0
- package/entities/TagResources/action.json +495 -0
- package/entities/TagResources/schema.json +42 -0
- package/entities/TaskResources/action.json +106 -0
- package/entities/TaskResources/schema.json +23 -0
- package/entities/VendorProfileResources/action.json +106 -0
- package/entities/VendorProfileResources/schema.json +23 -0
- package/entities/ViewAndZoneResources/action.json +660 -0
- package/entities/ViewAndZoneResources/schema.json +50 -0
- package/error.json +190 -0
- package/metadata.json +84 -0
- package/package.json +75 -0
- package/pronghorn.json +34480 -0
- package/propertiesDecorators.json +18 -0
- package/propertiesSchema.json +1777 -0
- package/report/Bluecat IPAM 9.5 v2 API.yml-OpenApi3Json.json +114720 -0
- package/report/adapterInfo.json +10 -0
- package/report/auto-adapter-openapi.json +28663 -0
- package/report/creationReport.json +2910 -0
- package/sampleProperties.json +264 -0
- package/test/integration/adapterTestBasicGet.js +117 -0
- package/test/integration/adapterTestConnectivity.js +117 -0
- package/test/integration/adapterTestIntegration.js +12568 -0
- package/test/unit/adapterBaseTestUnit.js +1628 -0
- package/test/unit/adapterTestUnit.js +16058 -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 +298 -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": "getVendorProfiles",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/api/v2/vendorProfiles?{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": "postVendorProfile",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/api/v2/vendorProfiles?{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": "getVendorProfile",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/api/v2/vendorProfiles/{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": "putVendorProfile",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "PUT",
|
|
69
|
+
"entitypath": "{base_path}/{version}/api/v2/vendorProfiles/{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": "deleteVendorProfile",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "DELETE",
|
|
89
|
+
"entitypath": "{base_path}/{version}/api/v2/vendorProfiles/{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,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "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": "getVendorProfiles",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getVendorProfiles",
|
|
14
|
+
"postVendorProfile",
|
|
15
|
+
"getVendorProfile",
|
|
16
|
+
"putVendorProfile",
|
|
17
|
+
"deleteVendorProfile"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"definitions": {}
|
|
23
|
+
}
|