@itentialopensource/adapter-netbrain 1.3.5 → 1.3.6
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 +204 -0
- package/adapter.js +4063 -5
- package/entities/ChangeAnalysisReport/action.json +66 -0
- package/entities/ChangeAnalysisReport/schema.json +21 -0
- package/entities/ChangeManagement/action.json +125 -0
- package/entities/ChangeManagement/schema.json +35 -0
- package/entities/DeviceAccessControl/action.json +187 -0
- package/entities/DeviceAccessControl/schema.json +27 -0
- package/entities/DeviceGroupManagement/action.json +105 -0
- package/entities/DeviceGroupManagement/schema.json +23 -0
- package/entities/DeviceInterfacesManagement/action.json +24 -0
- package/entities/DeviceInterfacesManagement/schema.json +19 -0
- package/entities/DiscoveryTaskManagement/action.json +85 -0
- package/entities/DiscoveryTaskManagement/schema.json +22 -0
- package/entities/EventConsoleManagement/action.json +45 -0
- package/entities/EventConsoleManagement/schema.json +20 -0
- package/entities/IncidentReport/action.json +24 -0
- package/entities/IncidentReport/schema.json +19 -0
- package/entities/NetworkSettings/action.json +42 -0
- package/entities/NetworkSettings/schema.json +3 -1
- package/entities/SiteManagement/action.json +24 -0
- package/entities/SiteManagement/schema.json +19 -0
- package/package.json +1 -1
- package/previousVersion.zip +0 -0
- package/pronghorn.json +1574 -4
- package/report/adapterInfo.json +7 -7
- package/test/integration/adapterTestIntegration.js +866 -0
- package/test/unit/adapterTestUnit.js +935 -17
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "deletecmdbDiscoveryTasks",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "DELETE",
|
|
7
|
+
"entitypath": "{base_path}/{version}/CMDB/Discovery/Tasks/{pathv1}?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "putcmdbDiscoveryTasks",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "PUT",
|
|
27
|
+
"entitypath": "{base_path}/{version}/CMDB/Discovery/Tasks?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"requestDatatype": "JSON",
|
|
33
|
+
"responseDatatype": "JSON",
|
|
34
|
+
"headers": {},
|
|
35
|
+
"responseObjects": [
|
|
36
|
+
{
|
|
37
|
+
"type": "default",
|
|
38
|
+
"key": "",
|
|
39
|
+
"mockFile": ""
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "postcmdbDiscoveryTasks",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "POST",
|
|
47
|
+
"entitypath": "{base_path}/{version}/CMDB/Discovery/Tasks?{query}",
|
|
48
|
+
"requestSchema": "schema.json",
|
|
49
|
+
"responseSchema": "schema.json",
|
|
50
|
+
"timeout": 0,
|
|
51
|
+
"sendEmpty": false,
|
|
52
|
+
"requestDatatype": "JSON",
|
|
53
|
+
"responseDatatype": "JSON",
|
|
54
|
+
"headers": {},
|
|
55
|
+
"responseObjects": [
|
|
56
|
+
{
|
|
57
|
+
"type": "default",
|
|
58
|
+
"key": "",
|
|
59
|
+
"mockFile": ""
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "getcmdbDiscoveryTasksResults",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "GET",
|
|
67
|
+
"entitypath": "{base_path}/{version}/CMDB/Discovery/Tasks/{pathv1}/Results?{query}",
|
|
68
|
+
"requestSchema": "schema.json",
|
|
69
|
+
"responseSchema": "schema.json",
|
|
70
|
+
"timeout": 0,
|
|
71
|
+
"sendEmpty": false,
|
|
72
|
+
"sendGetBody": false,
|
|
73
|
+
"requestDatatype": "JSON",
|
|
74
|
+
"responseDatatype": "JSON",
|
|
75
|
+
"headers": {},
|
|
76
|
+
"responseObjects": [
|
|
77
|
+
{
|
|
78
|
+
"type": "default",
|
|
79
|
+
"key": "",
|
|
80
|
+
"mockFile": ""
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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": "deletecmdbDiscoveryTasks",
|
|
12
|
+
"enum": [
|
|
13
|
+
"deletecmdbDiscoveryTasks",
|
|
14
|
+
"putcmdbDiscoveryTasks",
|
|
15
|
+
"postcmdbDiscoveryTasks",
|
|
16
|
+
"getcmdbDiscoveryTasksResults"
|
|
17
|
+
],
|
|
18
|
+
"external_name": "ph_request_type"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"definitions": {}
|
|
22
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "deletecmdbEventConsole",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "DELETE",
|
|
7
|
+
"entitypath": "{base_path}/{version}/CMDB/EventConsole?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "getcmdbEventConsole",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/CMDB/EventConsole?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"sendGetBody": 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": "deletecmdbEventConsole",
|
|
12
|
+
"enum": [
|
|
13
|
+
"deletecmdbEventConsole",
|
|
14
|
+
"getcmdbEventConsole"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "postcmdbIncidentList",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/CMDB/Incident/list?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -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": "postcmdbIncidentList",
|
|
12
|
+
"enum": [
|
|
13
|
+
"postcmdbIncidentList"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"definitions": {}
|
|
19
|
+
}
|
|
@@ -62,6 +62,48 @@
|
|
|
62
62
|
"mockFile": ""
|
|
63
63
|
}
|
|
64
64
|
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "getcmdbNetworkSettingsTelnetInfoCheckDeviceCount",
|
|
68
|
+
"protocol": "REST",
|
|
69
|
+
"method": "GET",
|
|
70
|
+
"entitypath": "{base_path}/{version}/CMDB/NetworkSettings/TelnetInfo/CheckDeviceCount?{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": "getcmdbNetworkSettingsTelnetInfoRefreshDeviceCount",
|
|
89
|
+
"protocol": "REST",
|
|
90
|
+
"method": "GET",
|
|
91
|
+
"entitypath": "{base_path}/{version}/CMDB/NetworkSettings/TelnetInfo/RefreshDeviceCount?{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
|
+
]
|
|
65
107
|
}
|
|
66
108
|
]
|
|
67
109
|
}
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
"enum": [
|
|
13
13
|
"postV1CMDBNetworkSettings",
|
|
14
14
|
"putV1CMDBNetworkSettings",
|
|
15
|
-
"deleteV1CMDBNetworkSettings"
|
|
15
|
+
"deleteV1CMDBNetworkSettings",
|
|
16
|
+
"getcmdbNetworkSettingsTelnetInfoCheckDeviceCount",
|
|
17
|
+
"getcmdbNetworkSettingsTelnetInfoRefreshDeviceCount"
|
|
16
18
|
],
|
|
17
19
|
"external_name": "ph_request_type"
|
|
18
20
|
},
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "putcmdbSitesLeafDynamicSearch",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "PUT",
|
|
7
|
+
"entitypath": "{base_path}/{version}/CMDB/Sites/Leaf/DynamicSearch?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -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": "putcmdbSitesLeafDynamicSearch",
|
|
12
|
+
"enum": [
|
|
13
|
+
"putcmdbSitesLeafDynamicSearch"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"definitions": {}
|
|
19
|
+
}
|
package/package.json
CHANGED
|
Binary file
|