@itentialopensource/adapter-gcp_compute 1.8.1 → 1.8.3
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
## 1.8.3 [08-26-2024]
|
|
3
|
+
|
|
4
|
+
* update dependencies and metadata
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/adapter-gcp_compute!21
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 1.8.2 [08-14-2024]
|
|
11
|
+
|
|
12
|
+
* Changes made at 2024.08.14_18:58PM
|
|
13
|
+
|
|
14
|
+
See merge request itentialopensource/adapters/adapter-gcp_compute!20
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
2
18
|
## 1.8.1 [08-07-2024]
|
|
3
19
|
|
|
4
20
|
* Changes made at 2024.08.06_20:10PM
|
package/SYSTEMINFO.md
CHANGED
|
@@ -4,7 +4,7 @@ Vendor: Google
|
|
|
4
4
|
Homepage: https://cloud.google.com/
|
|
5
5
|
|
|
6
6
|
Product: Cloud Platform
|
|
7
|
-
Product https://cloud.google.com/compute
|
|
7
|
+
Product https://cloud.google.com/products/compute
|
|
8
8
|
|
|
9
9
|
## Introduction
|
|
10
10
|
We classify Google Cloud Platform into the Cloud domain as it provide a solution for Allocating and Managing Resources in the Google Cloud. We also classify it into the Inventory domain because it contains an inventory of Google Cloud Compute.
|
package/metadata.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adapter-gcp_compute",
|
|
3
3
|
"webName": "Adapter for Integration to Google Cloud Platform Compute",
|
|
4
|
+
"supportLevel": "community",
|
|
4
5
|
"vendor": "Google",
|
|
5
6
|
"product": "Cloud Platform Compute",
|
|
7
|
+
"techAlliance": false,
|
|
6
8
|
"osVersion": [],
|
|
7
9
|
"apiVersions": [
|
|
8
10
|
"v1"
|
|
@@ -54,7 +56,7 @@
|
|
|
54
56
|
"storeLink": "",
|
|
55
57
|
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-gcp_compute",
|
|
56
58
|
"repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-gcp_compute",
|
|
57
|
-
"docLink": "https://
|
|
59
|
+
"docLink": "https://gitlab.com/itentialopensource/adapters/adapter-gcp_compute/-/blob/master/README.md?ref_type=heads",
|
|
58
60
|
"demoLinks": [
|
|
59
61
|
{
|
|
60
62
|
"title": "Multi-Vendor SD-WAN",
|
|
@@ -67,7 +69,7 @@
|
|
|
67
69
|
"issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
|
|
68
70
|
"webLink": "https://www.itential.com/adapters/gcp-compute/",
|
|
69
71
|
"vendorLink": "https://cloud.google.com/",
|
|
70
|
-
"productLink": "https://cloud.google.com/compute",
|
|
72
|
+
"productLink": "https://cloud.google.com/products/compute",
|
|
71
73
|
"apiLinks": [
|
|
72
74
|
{
|
|
73
75
|
"title": "Google Cloud Marketplace",
|
|
@@ -77,7 +79,9 @@
|
|
|
77
79
|
"title": "Cloud Vision API ",
|
|
78
80
|
"link": "https://cloud.google.com/vision/docs/reference/rest/?apix=true"
|
|
79
81
|
}
|
|
80
|
-
]
|
|
82
|
+
],
|
|
83
|
+
"workshopLinks": [],
|
|
84
|
+
"workshopHomePage": "https://www.itential.com/get-started/"
|
|
81
85
|
},
|
|
82
86
|
"assets": [],
|
|
83
87
|
"relatedItems": {
|
|
@@ -88,7 +92,7 @@
|
|
|
88
92
|
"overview": "This adapter is used to integrate the Itential Automation Platform (IAP) with the Google Drive System.",
|
|
89
93
|
"isDependency": false,
|
|
90
94
|
"versions": [],
|
|
91
|
-
"repoLink": "https://gitlab.com/itentialopensource/adapters/
|
|
95
|
+
"repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-google_drive",
|
|
92
96
|
"docLink": "https://docs.itential.com/opensource/docs/google-drive",
|
|
93
97
|
"webLink": "https://www.itential.com/adapters/google-drive/"
|
|
94
98
|
}
|
|
@@ -98,6 +102,5 @@
|
|
|
98
102
|
"workflowProjects": [],
|
|
99
103
|
"transformationProjects": [],
|
|
100
104
|
"exampleProjects": []
|
|
101
|
-
}
|
|
102
|
-
"supportLevel": "community"
|
|
105
|
+
}
|
|
103
106
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-gcp_compute",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.3",
|
|
4
4
|
"description": "This adapter integrates with system described as: computeEngineApi.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"systemName": "Google Cloud Platform Compute",
|
|
7
7
|
"wizardVersion": "2.44.7",
|
|
8
|
-
"engineVersion": "1.
|
|
8
|
+
"engineVersion": "1.68.2",
|
|
9
9
|
"adapterType": "http",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
@@ -55,23 +55,23 @@
|
|
|
55
55
|
"author": "Itential",
|
|
56
56
|
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-gcp_compute#readme",
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@itentialopensource/adapter-utils": "^5.
|
|
58
|
+
"@itentialopensource/adapter-utils": "^5.7.0",
|
|
59
59
|
"acorn": "^8.12.1",
|
|
60
60
|
"ajv": "^8.17.1",
|
|
61
|
-
"axios": "^1.7.
|
|
61
|
+
"axios": "^1.7.4",
|
|
62
62
|
"commander": "^11.0.0",
|
|
63
63
|
"dns-lookup-promise": "^1.0.4",
|
|
64
64
|
"fs-extra": "^11.2.0",
|
|
65
65
|
"gtoken": "^5.2.1",
|
|
66
66
|
"json-query": "^2.2.2",
|
|
67
|
-
"mocha": "^10.7.
|
|
67
|
+
"mocha": "^10.7.3",
|
|
68
68
|
"mocha-param": "^2.0.1",
|
|
69
69
|
"mongodb": "^4.16.0",
|
|
70
70
|
"ping": "^0.4.4",
|
|
71
71
|
"prompts": "^2.4.2",
|
|
72
72
|
"readline-sync": "^1.4.10",
|
|
73
73
|
"semver": "^7.6.3",
|
|
74
|
-
"winston": "^3.
|
|
74
|
+
"winston": "^3.14.2"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"chai": "^4.3.7",
|
|
Binary file
|
package/report/adapterInfo.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.8.2",
|
|
3
3
|
"configLines": 77498,
|
|
4
4
|
"scriptLines": 1783,
|
|
5
5
|
"codeLines": 57391,
|
|
6
|
-
"testLines":
|
|
7
|
-
"testCases":
|
|
8
|
-
"totalCodeLines":
|
|
6
|
+
"testLines": 61704,
|
|
7
|
+
"testCases": 2509,
|
|
8
|
+
"totalCodeLines": 120878,
|
|
9
9
|
"wfTasks": 583
|
|
10
10
|
}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
/* eslint no-unused-vars: warn */
|
|
5
5
|
|
|
6
6
|
const assert = require('assert');
|
|
7
|
-
const http = require('http');
|
|
8
7
|
const https = require('https');
|
|
9
8
|
const mocha = require('mocha');
|
|
10
9
|
const ping = require('ping');
|
|
@@ -53,29 +52,6 @@ describe('[integration] Adapter Test', () => {
|
|
|
53
52
|
});
|
|
54
53
|
});
|
|
55
54
|
|
|
56
|
-
it('Support HTTP on port 80', (done) => {
|
|
57
|
-
const requestOptions = {
|
|
58
|
-
host,
|
|
59
|
-
port: 80,
|
|
60
|
-
method: 'HEAD'
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
const req = http.request(requestOptions, (res) => {
|
|
64
|
-
try {
|
|
65
|
-
assert.ok(res.statusCode >= 200 && res.statusCode < 400);
|
|
66
|
-
done();
|
|
67
|
-
} catch (error) {
|
|
68
|
-
done(error);
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
req.on('error', (err) => {
|
|
73
|
-
done(err);
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
req.end();
|
|
77
|
-
});
|
|
78
|
-
|
|
79
55
|
it('Support HTTPS on port 443', (done) => {
|
|
80
56
|
const requestOptions = {
|
|
81
57
|
host,
|
|
@@ -315,15 +315,15 @@ describe('[unit] GcpCompute Adapter Test', () => {
|
|
|
315
315
|
assert.notEqual(null, packageDotJson.dependencies);
|
|
316
316
|
assert.notEqual('', packageDotJson.dependencies);
|
|
317
317
|
assert.equal('^8.17.1', packageDotJson.dependencies.ajv);
|
|
318
|
-
assert.equal('^1.7.
|
|
318
|
+
assert.equal('^1.7.4', packageDotJson.dependencies.axios);
|
|
319
319
|
assert.equal('^11.0.0', packageDotJson.dependencies.commander);
|
|
320
320
|
assert.equal('^11.2.0', packageDotJson.dependencies['fs-extra']);
|
|
321
|
-
assert.equal('^10.7.
|
|
321
|
+
assert.equal('^10.7.3', packageDotJson.dependencies.mocha);
|
|
322
322
|
assert.equal('^2.0.1', packageDotJson.dependencies['mocha-param']);
|
|
323
323
|
assert.equal('^0.4.4', packageDotJson.dependencies.ping);
|
|
324
324
|
assert.equal('^1.4.10', packageDotJson.dependencies['readline-sync']);
|
|
325
325
|
assert.equal('^7.6.3', packageDotJson.dependencies.semver);
|
|
326
|
-
assert.equal('^3.
|
|
326
|
+
assert.equal('^3.14.2', packageDotJson.dependencies.winston);
|
|
327
327
|
done();
|
|
328
328
|
} catch (error) {
|
|
329
329
|
log.error(`Test Failure: ${error}`);
|