@itentialopensource/adapter-meraki 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/.eslintignore +1 -0
  2. package/.eslintrc.js +12 -12
  3. package/CHANGELOG.md +32 -0
  4. package/README.md +270 -68
  5. package/adapter.js +2786 -24
  6. package/adapterBase.js +544 -17
  7. package/entities/.generic/action.json +109 -0
  8. package/entities/.generic/schema.json +23 -0
  9. package/entities/.system/action.json +1 -1
  10. package/entities/CameraQualityRetentionProfiles/action.json +3 -0
  11. package/entities/ConnectivityMonitoringDestinations/action.json +1 -0
  12. package/entities/DashboardBrandingPolicies/action.json +4 -0
  13. package/entities/Floorplans/action.json +3 -0
  14. package/entities/Licenses/action.json +5 -0
  15. package/entities/LinkAggregations/action.json +3 -0
  16. package/entities/MGConnectivityMonitoringDestinations/action.json +1 -0
  17. package/entities/MGDHCPSettings/action.json +1 -0
  18. package/entities/MGLANSettings/action.json +1 -0
  19. package/entities/MGPortforwardingRules/action.json +1 -0
  20. package/entities/MGSubnetPoolSettings/action.json +1 -0
  21. package/entities/MGUplinkSettings/action.json +1 -0
  22. package/entities/MXVLANPorts/action.json +1 -0
  23. package/entities/MXWarmSpareSettings/action.json +2 -0
  24. package/entities/NetFlowSettings/action.json +1 -0
  25. package/entities/Switch settings/action.json +9 -0
  26. package/entities/SwitchACLs/action.json +1 -0
  27. package/entities/SwitchPortsSchedules/action.json +3 -0
  28. package/entities/TrafficAnalysisSettings/action.json +1 -0
  29. package/entities/WirelessSettings/action.json +1 -0
  30. package/error.json +6 -0
  31. package/package.json +45 -23
  32. package/pronghorn.json +586 -16
  33. package/propertiesSchema.json +84 -11
  34. package/refs?service=git-upload-pack +0 -0
  35. package/report/meraki-newcalls-OpenApi3Json.json +5460 -0
  36. package/report/updateReport1594225126093.json +95 -0
  37. package/report/updateReport1615384306128.json +95 -0
  38. package/report/updateReport1642739939352.json +95 -0
  39. package/sampleProperties.json +20 -5
  40. package/test/integration/adapterTestBasicGet.js +85 -0
  41. package/test/integration/adapterTestConnectivity.js +93 -0
  42. package/test/integration/adapterTestIntegration.js +30 -11
  43. package/test/unit/adapterBaseTestUnit.js +944 -0
  44. package/test/unit/adapterTestUnit.js +638 -12
  45. package/utils/addAuth.js +94 -0
  46. package/utils/artifactize.js +9 -14
  47. package/utils/basicGet.js +50 -0
  48. package/utils/checkMigrate.js +63 -0
  49. package/utils/entitiesToDB.js +224 -0
  50. package/utils/findPath.js +74 -0
  51. package/utils/modify.js +154 -0
  52. package/utils/packModificationScript.js +1 -1
  53. package/utils/patches2bundledDeps.js +90 -0
  54. package/utils/pre-commit.sh +1 -1
  55. package/utils/removeHooks.js +20 -0
  56. package/utils/tbScript.js +169 -0
  57. package/utils/tbUtils.js +451 -0
  58. package/utils/troubleshootingAdapter.js +190 -0
  59. package/gl-code-quality-report.json +0 -1
package/.eslintignore CHANGED
@@ -2,3 +2,4 @@
2
2
  backup/*
3
3
  coverage/*
4
4
  out/*
5
+ adapter_modifications/*
package/.eslintrc.js CHANGED
@@ -1,18 +1,18 @@
1
1
  module.exports = {
2
- 'env': {
3
- 'browser': true,
4
- 'es6': true,
5
- 'node': true,
2
+ env: {
3
+ browser: true,
4
+ es6: true,
5
+ node: true
6
6
  },
7
- 'extends': 'airbnb-base',
8
- "plugins": [
9
- "json"
7
+ extends: 'airbnb-base',
8
+ plugins: [
9
+ 'json'
10
10
  ],
11
- 'parserOptions': {
12
- 'sourceType': 'module',
11
+ parserOptions: {
12
+ sourceType: 'module'
13
13
  },
14
14
  rules: {
15
15
  'max-len': 'warn',
16
- 'comma-dangle': ['error', 'never'],
17
- },
18
- };
16
+ 'comma-dangle': ['error', 'never']
17
+ }
18
+ };
package/CHANGELOG.md CHANGED
@@ -1,4 +1,36 @@
1
1
 
2
+ ## 0.8.0 [01-21-2022]
3
+
4
+ * migration to the latest foundation and broker ready
5
+
6
+ See merge request itentialopensource/adapters/sd-wan/adapter-meraki!15
7
+
8
+ ---
9
+
10
+ ## 0.7.3 [06-08-2021]
11
+
12
+ * Update Pronghorn.json and adapter.js for passing body directly to api call
13
+
14
+ See merge request itentialopensource/adapters/sd-wan/adapter-meraki!14
15
+
16
+ ---
17
+
18
+ ## 0.7.2 [03-10-2021]
19
+
20
+ * migration to the latest adapter foundation
21
+
22
+ See merge request itentialopensource/adapters/sd-wan/adapter-meraki!13
23
+
24
+ ---
25
+
26
+ ## 0.7.1 [07-08-2020]
27
+
28
+ * migration
29
+
30
+ See merge request itentialopensource/adapters/sd-wan/adapter-meraki!12
31
+
32
+ ---
33
+
2
34
  ## 0.7.0 [03-02-2020]
3
35
 
4
36
  * Minor/add new version calls