@itentialopensource/adapter-meraki 1.4.1 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/entities/.system/schemaTokenReq.json +0 -4
- package/metadata.json +19 -3
- package/package.json +4 -4
- package/propertiesSchema.json +5 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +2 -2
- package/sampleProperties.json +3 -2
- package/test/unit/adapterTestUnit.js +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,4 +1,20 @@
|
|
1
1
|
|
2
|
+
## 1.4.3 [02-09-2024]
|
3
|
+
|
4
|
+
* updates for broker
|
5
|
+
|
6
|
+
See merge request itentialopensource/adapters/sd-wan/adapter-meraki!37
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
## 1.4.2 [12-24-2023]
|
11
|
+
|
12
|
+
* update metadata
|
13
|
+
|
14
|
+
See merge request itentialopensource/adapters/sd-wan/adapter-meraki!36
|
15
|
+
|
16
|
+
---
|
17
|
+
|
2
18
|
## 1.4.1 [12-20-2023]
|
3
19
|
|
4
20
|
* add keys to broker config, update axios
|
package/metadata.json
CHANGED
@@ -40,15 +40,28 @@
|
|
40
40
|
"isDeprecated": false
|
41
41
|
},
|
42
42
|
"brokerSince": "1.1.0",
|
43
|
+
"authMethods": [
|
44
|
+
{
|
45
|
+
"type": "API Key",
|
46
|
+
"primary": true
|
47
|
+
}
|
48
|
+
],
|
43
49
|
"documentation": {
|
44
50
|
"storeLink": "",
|
45
51
|
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-meraki",
|
46
52
|
"repoLink": "https://gitlab.com/itentialopensource/adapters/sd-wan/adapter-meraki",
|
47
53
|
"docLink": "https://docs.itential.com/opensource/docs/meraki",
|
48
54
|
"demoLinks": [
|
49
|
-
|
50
|
-
|
55
|
+
{
|
56
|
+
"title": "Meraki SD-WAN Branch Management",
|
57
|
+
"link": "https://www.itential.com/automations/sd-wan-branch-management/"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"title": "Multi-Vendor SD-WAN",
|
61
|
+
"link": "https://www.itential.com/solutions/sdwan-automation-orchestration/"
|
62
|
+
}
|
51
63
|
],
|
64
|
+
"trainingLinks": [],
|
52
65
|
"faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
|
53
66
|
"contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
|
54
67
|
"issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
|
@@ -56,7 +69,10 @@
|
|
56
69
|
"vendorLink": "https://www.cisco.com/",
|
57
70
|
"productLink": "https://meraki.cisco.com/",
|
58
71
|
"apiLinks": [
|
59
|
-
|
72
|
+
{
|
73
|
+
"title": "Meraki Dashboard API",
|
74
|
+
"link": "https://developer.cisco.com/meraki/api-latest/"
|
75
|
+
}
|
60
76
|
]
|
61
77
|
},
|
62
78
|
"assets": [],
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@itentialopensource/adapter-meraki",
|
3
|
-
"version": "1.4.
|
3
|
+
"version": "1.4.3",
|
4
4
|
"description": "This adapter integrates with system described as: merakiDashboardApi.",
|
5
5
|
"main": "adapter.js",
|
6
6
|
"systemName": "Meraki",
|
@@ -44,7 +44,7 @@
|
|
44
44
|
],
|
45
45
|
"license": "Apache-2.0",
|
46
46
|
"engines": {
|
47
|
-
"node": ">=
|
47
|
+
"node": ">= 14.0.0",
|
48
48
|
"npm": ">= 6.0.0"
|
49
49
|
},
|
50
50
|
"repository": {
|
@@ -54,10 +54,10 @@
|
|
54
54
|
"author": "Itential",
|
55
55
|
"homepage": "https://gitlab.com/itentialopensource/adapters/sd-wan/adapter-meraki#readme",
|
56
56
|
"dependencies": {
|
57
|
-
"@itentialopensource/adapter-utils": "^5.3.
|
57
|
+
"@itentialopensource/adapter-utils": "^5.3.7",
|
58
58
|
"acorn": "^8.10.0",
|
59
59
|
"ajv": "^8.12.0",
|
60
|
-
"axios": "^1.6.
|
60
|
+
"axios": "^1.6.7",
|
61
61
|
"commander": "^11.0.0",
|
62
62
|
"dns-lookup-promise": "^1.0.4",
|
63
63
|
"fs-extra": "^11.1.1",
|
package/propertiesSchema.json
CHANGED
@@ -945,6 +945,11 @@
|
|
945
945
|
"devicebroker": {
|
946
946
|
"type": "object",
|
947
947
|
"properties": {
|
948
|
+
"enabled": {
|
949
|
+
"type": "boolean",
|
950
|
+
"description": "Whether or not the device broker calls have been mapped",
|
951
|
+
"default": false
|
952
|
+
},
|
948
953
|
"getDevice": {
|
949
954
|
"type": "array",
|
950
955
|
"description": "Broker call(s) to getDevice",
|
Binary file
|
package/report/adapterInfo.json
CHANGED
package/sampleProperties.json
CHANGED
@@ -22,8 +22,8 @@
|
|
22
22
|
"token_timeout": 1800000,
|
23
23
|
"token_cache": "local",
|
24
24
|
"invalid_token_error": 401,
|
25
|
-
"auth_field": "header.headers.
|
26
|
-
"auth_field_format": "
|
25
|
+
"auth_field": "header.headers.X-Cisco-Meraki-API-Key",
|
26
|
+
"auth_field_format": "{token}",
|
27
27
|
"auth_logging": false,
|
28
28
|
"client_id": "",
|
29
29
|
"client_secret": "",
|
@@ -115,6 +115,7 @@
|
|
115
115
|
}
|
116
116
|
},
|
117
117
|
"devicebroker": {
|
118
|
+
"enabled": true,
|
118
119
|
"getDevice": [
|
119
120
|
{
|
120
121
|
"path": "/organizations/{orgID}/networks/{networkId}/devices/{serial}",
|
@@ -316,7 +316,7 @@ describe('[unit] Meraki Adapter Test', () => {
|
|
316
316
|
assert.notEqual(null, packageDotJson.dependencies);
|
317
317
|
assert.notEqual('', packageDotJson.dependencies);
|
318
318
|
assert.equal('^8.12.0', packageDotJson.dependencies.ajv);
|
319
|
-
assert.equal('^1.6.
|
319
|
+
assert.equal('^1.6.7', packageDotJson.dependencies.axios);
|
320
320
|
assert.equal('^11.0.0', packageDotJson.dependencies.commander);
|
321
321
|
assert.equal('^11.1.1', packageDotJson.dependencies['fs-extra']);
|
322
322
|
assert.equal('^10.2.0', packageDotJson.dependencies.mocha);
|