@itentialopensource/adapter-azure_devops 0.3.1 → 0.3.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 +16 -0
- package/TAB2.md +1 -1
- package/metadata.json +7 -4
- package/package.json +6 -6
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +4 -4
- package/sampleProperties.json +4 -4
- package/test/integration/adapterTestConnectivity.js +0 -24
- package/test/unit/adapterTestUnit.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
## 0.3.3 [08-23-2024]
|
|
3
|
+
|
|
4
|
+
* update dependencies and metadata
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/adapter-azure_devops!20
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 0.3.2 [08-14-2024]
|
|
11
|
+
|
|
12
|
+
* Changes made at 2024.08.14_18:23PM
|
|
13
|
+
|
|
14
|
+
See merge request itentialopensource/adapters/adapter-azure_devops!19
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
2
18
|
## 0.3.1 [08-07-2024]
|
|
3
19
|
|
|
4
20
|
* Changes made at 2024.08.06_19:36PM
|
package/TAB2.md
CHANGED
package/metadata.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adapter-azure_devops",
|
|
3
3
|
"webName": "Adapter for Integration to Microsoft Azure DevOps",
|
|
4
|
+
"supportLevel": "community",
|
|
4
5
|
"vendor": "Microsoft",
|
|
5
6
|
"product": "Azure DevOps",
|
|
7
|
+
"techAlliance": false,
|
|
6
8
|
"osVersion": [],
|
|
7
9
|
"apiVersions": [],
|
|
8
10
|
"iapVersions": [
|
|
@@ -37,7 +39,7 @@
|
|
|
37
39
|
"storeLink": "",
|
|
38
40
|
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-azure_devops",
|
|
39
41
|
"repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-azure_devops",
|
|
40
|
-
"docLink": "https://
|
|
42
|
+
"docLink": "https://gitlab.com/itentialopensource/adapters/adapter-azure_devops/-/blob/master/README.md?ref_type=heads",
|
|
41
43
|
"demoLinks": [
|
|
42
44
|
{
|
|
43
45
|
"title": "How NetDevOps Teams Can Integrate Network Automations with their Entire IT Ecosystem",
|
|
@@ -62,7 +64,9 @@
|
|
|
62
64
|
"link": "https://learn.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-7.2",
|
|
63
65
|
"public": true
|
|
64
66
|
}
|
|
65
|
-
]
|
|
67
|
+
],
|
|
68
|
+
"workshopLinks": [],
|
|
69
|
+
"workshopHomePage": "https://www.itential.com/get-started/"
|
|
66
70
|
},
|
|
67
71
|
"assets": [],
|
|
68
72
|
"relatedItems": {
|
|
@@ -85,6 +89,5 @@
|
|
|
85
89
|
],
|
|
86
90
|
"transformationProjects": [],
|
|
87
91
|
"exampleProjects": []
|
|
88
|
-
}
|
|
89
|
-
"supportLevel": "community"
|
|
92
|
+
}
|
|
90
93
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-azure_devops",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "This adapter integrates with system described as: Azure DevOps.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"wizardVersion": "2.44.7",
|
|
7
|
-
"engineVersion": "1.
|
|
7
|
+
"engineVersion": "1.68.2",
|
|
8
8
|
"adapterType": "http",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
@@ -55,22 +55,22 @@
|
|
|
55
55
|
"author": "Itential",
|
|
56
56
|
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-azure_devops#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
|
"json-query": "^2.2.2",
|
|
66
|
-
"mocha": "^10.7.
|
|
66
|
+
"mocha": "^10.7.3",
|
|
67
67
|
"mocha-param": "^2.0.1",
|
|
68
68
|
"mongodb": "^4.16.0",
|
|
69
69
|
"ping": "^0.4.4",
|
|
70
70
|
"prompts": "^2.4.2",
|
|
71
71
|
"readline-sync": "^1.4.10",
|
|
72
72
|
"semver": "^7.6.3",
|
|
73
|
-
"winston": "^3.
|
|
73
|
+
"winston": "^3.14.2"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"chai": "^4.3.7",
|
|
Binary file
|
package/report/adapterInfo.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.2
|
|
2
|
+
"version": "0.3.2",
|
|
3
3
|
"configLines": 54269,
|
|
4
4
|
"scriptLines": 1783,
|
|
5
5
|
"codeLines": 14951,
|
|
6
|
-
"testLines":
|
|
7
|
-
"testCases":
|
|
8
|
-
"totalCodeLines":
|
|
6
|
+
"testLines": 20276,
|
|
7
|
+
"testCases": 997,
|
|
8
|
+
"totalCodeLines": 37010,
|
|
9
9
|
"wfTasks": 143
|
|
10
10
|
}
|
package/sampleProperties.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "Adapter-azure_devops",
|
|
3
3
|
"type": "AzureDevops",
|
|
4
4
|
"properties": {
|
|
5
|
-
"host": "
|
|
5
|
+
"host": "localhost",
|
|
6
6
|
"port": 443,
|
|
7
7
|
"choosepath": "",
|
|
8
8
|
"base_path": "/",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"ostypePrefix": "meraki-",
|
|
136
136
|
"port": "{port}",
|
|
137
137
|
"ipaddress": "{ip_addr}",
|
|
138
|
-
"serial"
|
|
138
|
+
"serial": "{serial}"
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
],
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"ostypePrefix": "meraki-",
|
|
162
162
|
"port": "{port}",
|
|
163
163
|
"ipaddress": "{ip_addr}",
|
|
164
|
-
"serial"
|
|
164
|
+
"serial": "{serial}",
|
|
165
165
|
"id": "{myid}"
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
"ostypePrefix": "meraki-",
|
|
246
246
|
"port": "{port}",
|
|
247
247
|
"ipaddress": "{ip_addr}",
|
|
248
|
-
"serial"
|
|
248
|
+
"serial": "{serial}",
|
|
249
249
|
"id": "{myid}"
|
|
250
250
|
}
|
|
251
251
|
}
|
|
@@ -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] Azure_devops 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}`);
|
|
@@ -561,7 +561,7 @@ describe('[unit] Azure_devops Adapter Test', () => {
|
|
|
561
561
|
log.error(`Adapter Exception: ${error}`);
|
|
562
562
|
done(error);
|
|
563
563
|
}
|
|
564
|
-
});
|
|
564
|
+
}).timeout(attemptTimeout);
|
|
565
565
|
});
|
|
566
566
|
|
|
567
567
|
describe('propertiesSchema.json', () => {
|