@itentialopensource/adapter-viptela 0.10.8 → 0.12.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.
@@ -0,0 +1,193 @@
1
+
2
+ ## 0.10.8 [08-01-2023]
3
+
4
+ * Update adapter base and import order
5
+
6
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!28
7
+
8
+ ---
9
+
10
+ ## 0.10.7 [05-15-2023]
11
+
12
+ * Add template calls and delete duplicated tasks
13
+
14
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!27
15
+
16
+ ---
17
+
18
+ ## 0.10.6 [05-10-2023]
19
+
20
+ * Migrate adapterBase.js with broker integration changes
21
+
22
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!26
23
+
24
+ ---
25
+
26
+ ## 0.10.5 [04-06-2023]
27
+
28
+ * Added new calls
29
+
30
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!23
31
+
32
+ ---
33
+
34
+ ## 0.10.4 [03-28-2023]
35
+
36
+ * Added new calls
37
+
38
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!23
39
+
40
+ ---
41
+
42
+ ## 0.10.3 [05-18-2022]
43
+
44
+ * Fix systemName
45
+
46
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!15
47
+
48
+ ---
49
+
50
+ ## 0.10.2 [05-14-2022] & 0.10.1 [05-08-2022] & 0.10.0 [05-01-2022] & 0.9.0 [01-21-2022]
51
+
52
+ - Added dabout 415 calls
53
+
54
+ - Multiple versions and releases due to this being one of the adapters heavily involved in the new addapter/broker integration effort.
55
+ - Add some items to .gitignore (e.g. DS_Store) to keep them out of the repos.
56
+ - Changes to the README (some typo fixes - Add how to extend the adapter). Split the README into various markdown files (AUTH, BROKER, CALLS, ENHANCE, PROPERTIES, SUMMARY, SYSTEMINFO, TROUBLESHOOT)
57
+ - Fix the issues with Confluence in the markdowns (Tables, Lists, Links)
58
+ - Add scripts for easier authentication, removing hooks, etc
59
+ - Script changes (install script as well as database changes in other scripts)
60
+ - Double # of path vars on generic call
61
+ - Update versions of foundation (e.g. adapter-utils)
62
+ - Update npm publish so it supports https
63
+ - Update dependencies
64
+ - Add preinstall for minimist
65
+ - Fix new lint issues that came from eslint dependency change
66
+ - Add more thorough Unit tests for standard files (Package, Pronghorn, Properties (Schema and Sample)
67
+ - Add the adapter type in the package.json
68
+ - Add AdapterInfo.js script
69
+ - Add json-query dependency
70
+ - Add the propertiesDecorators.json for product encryption
71
+ - Change the name of internal IAP/Adapter methods to avoid collisions and make more obvious in Workflow - iapRunAdapterBasicGet, iapRunAdapterConnectivity, iapRunAdapterHealthcheck, iapTroubleshootAdapter, iapGetAdapterQueue, iapUnsuspendAdapter, iapSuspendAdapter, iapFindAdapterPath, iapUpdateAdapterConfiguration, iapGetAdapterWorkflowFunctions
72
+ - Add the adapter config in the database support - iapMoveAdapterEntitiesToDB
73
+ - Add standard broker calls - hasEntities, getDevice, getDevicesFiltered, isAlive, getConfig and iapGetDeviceCount
74
+ - Add genericAdapterRequest that does not use the base_path and version so that the path can be unique - genericAdapterRequestNoBasePath
75
+ - Add AdapterInfo.json
76
+ - Add systemName for documentation
77
+
78
+ See merge request itentialopensource/adapters/sd-wan/adapter-meraki!13
79
+ See merge request itentialopensource/adapters/sd-wan/adapter-meraki!12
80
+ See merge request itentialopensource/adapters/sd-wan/adapter-meraki!11
81
+
82
+ ---
83
+
84
+ ## 0.8.1 [03-16-2021]
85
+
86
+ - migration to bring up to the latest foundation
87
+ - Change to .eslintignore (adapter_modification directory)
88
+ - Change to README.md (new properties, new scripts, new processes)
89
+ - Changes to adapterBase.js (new methods)
90
+ - Changes to package.json (new scripts, dependencies)
91
+ - Changes to propertiesSchema.json (new properties and changes to existing)
92
+ - Changes to the Unit test
93
+ - Adding several test files, utils files and .generic entity
94
+ - Fix order of scripts and dependencies in package.json
95
+ - Fix order of properties in propertiesSchema.json
96
+ - Update sampleProperties, unit and integration tests to have all new properties.
97
+ - Add all new calls to adapter.js and pronghorn.json
98
+ - Add suspend piece to older methods
99
+
100
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!10
101
+
102
+ ---
103
+
104
+ ## 0.8.0 [02-12-2021]
105
+
106
+ - Adding new calls to the viptela adapter - also migrated to the latest foundation
107
+
108
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!9
109
+
110
+ ---
111
+
112
+ ## 0.7.1 [08-21-2020]
113
+
114
+ - Add new call for get vsmart policy list
115
+
116
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!8
117
+
118
+ ---
119
+
120
+ ## 0.6.0 [08-14-2020] & 0.7.0 [08-19-2020]
121
+
122
+ - Add activate/deactivate vSmart policy as well as a way to get the status
123
+
124
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!7
125
+
126
+ ---
127
+
128
+ ## 0.5.3 [08-04-2020]
129
+
130
+ - Update the authentication in the adapter - request token where the token is returned in a cookie
131
+
132
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!6
133
+
134
+ ---
135
+
136
+ ## 0.5.2 [07-09-2020]
137
+
138
+ - Update to the latest adapter foundation
139
+
140
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!5
141
+
142
+ ---
143
+
144
+ ## 0.5.1 [01-15-2020]
145
+
146
+ - Update the adapter to the latest foundation
147
+
148
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!4
149
+
150
+ ---
151
+
152
+ ## 0.5.0 [11-08-2019]
153
+
154
+ - Update the adapter to the latest adapter foundation.
155
+ - Updating to adapter-utils 4.24.3 (automatic)
156
+ - Add sample token schemas (manual)
157
+ - Adding placement property to getToken response schema (manual - before encrypt)
158
+ - Adding sso default into action.json for getToken (manual - before response object)
159
+ - Add new adapter properties for metrics & mock (save_metric, mongo and return_raw) (automatic - check place manual before stub)
160
+ - Update sample properties to include new properties (manual)
161
+ - Update integration test for raw mockdata (automatic)
162
+ - Update test properties (manual)
163
+ - Changes to artifactize (automatic)
164
+ - Update type in sampleProperties so it is correct for the adapter (manual)
165
+ - Update the readme (automatic)
166
+
167
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!3
168
+
169
+ ---
170
+
171
+ ## 0.4.0 [09-16-2019]
172
+
173
+ - Update the adapter to the latest adapter foundation
174
+
175
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!2
176
+
177
+ ---
178
+
179
+ ## 0.2.0 [07-17-2019] & 0.3.0 [07-30-2019]
180
+
181
+ - Migrate to the latest adapter foundation, categorize the adapter and prepare for app artifact
182
+
183
+ See merge request itentialopensource/adapters/sd-wan/adapter-viptela!1
184
+
185
+ ---
186
+
187
+ ## 0.1.1 [04-25-2019]
188
+
189
+ - Initial Commit
190
+
191
+ See commit 4a35c51
192
+
193
+ ---
package/metadata.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "adapter-viptela",
3
+ "vendor": "Cisco",
4
+ "product": "Viptela",
5
+ "osVersion": [
6
+ "v20.12"
7
+ ],
8
+ "apiVersions": [],
9
+ "iapVersions": [
10
+ "2021.1.x",
11
+ "2021.2.x",
12
+ "2022.1.x",
13
+ "2023.1.x"
14
+ ],
15
+ "method": "REST API",
16
+ "type": "Adapter",
17
+ "example": "",
18
+ "domains": [
19
+ "Inventory",
20
+ "SD-WAN/SASE"
21
+ ],
22
+ "tags": [],
23
+ "deprecated": {
24
+ "isDeprecated": false
25
+ },
26
+ "brokerSince": "0.11.0",
27
+ "documentation": {
28
+ "storeLink": "",
29
+ "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-viptela",
30
+ "repoLink": "https://gitlab.com/itentialopensource/adapters/sd-wan/adapter-viptela",
31
+ "docLink": "https://docs.itential.com/opensource/docs/cisco-viptela",
32
+ "faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
33
+ "contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
34
+ "issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
35
+ "webLink": "https://www.itential.com/adapters/cisco-viptela/",
36
+ "vendorLink": "https://www.cisco.com/",
37
+ "productLink": "https://www.cisco.com/c/en/us/services/acquisitions/viptela.html",
38
+ "apiLinks": [
39
+ "https://developer.cisco.com/docs/sdwan/#!sd-wan-vmanage-v20-12"
40
+ ]
41
+ },
42
+ "relatedItems": {
43
+ "adapters": [],
44
+ "integrations": [],
45
+ "ecosystemApplications": [],
46
+ "automations": [],
47
+ "transformations": [],
48
+ "useCases": []
49
+ }
50
+ }
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-viptela",
3
- "version": "0.10.8",
3
+ "version": "0.12.0",
4
4
  "description": "This adapter integrates with system Viptela",
5
5
  "main": "adapter.js",
6
- "systemName": "Cisco Viptela",
6
+ "systemName": "Viptela",
7
7
  "wizardVersion": "2.44.7",
8
- "engineVersion": "1.61.6",
8
+ "engineVersion": "1.67.0",
9
9
  "adapterType": "http",
10
10
  "scripts": {
11
11
  "artifactize": "npm i && node utils/packModificationScript.js",
12
- "preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
12
+ "preinstall": "node utils/setup.js",
13
+ "deinstall": "node utils/removeHooks.js",
13
14
  "lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
14
15
  "lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
15
16
  "test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
@@ -23,7 +24,7 @@
23
24
  "adapter:migrate": "node utils/modify.js -m",
24
25
  "adapter:update": "node utils/modify.js -u",
25
26
  "adapter:revert": "node utils/modify.js -r",
26
- "troubleshoot": "node utils/tbScript.js",
27
+ "troubleshoot": "node utils/tbScript.js troubleshoot",
27
28
  "healthcheck": "node utils/tbScript.js healthcheck",
28
29
  "basicget": "node utils/tbScript.js basicget",
29
30
  "connectivity": "node utils/tbScript.js connectivity",
@@ -53,32 +54,31 @@
53
54
  "author": "Itential",
54
55
  "homepage": "https://gitlab.com/itentialopensource/adapters/sd-wan/adapter-viptela#readme",
55
56
  "dependencies": {
56
- "@itentialopensource/adapter-utils": "^4.49.0",
57
- "ajv": "^6.12.0",
58
- "axios": "^0.21.0",
59
- "commander": "^2.20.0",
60
- "fs-extra": "^8.1.0",
57
+ "@itentialopensource/adapter-utils": "^5.1.0",
58
+ "ajv": "^8.12.0",
59
+ "axios": "^1.4.0",
60
+ "commander": "^11.0.0",
61
+ "dns-lookup-promise": "^1.0.4",
62
+ "esprima": "^4.0.1",
63
+ "fs-extra": "^11.1.1",
61
64
  "json-query": "^2.2.2",
62
- "mocha": "^9.0.1",
65
+ "mocha": "^10.2.0",
63
66
  "mocha-param": "^2.0.1",
64
- "mongodb": "^4.1.0",
65
- "network-diagnostics": "^0.5.3",
67
+ "mongodb": "^4.16.0",
66
68
  "nyc": "^15.1.0",
69
+ "ping": "^0.4.4",
70
+ "prompts": "^2.4.2",
67
71
  "readline-sync": "^1.4.10",
68
- "semver": "^7.3.2",
69
- "winston": "^3.3.3"
72
+ "semver": "^7.5.3",
73
+ "winston": "^3.9.0"
70
74
  },
71
75
  "devDependencies": {
72
- "chai": "^4.3.4",
73
- "eslint": "^7.29.0",
74
- "eslint-config-airbnb-base": "^14.2.1",
75
- "eslint-plugin-import": "^2.23.4",
76
- "eslint-plugin-json": "^3.0.0",
77
- "package-json-validator": "^0.6.3",
78
- "testdouble": "^3.16.1"
79
- },
80
- "resolutions": {
81
- "minimist": "^1.2.5"
76
+ "chai": "^4.3.7",
77
+ "eslint": "^8.44.0",
78
+ "eslint-config-airbnb-base": "^15.0.0",
79
+ "eslint-plugin-import": "^2.27.5",
80
+ "eslint-plugin-json": "^3.1.0",
81
+ "testdouble": "^3.18.0"
82
82
  },
83
83
  "private": false
84
84
  }