@itentialopensource/adapter-gcp_compute 1.8.2 → 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
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",
|
|
@@ -90,7 +92,7 @@
|
|
|
90
92
|
"overview": "This adapter is used to integrate the Itential Automation Platform (IAP) with the Google Drive System.",
|
|
91
93
|
"isDependency": false,
|
|
92
94
|
"versions": [],
|
|
93
|
-
"repoLink": "https://gitlab.com/itentialopensource/adapters/
|
|
95
|
+
"repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-google_drive",
|
|
94
96
|
"docLink": "https://docs.itential.com/opensource/docs/google-drive",
|
|
95
97
|
"webLink": "https://www.itential.com/adapters/google-drive/"
|
|
96
98
|
}
|
|
@@ -100,7 +102,5 @@
|
|
|
100
102
|
"workflowProjects": [],
|
|
101
103
|
"transformationProjects": [],
|
|
102
104
|
"exampleProjects": []
|
|
103
|
-
}
|
|
104
|
-
"supportLevel": "community",
|
|
105
|
-
"techAlliance": false
|
|
105
|
+
}
|
|
106
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,7 +55,7 @@
|
|
|
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
61
|
"axios": "^1.7.4",
|
|
@@ -71,7 +71,7 @@
|
|
|
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,
|
|
@@ -323,7 +323,7 @@ describe('[unit] GcpCompute Adapter Test', () => {
|
|
|
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}`);
|