@itentialopensource/adapter-azure_devops 0.1.10 → 0.2.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.
- package/AUTH.md +11 -13
- package/CALLS.md +797 -22
- package/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +32 -23
- package/SYSTEMINFO.md +13 -5
- package/adapter.js +163 -335
- package/adapterBase.js +549 -879
- package/changelogs/CHANGELOG.md +88 -0
- package/metadata.json +73 -0
- package/package.json +24 -25
- package/pronghorn.json +980 -641
- package/propertiesSchema.json +431 -31
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +29422 -0
- package/report/adapter-openapi.yaml +10963 -0
- package/report/adapterInfo.json +8 -8
- package/report/updateReport1691507719192.json +120 -0
- package/report/updateReport1692202716318.json +120 -0
- package/report/updateReport1694455416503.json +120 -0
- package/report/updateReport1694457083247.json +120 -0
- package/report/updateReport1694462876098.json +120 -0
- package/report/updateReport1698421291981.json +120 -0
- package/sampleProperties.json +63 -2
- package/test/integration/adapterTestBasicGet.js +2 -4
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +130 -2
- package/test/unit/adapterBaseTestUnit.js +388 -313
- package/test/unit/adapterTestUnit.js +338 -112
- package/utils/adapterInfo.js +1 -1
- package/utils/addAuth.js +1 -1
- package/utils/artifactize.js +1 -1
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +2 -2
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/pre-commit.sh +2 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +89 -34
- package/utils/tbUtils.js +41 -21
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +9 -6
- package/workflows/README.md +0 -3
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
|
|
2
|
+
## 0.1.11 [06-06-2023]
|
|
3
|
+
|
|
4
|
+
* fixed itemsList query params
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/devops-netops/adapter-azure_devops!11
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 0.1.10 [04-04-2023]
|
|
11
|
+
|
|
12
|
+
* Utils version has been updated in package.json, and the changes are being migrated to the adapter
|
|
13
|
+
|
|
14
|
+
See merge request itentialopensource/adapters/devops-netops/adapter-azure_devops!10
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 0.1.9 [04-04-2023]
|
|
19
|
+
|
|
20
|
+
* Utils version has been updated in package.json, and the changes are being migrated to the adapter
|
|
21
|
+
|
|
22
|
+
See merge request itentialopensource/adapters/devops-netops/adapter-azure_devops!10
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 0.1.8 [01-26-2023]
|
|
27
|
+
|
|
28
|
+
* Updated schema, inputs and removed adapter_modifications folder
|
|
29
|
+
|
|
30
|
+
See merge request itentialopensource/adapters/devops-netops/adapter-azure_devops!8
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 0.1.7 [01-26-2023]
|
|
35
|
+
|
|
36
|
+
* ADAPT-2530 - Change body format
|
|
37
|
+
|
|
38
|
+
See merge request itentialopensource/adapters/devops-netops/adapter-azure_devops!7
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## 0.1.6 [12-01-2022]
|
|
43
|
+
|
|
44
|
+
* ADAPT-2476
|
|
45
|
+
|
|
46
|
+
See merge request itentialopensource/adapters/devops-netops/adapter-azure_devops!6
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## 0.1.5 [11-22-2022]
|
|
51
|
+
|
|
52
|
+
* Implement API request Commits – Get Commits
|
|
53
|
+
|
|
54
|
+
See merge request itentialopensource/adapters/devops-netops/adapter-azure_devops!5
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## 0.1.4 [11-22-2022]
|
|
59
|
+
|
|
60
|
+
* Query parameter across all apis showing as “apiVersion” instead of api-version
|
|
61
|
+
|
|
62
|
+
See merge request itentialopensource/adapters/devops-netops/adapter-azure_devops!4
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## 0.1.3 [10-31-2022]
|
|
67
|
+
|
|
68
|
+
* Azure DevOps Adapter Mixed Path Variables
|
|
69
|
+
|
|
70
|
+
See merge request itentialopensource/adapters/devops-netops/adapter-azure_devops!3
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## 0.1.2 [05-25-2022]
|
|
75
|
+
|
|
76
|
+
* Added Git API
|
|
77
|
+
|
|
78
|
+
See merge request itentialopensource/adapters/devops-netops/adapter-azure_devops!1
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## 0.1.1 [12-13-2021]
|
|
83
|
+
|
|
84
|
+
- Initial Commit
|
|
85
|
+
|
|
86
|
+
See commit b5990f7
|
|
87
|
+
|
|
88
|
+
---
|
package/metadata.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "adapter-azure_devops",
|
|
3
|
+
"webName": "Adapter for Integration to Microsoft Azure DevOps",
|
|
4
|
+
"vendor": "Microsoft",
|
|
5
|
+
"product": "Azure DevOps",
|
|
6
|
+
"osVersion": [],
|
|
7
|
+
"apiVersions": [],
|
|
8
|
+
"iapVersions": [
|
|
9
|
+
"2021.1.x",
|
|
10
|
+
"2021.2.x",
|
|
11
|
+
"2022.1.x",
|
|
12
|
+
"2023.1.x"
|
|
13
|
+
],
|
|
14
|
+
"method": "REST",
|
|
15
|
+
"type": "Adapter",
|
|
16
|
+
"domains": [
|
|
17
|
+
"CI/CD"
|
|
18
|
+
],
|
|
19
|
+
"tags": [
|
|
20
|
+
"Pipelines",
|
|
21
|
+
"Version Control",
|
|
22
|
+
"Build and Deploy"
|
|
23
|
+
],
|
|
24
|
+
"useCases": [
|
|
25
|
+
"Automate Start of CI/CD Process",
|
|
26
|
+
"Create, update, manage and remove Projects",
|
|
27
|
+
"Automated Deployment of a new System, Application or Project",
|
|
28
|
+
"Versioning of Infrastructure Configuration",
|
|
29
|
+
"Automation of Network Configuration Changes from Repository"
|
|
30
|
+
],
|
|
31
|
+
"deprecated": {
|
|
32
|
+
"isDeprecated": false
|
|
33
|
+
},
|
|
34
|
+
"brokerSince": "",
|
|
35
|
+
"documentation": {
|
|
36
|
+
"storeLink": "",
|
|
37
|
+
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-azure_devops",
|
|
38
|
+
"repoLink": "https://gitlab.com/itentialopensource/adapters/devops-netops/adapter-azure_devops",
|
|
39
|
+
"docLink": "https://docs.itential.com/opensource/docs/microsoft-azure-devops",
|
|
40
|
+
"demoLinks": [],
|
|
41
|
+
"faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
|
|
42
|
+
"contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
|
|
43
|
+
"issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
|
|
44
|
+
"webLink": "https://www.itential.com/adapters/azure-devops/",
|
|
45
|
+
"vendorLink": "https://www.microsoft.com",
|
|
46
|
+
"productLink": "https://azure.microsoft.com/en-us/products/devops",
|
|
47
|
+
"apiLinks": [
|
|
48
|
+
"https://learn.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-7.2"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"assets": [],
|
|
52
|
+
"relatedItems": {
|
|
53
|
+
"adapters": [],
|
|
54
|
+
"integrations": [],
|
|
55
|
+
"ecosystemApplications": [],
|
|
56
|
+
"workflowProjects": [
|
|
57
|
+
{
|
|
58
|
+
"name": "Prebuilt Promotion Azure Devops",
|
|
59
|
+
"webName": "Promotion Azure DevOps",
|
|
60
|
+
"overview": "The Prebuilt Promotion Azure DevOps pre-built is used to push a pre-built directly to an Azure DevOps project, or make an update to an existing pre-built in Azure DevOps. It is also used to promote the new pre-built directly towards a specified instance of IAP (staging/prod/etc.). -",
|
|
61
|
+
"isDependency": false,
|
|
62
|
+
"versions": [
|
|
63
|
+
"1.0.11"
|
|
64
|
+
],
|
|
65
|
+
"repoLink": "https://gitlab.com/itentialopensource/pre-built-automations/prebuilt-promotion-azure-devops",
|
|
66
|
+
"docLink": "<TBD>",
|
|
67
|
+
"webLink": "https://www.itential.com/automations/promotion-azure-devops/"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"transformationProjects": [],
|
|
71
|
+
"exampleProjects": []
|
|
72
|
+
}
|
|
73
|
+
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-azure_devops",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "This adapter integrates with system described as: Azure DevOps.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
|
-
"systemName": "Microsoft Azure DevOps",
|
|
7
6
|
"wizardVersion": "2.44.7",
|
|
8
|
-
"engineVersion": "1.
|
|
7
|
+
"engineVersion": "1.67.10",
|
|
9
8
|
"adapterType": "http",
|
|
10
9
|
"scripts": {
|
|
11
10
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
12
|
-
"preinstall": "node utils/setup.js
|
|
11
|
+
"preinstall": "node utils/setup.js",
|
|
12
|
+
"deinstall": "node utils/removeHooks.js",
|
|
13
13
|
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
14
14
|
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
15
15
|
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"adapter:migrate": "node utils/modify.js -m",
|
|
24
24
|
"adapter:update": "node utils/modify.js -u",
|
|
25
25
|
"adapter:revert": "node utils/modify.js -r",
|
|
26
|
-
"troubleshoot": "node utils/tbScript.js",
|
|
26
|
+
"troubleshoot": "node utils/tbScript.js troubleshoot",
|
|
27
27
|
"healthcheck": "node utils/tbScript.js healthcheck",
|
|
28
28
|
"basicget": "node utils/tbScript.js basicget",
|
|
29
29
|
"connectivity": "node utils/tbScript.js connectivity",
|
|
@@ -56,32 +56,31 @@
|
|
|
56
56
|
"author": "Itential",
|
|
57
57
|
"homepage": "https://gitlab.com/itentialopensource/adapters/devops-netops/adapter-azure_devops#readme",
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@itentialopensource/adapter-utils": "^
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
59
|
+
"@itentialopensource/adapter-utils": "^5.3.0",
|
|
60
|
+
"acorn": "^8.10.0",
|
|
61
|
+
"ajv": "^8.12.0",
|
|
62
|
+
"axios": "^1.4.0",
|
|
63
|
+
"commander": "^11.0.0",
|
|
64
|
+
"dns-lookup-promise": "^1.0.4",
|
|
65
|
+
"fs-extra": "^11.1.1",
|
|
64
66
|
"json-query": "^2.2.2",
|
|
65
|
-
"mocha": "^
|
|
67
|
+
"mocha": "^10.2.0",
|
|
66
68
|
"mocha-param": "^2.0.1",
|
|
67
|
-
"mongodb": "^4.
|
|
68
|
-
"network-diagnostics": "^0.5.3",
|
|
69
|
+
"mongodb": "^4.16.0",
|
|
69
70
|
"nyc": "^15.1.0",
|
|
71
|
+
"ping": "^0.4.4",
|
|
72
|
+
"prompts": "^2.4.2",
|
|
70
73
|
"readline-sync": "^1.4.10",
|
|
71
|
-
"semver": "^7.3
|
|
72
|
-
"winston": "^3.
|
|
74
|
+
"semver": "^7.5.3",
|
|
75
|
+
"winston": "^3.9.0"
|
|
73
76
|
},
|
|
74
77
|
"devDependencies": {
|
|
75
|
-
"chai": "^4.3.
|
|
76
|
-
"eslint": "^
|
|
77
|
-
"eslint-config-airbnb-base": "^
|
|
78
|
-
"eslint-plugin-import": "^2.
|
|
79
|
-
"eslint-plugin-json": "^3.
|
|
80
|
-
"
|
|
81
|
-
"testdouble": "^3.16.1"
|
|
82
|
-
},
|
|
83
|
-
"resolutions": {
|
|
84
|
-
"minimist": "^1.2.5"
|
|
78
|
+
"chai": "^4.3.7",
|
|
79
|
+
"eslint": "^8.44.0",
|
|
80
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
81
|
+
"eslint-plugin-import": "^2.27.5",
|
|
82
|
+
"eslint-plugin-json": "^3.1.0",
|
|
83
|
+
"testdouble": "^3.18.0"
|
|
85
84
|
},
|
|
86
85
|
"private": false
|
|
87
86
|
}
|