@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.
Files changed (89) hide show
  1. package/AUTH.md +8 -8
  2. package/BROKER.md +31 -19
  3. package/CALLS.md +1734 -0
  4. package/CHANGELOG.md +16 -0
  5. package/PROPERTIES.md +5 -0
  6. package/README.md +60 -63
  7. package/SYSTEMINFO.md +8 -4
  8. package/TAB1.md +14 -0
  9. package/TAB2.md +315 -0
  10. package/adapter.js +25345 -0
  11. package/entities/ApplicationPolicy/action.json +638 -0
  12. package/entities/ApplicationPolicy/schema.json +49 -0
  13. package/entities/Applications/action.json +25 -0
  14. package/entities/Applications/schema.json +19 -0
  15. package/entities/Authentication/action.json +40 -0
  16. package/entities/Authentication/schema.json +3 -1
  17. package/entities/CiscoDNACenterSystem/action.json +24 -0
  18. package/entities/CiscoDNACenterSystem/schema.json +19 -0
  19. package/entities/Clients/action.json +42 -0
  20. package/entities/Clients/schema.json +3 -1
  21. package/entities/Compliance/action.json +170 -0
  22. package/entities/Compliance/schema.json +26 -0
  23. package/entities/ConfigurationArchive/action.json +45 -0
  24. package/entities/ConfigurationArchive/schema.json +20 -0
  25. package/entities/DeviceReplacement/action.json +106 -0
  26. package/entities/DeviceReplacement/schema.json +23 -0
  27. package/entities/Devices/action.json +555 -0
  28. package/entities/Devices/schema.json +28 -1
  29. package/entities/EoX/action.json +67 -0
  30. package/entities/EoX/schema.json +21 -0
  31. package/entities/EventManagement/action.json +827 -0
  32. package/entities/EventManagement/schema.json +58 -0
  33. package/entities/FabricWireless/action.json +105 -0
  34. package/entities/FabricWireless/schema.json +23 -0
  35. package/entities/File/action.json +20 -0
  36. package/entities/File/schema.json +2 -1
  37. package/entities/HealthAndPerformance/action.json +88 -0
  38. package/entities/HealthAndPerformance/schema.json +22 -0
  39. package/entities/ITSM/action.json +66 -0
  40. package/entities/ITSM/schema.json +21 -0
  41. package/entities/ITSMIntegration/action.json +106 -0
  42. package/entities/ITSMIntegration/schema.json +23 -0
  43. package/entities/Issues/action.json +66 -0
  44. package/entities/Issues/schema.json +21 -0
  45. package/entities/LANAutomation/action.json +231 -0
  46. package/entities/LANAutomation/schema.json +29 -0
  47. package/entities/Licenses/action.json +211 -0
  48. package/entities/Licenses/schema.json +28 -0
  49. package/entities/NetworkDiscovery/action.json +81 -0
  50. package/entities/NetworkDiscovery/schema.json +5 -1
  51. package/entities/NetworkSettings/action.json +469 -0
  52. package/entities/NetworkSettings/schema.json +41 -0
  53. package/entities/NonFabricWirelessBETA/action.json +427 -0
  54. package/entities/NonFabricWirelessBETA/schema.json +22 -1
  55. package/entities/Platform/action.json +67 -0
  56. package/entities/Platform/schema.json +21 -0
  57. package/entities/Reports/action.json +191 -0
  58. package/entities/Reports/schema.json +27 -0
  59. package/entities/SWIM/action.json +82 -0
  60. package/entities/SWIM/schema.json +5 -1
  61. package/entities/SecurityAdvisories/action.json +109 -0
  62. package/entities/SecurityAdvisories/schema.json +23 -0
  63. package/entities/Sensors/action.json +125 -0
  64. package/entities/Sensors/schema.json +24 -0
  65. package/entities/SiteProfile/action.json +141 -0
  66. package/entities/SiteProfile/schema.json +8 -1
  67. package/entities/Sites/action.json +308 -0
  68. package/entities/Sites/schema.json +16 -1
  69. package/entities/SystemSettings/action.json +167 -0
  70. package/entities/SystemSettings/schema.json +26 -0
  71. package/entities/Task/action.json +21 -0
  72. package/entities/Task/schema.json +2 -1
  73. package/entities/TemplateProgrammer/action.json +163 -0
  74. package/entities/TemplateProgrammer/schema.json +9 -1
  75. package/entities/UserAndRoles/action.json +208 -0
  76. package/entities/UserAndRoles/schema.json +28 -0
  77. package/entities/Users/action.json +25 -0
  78. package/entities/Users/schema.json +19 -0
  79. package/metadata.json +18 -4
  80. package/package.json +5 -7
  81. package/pronghorn.json +15199 -0
  82. package/propertiesSchema.json +5 -0
  83. package/refs?service=git-upload-pack +0 -0
  84. package/report/adapterInfo.json +7 -7
  85. package/report/openapi-v2.3.7.json +79707 -0
  86. package/report/updateReport1717076509500.json +120 -0
  87. package/sampleProperties.json +37 -25
  88. package/test/integration/adapterTestIntegration.js +14457 -0
  89. package/test/unit/adapterTestUnit.js +7905 -2
package/AUTH.md CHANGED
@@ -11,14 +11,14 @@ STEPS
11
11
  3. Use the properties below for the ```properties.authentication``` field
12
12
  ```json
13
13
  "authentication": {
14
- "auth_method": "request_token",
15
- "username": "<username>",
16
- "password": "<password>",
17
- "token_timeout": 1800000,
18
- "token_cache": "local",
19
- "invalid_token_error": 401,
20
- "auth_field": "header.headers.X-Auth-Token",
21
- "auth_field_format": "{token}",
14
+ "auth_method": "request_token",
15
+ "username": "<username>",
16
+ "password": "<password>",
17
+ "token_timeout": 1800000,
18
+ "token_cache": "local",
19
+ "invalid_token_error": 401,
20
+ "auth_field": "header.headers.X-Auth-Token",
21
+ "auth_field_format": "{token}",
22
22
  }
23
23
  ```
24
24
  4. Restart the adapter. If your properties were set correctly, the adapter should go online.
package/BROKER.md CHANGED
@@ -22,18 +22,25 @@ Below is an example of how you may set up the properties for this call.
22
22
  {
23
23
  "path": "/{org}/get/devices",
24
24
  "method": "GET",
25
+ "pagination": {
26
+ "offsetVar": "",
27
+ "limitVar": "",
28
+ "incrementBy": "limit",
29
+ "requestLocation": "query"
30
+ },
25
31
  "query": {},
26
32
  "body": {},
27
33
  "headers": {},
28
34
  "handleFailure": "ignore",
35
+ "responseDataKey": "",
29
36
  "requestFields": {
30
37
  "org": "555"
31
38
  },
32
39
  "responseFields": {
33
- "name": "host",
34
- "ostype": "os",
40
+ "name": "{hostField}",
41
+ "ostype": "{osField}",
35
42
  "ostypePrefix": "system-",
36
- "ipaddress": "attributes.ipaddr",
43
+ "ipaddress": "{attributes.ipaddr}",
37
44
  "port": "443"
38
45
  }
39
46
  },
@@ -44,16 +51,17 @@ Below is an example of how you may set up the properties for this call.
44
51
  "body": {},
45
52
  "headers": {},
46
53
  "handleFailure": "ignore",
54
+ "responseDataKey": "",
47
55
  "requestFields": {
48
56
  "org": "777"
49
57
  },
50
58
  "responseFields": {
51
- "name": "host",
52
- "ostype": "os",
59
+ "name": "{hostField}",
60
+ "ostype": "{osField}",
53
61
  "ostypePrefix": "system-",
54
- "ipaddress": "attributes.ipaddr",
62
+ "ipaddress": "{attributes.ipaddr}",
55
63
  "port": "443",
56
- "myorg": "org"
64
+ "myorg": "{orgField}"
57
65
  }
58
66
  }
59
67
  ]
@@ -88,12 +96,13 @@ Below is an example of how you may set up the properties for this call.
88
96
  "headers": {},
89
97
  "handleFailure": "ignore",
90
98
  "statusValue": "online",
99
+ "responseDataKey": "",
91
100
  "requestFields": {
92
- "org": "myorg",
93
- "id": "name"
101
+ "org": "{myorg}",
102
+ "id": "{name}"
94
103
  },
95
104
  "responseFields": {
96
- "status": "status"
105
+ "status": "{status}"
97
106
  }
98
107
  }
99
108
  ]
@@ -129,9 +138,10 @@ Below is an example of how you may set up the properties for this call.
129
138
  "body": {},
130
139
  "headers": {},
131
140
  "handleFailure": "ignore",
141
+ "responseDataKey": "",
132
142
  "requestFields": {
133
- "org": "myorg",
134
- "id": "name"
143
+ "org": "{myorg}",
144
+ "id": "{name}"
135
145
  }
136
146
  "responseFields": {}
137
147
  },
@@ -142,8 +152,9 @@ Below is an example of how you may set up the properties for this call.
142
152
  "body": {},
143
153
  "headers": {},
144
154
  "handleFailure": "ignore",
155
+ "responseDataKey": "",
145
156
  "requestFields": {
146
- "org": "myorg"
157
+ "org": "{myorg}"
147
158
  }
148
159
  "responseFields": {}
149
160
  }
@@ -178,17 +189,18 @@ Below is an example of how you may set up the properties for this call.
178
189
  "body": {},
179
190
  "headers": {},
180
191
  "handleFailure": "ignore",
192
+ "responseDataKey": "",
181
193
  "requestFields": {
182
- "org": "myorg",
183
- "id": "name"
194
+ "org": "{myorg}",
195
+ "id": "{name}"
184
196
  },
185
197
  "responseFields": {
186
- "name": "host",
187
- "ostype": "os",
198
+ "name": "{hostField}",
199
+ "ostype": "{osField}",
188
200
  "ostypePrefix": "system-",
189
- "ipaddress": "attributes.ipaddr",
201
+ "ipaddress": "{attributes.ipaddr}",
190
202
  "port": "443",
191
- "myorg": "org"
203
+ "myorg": "{orgField}"
192
204
  }
193
205
  }
194
206
  ]