@itentialopensource/adapter-gcp_compute 1.3.3 → 1.5.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,116 @@
1
+
2
+ ## 1.3.3 [08-01-2023]
3
+
4
+ * Remove any sensitive data logging
5
+
6
+ See merge request itentialopensource/adapters/cloud/adapter-gcp_compute!8
7
+
8
+ ---
9
+
10
+ ## 1.3.2 [06-22-2023]
11
+
12
+ * Remove any sensitive data logging
13
+
14
+ See merge request itentialopensource/adapters/cloud/adapter-gcp_compute!8
15
+
16
+ ---
17
+
18
+ ## 1.3.1 [05-09-2023]
19
+
20
+ * updated adapterBase.js with broker integration bug fixes
21
+
22
+ See merge request itentialopensource/adapters/cloud/adapter-gcp_compute!7
23
+
24
+ ---
25
+
26
+ ## 1.3.0 [02-10-2023]
27
+
28
+ * Migration to the latest Adapter Foundation
29
+
30
+ See merge request itentialopensource/adapters/cloud/adapter-gcp_compute!6
31
+
32
+ ---
33
+
34
+ ## 1.2.0 [05-18-2022]
35
+
36
+ * Migration to the latest Adapter Foundation
37
+
38
+ See merge request itentialopensource/adapters/cloud/adapter-gcp_compute!6
39
+
40
+ ---
41
+
42
+ ## 1.1.0 [01-21-2022]
43
+
44
+ - migration to the latest foundation and broker ready
45
+ - Add some items to .gitignore (e.g. DS_Store) to keep them out of the repos.
46
+ - 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)
47
+ - Fix the issues with Confluence in the markdowns (Tables, Lists, Links)
48
+ - Add scripts for easier authentication, removing hooks, etc
49
+ - Script changes (install script as well as database changes in other scripts)
50
+ - Double # of path vars on generic call
51
+ - Update versions of foundation (e.g. adapter-utils)
52
+ - Update npm publish so it supports https
53
+ - Update dependencies
54
+ - Add preinstall for minimist
55
+ - Fix new lint issues that came from eslint dependency change
56
+ - Add more thorough Unit tests for standard files (Package, Pronghorn, Properties (Schema and Sample)
57
+ - Add the adapter type in the package.json
58
+ - Add AdapterInfo.js script
59
+ - Add json-query dependency
60
+ - Add the propertiesDecorators.json for product encryption
61
+ - 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
62
+ - Add the adapter config in the database support - iapMoveAdapterEntitiesToDB
63
+ - Add standard broker calls - hasEntities, getDevice, getDevicesFiltered, isAlive, getConfig and iapGetDeviceCount
64
+ - Add genericAdapterRequest that does not use the base_path and version so that the path can be unique - genericAdapterRequestNoBasePath
65
+ - Add AdapterInfo.json
66
+ - Add systemName for documentation
67
+
68
+ See merge request itentialopensource/adapters/cloud/adapter-gcp_compute!5
69
+
70
+ ---
71
+
72
+ ## 1.0.1 [12-21-2021]
73
+
74
+ - Don't call readPropsKeyFile in the constructor; add generateKeyObjFromProps method; modify configureGtoken method to set this.keyObj from keyFile or keyFileContents
75
+
76
+ See merge request itentialopensource/adapters/cloud/adapter-gcp_compute!4
77
+
78
+ ---
79
+
80
+ ## 1.0.0 [07-28-2021]
81
+
82
+ - Add Firewall Policies calls
83
+
84
+ See merge request itentialopensource/adapters/cloud/adapter-gcp_compute!3
85
+
86
+ ---
87
+
88
+ ## 0.2.1 [03-06-2021]
89
+
90
+ - Migration to bring up to the latest foundation
91
+ - Change to .eslintignore (adapter_modification directory)
92
+ - Change to README.md (new properties, new scripts, new processes)
93
+ - Changes to adapterBase.js (new methods)
94
+ - Changes to package.json (new scripts, dependencies)
95
+ - Changes to propertiesSchema.json (new properties and changes to existing)
96
+ - Changes to the Unit test
97
+ - Adding several test files, utils files and .generic entity
98
+ - Fix order of scripts and dependencies in package.json
99
+ - Fix order of properties in propertiesSchema.json
100
+ - Update sampleProperties, unit and integration tests to have all new properties.
101
+ - Add all new calls to adapter.js and pronghorn.json
102
+ - Add suspend piece to older methods
103
+
104
+ See merge request itentialopensource/adapters/cloud/adapter-gcp_compute!2
105
+
106
+ ---
107
+
108
+ ## 0.2.0 [02-04-2021]
109
+
110
+ - Model changed from gcpCompute to gcp_compute to match the repo
111
+ - gtoken library used in place of standard adapter-utils authentication (see comment in JIRA)
112
+ - Refer to comments in the JIRA ticket regarding setting up a service account and using the keyFile
113
+
114
+ See merge request itentialopensource/adapters/cloud/adapter-gcp_compute!1
115
+
116
+ ---
package/metadata.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "adapter-gcp_compute",
3
+ "vendor": "Google",
4
+ "product": "Cloud Platform Compute",
5
+ "osVersion": [],
6
+ "apiVersions": [
7
+ "v1"
8
+ ],
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
+ "Cloud",
20
+ "Inventory"
21
+ ],
22
+ "tags": [
23
+ "Virtual Compute"
24
+ ],
25
+ "deprecated": {
26
+ "isDeprecated": false
27
+ },
28
+ "brokerSince": "1.4.0",
29
+ "documentation": {
30
+ "storeLink": "",
31
+ "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-gcp_compute",
32
+ "repoLink": "https://gitlab.com/itentialopensource/adapters/cloud/adapter-gcp_compute",
33
+ "docLink": "https://docs.itential.com/opensource/docs/google-cloud-compute",
34
+ "faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
35
+ "contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
36
+ "issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
37
+ "webLink": "https://www.itential.com/adapters/gcp-compute/",
38
+ "vendorLink": "https://cloud.google.com/",
39
+ "productLink": "https://cloud.google.com/compute",
40
+ "apiLinks": [
41
+ "https://console.cloud.google.com/marketplace/browse?filter=solution-type:saas",
42
+ "https://cloud.google.com/vision/docs/reference/rest/?apix=true"
43
+ ]
44
+ },
45
+ "relatedItems": {
46
+ "adapters": [
47
+ {
48
+ "name": "adapter-google_drive",
49
+ "overview": "This adapter is used to integrate the Itential Automation Platform (IAP) with the Google Drive System.",
50
+ "versions": [],
51
+ "repoLink": "https://gitlab.com/itentialopensource/adapters/persistence/adapter-google_drive",
52
+ "docLink": "https://docs.itential.com/opensource/docs/google-drive",
53
+ "webLink": "https://www.itential.com/adapters/google-drive/"
54
+ }
55
+ ],
56
+ "integrations": [],
57
+ "ecosystemApplications": [],
58
+ "automations": [],
59
+ "transformations": [],
60
+ "useCases": []
61
+ }
62
+ }
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-gcp_compute",
3
- "version": "1.3.3",
3
+ "version": "1.5.0",
4
4
  "description": "This adapter integrates with system described as: computeEngineApi.",
5
5
  "main": "adapter.js",
6
- "systemName": "Google Cloud Compute",
6
+ "systemName": "Google Cloud Platform Compute",
7
7
  "wizardVersion": "2.44.7",
8
- "engineVersion": "1.61.6",
8
+ "engineVersion": "1.67.5",
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",
@@ -55,33 +56,32 @@
55
56
  "author": "Itential",
56
57
  "homepage": "https://gitlab.com/itentialopensource/adapters/cloud/adapter-gcp_compute#readme",
57
58
  "dependencies": {
58
- "@itentialopensource/adapter-utils": "^4.48.13",
59
- "ajv": "^6.12.0",
60
- "axios": "^0.21.0",
61
- "commander": "^2.20.0",
62
- "fs-extra": "^8.1.0",
59
+ "@itentialopensource/adapter-utils": "^5.1.0",
60
+ "ajv": "^8.12.0",
61
+ "axios": "^1.4.0",
62
+ "commander": "^11.0.0",
63
+ "dns-lookup-promise": "^1.0.4",
64
+ "esprima": "^4.0.1",
65
+ "fs-extra": "^11.1.1",
63
66
  "gtoken": "^5.2.1",
64
67
  "json-query": "^2.2.2",
65
- "mocha": "^9.0.1",
68
+ "mocha": "^10.2.0",
66
69
  "mocha-param": "^2.0.1",
67
- "mongodb": "^4.1.0",
68
- "network-diagnostics": "^0.5.3",
70
+ "mongodb": "^4.16.0",
69
71
  "nyc": "^15.1.0",
72
+ "ping": "^0.4.4",
73
+ "prompts": "^2.4.2",
70
74
  "readline-sync": "^1.4.10",
71
- "semver": "^7.3.2",
72
- "winston": "^3.3.3"
75
+ "semver": "^7.5.3",
76
+ "winston": "^3.9.0"
73
77
  },
74
78
  "devDependencies": {
75
- "chai": "^4.3.4",
76
- "eslint": "^7.29.0",
77
- "eslint-config-airbnb-base": "^14.2.1",
78
- "eslint-plugin-import": "^2.23.4",
79
- "eslint-plugin-json": "^3.0.0",
80
- "package-json-validator": "^0.6.3",
81
- "testdouble": "^3.16.1"
82
- },
83
- "resolutions": {
84
- "minimist": "^1.2.5"
79
+ "chai": "^4.3.7",
80
+ "eslint": "^8.44.0",
81
+ "eslint-config-airbnb-base": "^15.0.0",
82
+ "eslint-plugin-import": "^2.27.5",
83
+ "eslint-plugin-json": "^3.1.0",
84
+ "testdouble": "^3.18.0"
85
85
  },
86
86
  "private": false
87
87
  }