@itentialopensource/adapter-dna_center 0.9.8 → 0.11.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/AUTH.md +8 -8
- package/BROKER.md +31 -19
- package/CALLS.md +1734 -0
- package/CHANGELOG.md +16 -0
- package/PROPERTIES.md +5 -0
- package/README.md +60 -63
- package/SYSTEMINFO.md +8 -4
- package/TAB1.md +14 -0
- package/TAB2.md +315 -0
- package/adapter.js +25345 -0
- package/entities/ApplicationPolicy/action.json +638 -0
- package/entities/ApplicationPolicy/schema.json +49 -0
- package/entities/Applications/action.json +25 -0
- package/entities/Applications/schema.json +19 -0
- package/entities/Authentication/action.json +40 -0
- package/entities/Authentication/schema.json +3 -1
- package/entities/CiscoDNACenterSystem/action.json +24 -0
- package/entities/CiscoDNACenterSystem/schema.json +19 -0
- package/entities/Clients/action.json +42 -0
- package/entities/Clients/schema.json +3 -1
- package/entities/Compliance/action.json +170 -0
- package/entities/Compliance/schema.json +26 -0
- package/entities/ConfigurationArchive/action.json +45 -0
- package/entities/ConfigurationArchive/schema.json +20 -0
- package/entities/DeviceReplacement/action.json +106 -0
- package/entities/DeviceReplacement/schema.json +23 -0
- package/entities/Devices/action.json +555 -0
- package/entities/Devices/schema.json +28 -1
- package/entities/EoX/action.json +67 -0
- package/entities/EoX/schema.json +21 -0
- package/entities/EventManagement/action.json +827 -0
- package/entities/EventManagement/schema.json +58 -0
- package/entities/FabricWireless/action.json +105 -0
- package/entities/FabricWireless/schema.json +23 -0
- package/entities/File/action.json +20 -0
- package/entities/File/schema.json +2 -1
- package/entities/HealthAndPerformance/action.json +88 -0
- package/entities/HealthAndPerformance/schema.json +22 -0
- package/entities/ITSM/action.json +66 -0
- package/entities/ITSM/schema.json +21 -0
- package/entities/ITSMIntegration/action.json +106 -0
- package/entities/ITSMIntegration/schema.json +23 -0
- package/entities/Issues/action.json +66 -0
- package/entities/Issues/schema.json +21 -0
- package/entities/LANAutomation/action.json +231 -0
- package/entities/LANAutomation/schema.json +29 -0
- package/entities/Licenses/action.json +211 -0
- package/entities/Licenses/schema.json +28 -0
- package/entities/NetworkDiscovery/action.json +81 -0
- package/entities/NetworkDiscovery/schema.json +5 -1
- package/entities/NetworkSettings/action.json +469 -0
- package/entities/NetworkSettings/schema.json +41 -0
- package/entities/NonFabricWirelessBETA/action.json +427 -0
- package/entities/NonFabricWirelessBETA/schema.json +22 -1
- package/entities/Platform/action.json +67 -0
- package/entities/Platform/schema.json +21 -0
- package/entities/Reports/action.json +191 -0
- package/entities/Reports/schema.json +27 -0
- package/entities/SWIM/action.json +82 -0
- package/entities/SWIM/schema.json +5 -1
- package/entities/SecurityAdvisories/action.json +109 -0
- package/entities/SecurityAdvisories/schema.json +23 -0
- package/entities/Sensors/action.json +125 -0
- package/entities/Sensors/schema.json +24 -0
- package/entities/SiteProfile/action.json +141 -0
- package/entities/SiteProfile/schema.json +8 -1
- package/entities/Sites/action.json +308 -0
- package/entities/Sites/schema.json +16 -1
- package/entities/SystemSettings/action.json +167 -0
- package/entities/SystemSettings/schema.json +26 -0
- package/entities/Task/action.json +21 -0
- package/entities/Task/schema.json +2 -1
- package/entities/TemplateProgrammer/action.json +163 -0
- package/entities/TemplateProgrammer/schema.json +9 -1
- package/entities/UserAndRoles/action.json +208 -0
- package/entities/UserAndRoles/schema.json +28 -0
- package/entities/Users/action.json +25 -0
- package/entities/Users/schema.json +19 -0
- package/metadata.json +18 -4
- package/package.json +5 -7
- package/pronghorn.json +15199 -0
- package/propertiesSchema.json +5 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +7 -7
- package/report/openapi-v2.3.7.json +79707 -0
- package/report/updateReport1717076509500.json +120 -0
- package/sampleProperties.json +37 -25
- package/test/integration/adapterTestIntegration.js +14457 -0
- package/test/unit/adapterTestUnit.js +7905 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getApplicationHealth",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/application-health?{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
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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": "getApplicationHealth",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getApplicationHealth"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"definitions": {}
|
|
19
|
+
}
|
|
@@ -20,6 +20,46 @@
|
|
|
20
20
|
"mockFile": "mockdatafiles/postDnasystemapiv1authtoken-default.json"
|
|
21
21
|
}
|
|
22
22
|
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "importCertificate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/certificate?{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": "importCertificateP12",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "POST",
|
|
48
|
+
"entitypath": "{base_path}/{version}/certificate-p12?{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
|
+
]
|
|
23
63
|
}
|
|
24
64
|
]
|
|
25
65
|
}
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"description": "type of request (internal to adapter)",
|
|
11
11
|
"default": "postDnasystemapiv1authtoken",
|
|
12
12
|
"enum": [
|
|
13
|
-
"postDnasystemapiv1authtoken"
|
|
13
|
+
"postDnasystemapiv1authtoken",
|
|
14
|
+
"importCertificate",
|
|
15
|
+
"importCertificateP12"
|
|
14
16
|
],
|
|
15
17
|
"external_name": "ph_request_type"
|
|
16
18
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "authorizeDevice",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "/api/{version}/onboarding/pnp-device/authorize?{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": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "authorizeDevice",
|
|
12
|
+
"enum": [
|
|
13
|
+
"authorizeDevice"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"definitions": {}
|
|
19
|
+
}
|
|
@@ -41,6 +41,48 @@
|
|
|
41
41
|
"mockFile": "mockdatafiles/getDnaintentapiv1clientHealth-default.json"
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "getClientProximity",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "GET",
|
|
49
|
+
"entitypath": "{base_path}/{version}/client-proximity?{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": "getClientEnrichmentDetails",
|
|
68
|
+
"protocol": "REST",
|
|
69
|
+
"method": "GET",
|
|
70
|
+
"entitypath": "{base_path}/{version}/client-enrichment-details?{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
|
+
]
|
|
44
86
|
}
|
|
45
87
|
]
|
|
46
88
|
}
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
"default": "getDnaintentapiv1clientDetail",
|
|
12
12
|
"enum": [
|
|
13
13
|
"getDnaintentapiv1clientDetail",
|
|
14
|
-
"getDnaintentapiv1clientHealth"
|
|
14
|
+
"getDnaintentapiv1clientHealth",
|
|
15
|
+
"getClientProximity",
|
|
16
|
+
"getClientEnrichmentDetails"
|
|
15
17
|
],
|
|
16
18
|
"external_name": "ph_request_type"
|
|
17
19
|
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getComplianceDetailCount",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/compliance/detail/count?{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": "getComplianceDetailsOfDevice",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"entitypath": "{base_path}/{version}/compliance/{pathv1}/detail?{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": "commitDeviceConfiguration",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "POST",
|
|
49
|
+
"entitypath": "{base_path}/{version}/network-device-config/write-memory?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": 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": "getDeviceComplianceStatus",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "GET",
|
|
69
|
+
"entitypath": "{base_path}/{version}/compliance/{pathv1}?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"sendGetBody": false,
|
|
75
|
+
"requestDatatype": "JSON",
|
|
76
|
+
"responseDatatype": "JSON",
|
|
77
|
+
"headers": {},
|
|
78
|
+
"responseObjects": [
|
|
79
|
+
{
|
|
80
|
+
"type": "default",
|
|
81
|
+
"key": "",
|
|
82
|
+
"mockFile": ""
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "getComplianceStatusCount",
|
|
88
|
+
"protocol": "REST",
|
|
89
|
+
"method": "GET",
|
|
90
|
+
"entitypath": "{base_path}/{version}/compliance/count?{query}",
|
|
91
|
+
"requestSchema": "schema.json",
|
|
92
|
+
"responseSchema": "schema.json",
|
|
93
|
+
"timeout": 0,
|
|
94
|
+
"sendEmpty": false,
|
|
95
|
+
"sendGetBody": false,
|
|
96
|
+
"requestDatatype": "JSON",
|
|
97
|
+
"responseDatatype": "JSON",
|
|
98
|
+
"headers": {},
|
|
99
|
+
"responseObjects": [
|
|
100
|
+
{
|
|
101
|
+
"type": "default",
|
|
102
|
+
"key": "",
|
|
103
|
+
"mockFile": ""
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "getComplianceStatus",
|
|
109
|
+
"protocol": "REST",
|
|
110
|
+
"method": "GET",
|
|
111
|
+
"entitypath": "{base_path}/{version}/compliance?{query}",
|
|
112
|
+
"requestSchema": "schema.json",
|
|
113
|
+
"responseSchema": "schema.json",
|
|
114
|
+
"timeout": 0,
|
|
115
|
+
"sendEmpty": false,
|
|
116
|
+
"sendGetBody": false,
|
|
117
|
+
"requestDatatype": "JSON",
|
|
118
|
+
"responseDatatype": "JSON",
|
|
119
|
+
"headers": {},
|
|
120
|
+
"responseObjects": [
|
|
121
|
+
{
|
|
122
|
+
"type": "default",
|
|
123
|
+
"key": "",
|
|
124
|
+
"mockFile": ""
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "getComplianceDetail",
|
|
130
|
+
"protocol": "REST",
|
|
131
|
+
"method": "GET",
|
|
132
|
+
"entitypath": "{base_path}/{version}/compliance/detail?{query}",
|
|
133
|
+
"requestSchema": "schema.json",
|
|
134
|
+
"responseSchema": "schema.json",
|
|
135
|
+
"timeout": 0,
|
|
136
|
+
"sendEmpty": false,
|
|
137
|
+
"sendGetBody": false,
|
|
138
|
+
"requestDatatype": "JSON",
|
|
139
|
+
"responseDatatype": "JSON",
|
|
140
|
+
"headers": {},
|
|
141
|
+
"responseObjects": [
|
|
142
|
+
{
|
|
143
|
+
"type": "default",
|
|
144
|
+
"key": "",
|
|
145
|
+
"mockFile": ""
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "runCompliance",
|
|
151
|
+
"protocol": "REST",
|
|
152
|
+
"method": "POST",
|
|
153
|
+
"entitypath": "{base_path}/{version}/compliance/?{query}",
|
|
154
|
+
"requestSchema": "schema.json",
|
|
155
|
+
"responseSchema": "schema.json",
|
|
156
|
+
"timeout": 0,
|
|
157
|
+
"sendEmpty": false,
|
|
158
|
+
"requestDatatype": "JSON",
|
|
159
|
+
"responseDatatype": "JSON",
|
|
160
|
+
"headers": {},
|
|
161
|
+
"responseObjects": [
|
|
162
|
+
{
|
|
163
|
+
"type": "default",
|
|
164
|
+
"key": "",
|
|
165
|
+
"mockFile": ""
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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": "getComplianceDetailCount",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getComplianceDetailCount",
|
|
14
|
+
"getComplianceDetailsOfDevice",
|
|
15
|
+
"commitDeviceConfiguration",
|
|
16
|
+
"getDeviceComplianceStatus",
|
|
17
|
+
"getComplianceStatusCount",
|
|
18
|
+
"getComplianceStatus",
|
|
19
|
+
"getComplianceDetail",
|
|
20
|
+
"runCompliance"
|
|
21
|
+
],
|
|
22
|
+
"external_name": "ph_request_type"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"definitions": {}
|
|
26
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getConfigurationArchiveDetails",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/network-device-config?{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": "exportDeviceConfigurations",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/network-device-archive/cleartext?{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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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": "getConfigurationArchiveDetails",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getConfigurationArchiveDetails",
|
|
14
|
+
"exportDeviceConfigurations"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "deployDeviceReplacementWorkflow",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/device-replacement/workflow?{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": "returnListOfReplacementDevicesWithReplacementDetails",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/device-replacement?{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
|
+
"name": "unMarkDeviceForReplacement",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "PUT",
|
|
48
|
+
"entitypath": "{base_path}/{version}/device-replacement?{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": "markDeviceForReplacement",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "POST",
|
|
68
|
+
"entitypath": "{base_path}/{version}/device-replacement?{query}",
|
|
69
|
+
"requestSchema": "schema.json",
|
|
70
|
+
"responseSchema": "schema.json",
|
|
71
|
+
"timeout": 0,
|
|
72
|
+
"sendEmpty": false,
|
|
73
|
+
"requestDatatype": "JSON",
|
|
74
|
+
"responseDatatype": "JSON",
|
|
75
|
+
"headers": {},
|
|
76
|
+
"responseObjects": [
|
|
77
|
+
{
|
|
78
|
+
"type": "default",
|
|
79
|
+
"key": "",
|
|
80
|
+
"mockFile": ""
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "returnReplacementDevicesCount",
|
|
86
|
+
"protocol": "REST",
|
|
87
|
+
"method": "GET",
|
|
88
|
+
"entitypath": "{base_path}/{version}/device-replacement/count?{query}",
|
|
89
|
+
"requestSchema": "schema.json",
|
|
90
|
+
"responseSchema": "schema.json",
|
|
91
|
+
"timeout": 0,
|
|
92
|
+
"sendEmpty": false,
|
|
93
|
+
"sendGetBody": 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": "deployDeviceReplacementWorkflow",
|
|
12
|
+
"enum": [
|
|
13
|
+
"deployDeviceReplacementWorkflow",
|
|
14
|
+
"returnListOfReplacementDevicesWithReplacementDetails",
|
|
15
|
+
"unMarkDeviceForReplacement",
|
|
16
|
+
"markDeviceForReplacement",
|
|
17
|
+
"returnReplacementDevicesCount"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"definitions": {}
|
|
23
|
+
}
|