@itentialopensource/adapter-microsoft_graph 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintignore +0 -1
- package/.jshintrc +3 -0
- package/AUTH.md +20 -16
- package/CALLS.md +63 -28
- package/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +31 -22
- package/SUMMARY.md +2 -2
- package/SYSTEMINFO.md +15 -5
- package/adapter.js +159 -330
- package/adapterBase.js +538 -873
- package/changelogs/changelog.md +6 -0
- package/metadata.json +52 -0
- package/package.json +22 -25
- package/pronghorn.json +475 -143
- package/propertiesSchema.json +444 -40
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +14709 -0
- package/report/adapter-openapi.yaml +9744 -0
- package/report/adapterInfo.json +8 -8
- package/report/updateReport1691507370664.json +120 -0
- package/report/updateReport1692202407231.json +120 -0
- package/report/updateReport1694460353234.json +120 -0
- package/report/updateReport1695667793473.json +120 -0
- package/sampleProperties.json +66 -3
- package/test/integration/adapterTestBasicGet.js +1 -1
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +130 -2
- package/test/unit/adapterBaseTestUnit.js +395 -292
- package/test/unit/adapterTestUnit.js +306 -109
- 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 +1 -0
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +57 -22
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +3 -10
- package/utils/tbUtils.js +2 -3
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +1 -3
- package/workflows/README.md +0 -3
package/metadata.json
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
{
|
2
|
+
"name": "adapter-microsoft_graph",
|
3
|
+
"webName": "Adapter for Integration to Microsoft Graph",
|
4
|
+
"vendor": "Microsoft",
|
5
|
+
"product": "Graph",
|
6
|
+
"osVersion": [],
|
7
|
+
"apiVersions": [
|
8
|
+
"1.0"
|
9
|
+
],
|
10
|
+
"iapVersions": [
|
11
|
+
"2021.1.x",
|
12
|
+
"2021.2.x",
|
13
|
+
"2022.1.x",
|
14
|
+
"2023.1.x"
|
15
|
+
],
|
16
|
+
"method": "REST",
|
17
|
+
"type": "Adapter",
|
18
|
+
"domains": [
|
19
|
+
"Cloud"
|
20
|
+
],
|
21
|
+
"tags": [],
|
22
|
+
"useCases": [],
|
23
|
+
"deprecated": {
|
24
|
+
"isDeprecated": false
|
25
|
+
},
|
26
|
+
"brokerSince": "",
|
27
|
+
"documentation": {
|
28
|
+
"storeLink": "",
|
29
|
+
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-microsoft_graph",
|
30
|
+
"repoLink": "https://gitlab.com/itentialopensource/adapters/cloud/adapter-microsoft_graph.git",
|
31
|
+
"docLink": "https://docs.itential.com/opensource/docs/microsoft-graph",
|
32
|
+
"demoLinks": [],
|
33
|
+
"faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
|
34
|
+
"contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
|
35
|
+
"issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
|
36
|
+
"webLink": "https://www.itential.com/adapters/microsoft-graph/",
|
37
|
+
"vendorLink": "https://www.microsoft.com/en-us/",
|
38
|
+
"productLink": "https://learn.microsoft.com/en-us/graph/overview",
|
39
|
+
"apiLinks": [
|
40
|
+
"https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0"
|
41
|
+
]
|
42
|
+
},
|
43
|
+
"assets": [],
|
44
|
+
"relatedItems": {
|
45
|
+
"adapters": [],
|
46
|
+
"integrations": [],
|
47
|
+
"ecosystemApplications": [],
|
48
|
+
"workflowProjects": [],
|
49
|
+
"transformationProjects": [],
|
50
|
+
"exampleProjects": []
|
51
|
+
}
|
52
|
+
}
|
package/package.json
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "@itentialopensource/adapter-microsoft_graph",
|
3
|
-
"version": "1.0
|
3
|
+
"version": "1.1.0",
|
4
4
|
"description": "This adapter integrates with system described as: microsoftGraph.",
|
5
5
|
"main": "adapter.js",
|
6
|
-
"wizardVersion": "2.44.
|
7
|
-
"engineVersion": "1.
|
6
|
+
"wizardVersion": "2.44.7",
|
7
|
+
"engineVersion": "1.67.8",
|
8
8
|
"adapterType": "http",
|
9
9
|
"scripts": {
|
10
10
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
11
|
-
"preinstall": "node utils/setup.js
|
11
|
+
"preinstall": "node utils/setup.js",
|
12
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",
|
@@ -54,34 +54,31 @@
|
|
54
54
|
"author": "Itential",
|
55
55
|
"homepage": "https://gitlab.com/itentialopensource/adapters/cloud/adapter-microsoft_graph#readme",
|
56
56
|
"dependencies": {
|
57
|
-
"@itentialopensource/adapter-utils": "^5.
|
58
|
-
"
|
59
|
-
"
|
60
|
-
"
|
61
|
-
"
|
62
|
-
"
|
57
|
+
"@itentialopensource/adapter-utils": "^5.1.7",
|
58
|
+
"acorn": "^8.10.0",
|
59
|
+
"ajv": "^8.12.0",
|
60
|
+
"axios": "^1.4.0",
|
61
|
+
"commander": "^11.0.0",
|
62
|
+
"dns-lookup-promise": "^1.0.4",
|
63
|
+
"fs-extra": "^11.1.1",
|
63
64
|
"json-query": "^2.2.2",
|
64
|
-
"mocha": "^
|
65
|
+
"mocha": "^10.2.0",
|
65
66
|
"mocha-param": "^2.0.1",
|
66
|
-
"mongodb": "^4.
|
67
|
-
"network-diagnostics": "^0.5.3",
|
67
|
+
"mongodb": "^4.16.0",
|
68
68
|
"nyc": "^15.1.0",
|
69
|
+
"ping": "^0.4.4",
|
69
70
|
"prompts": "^2.4.2",
|
70
71
|
"readline-sync": "^1.4.10",
|
71
|
-
"semver": "^7.3
|
72
|
-
"winston": "^3.
|
72
|
+
"semver": "^7.5.3",
|
73
|
+
"winston": "^3.9.0"
|
73
74
|
},
|
74
75
|
"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"
|
76
|
+
"chai": "^4.3.7",
|
77
|
+
"eslint": "^8.44.0",
|
78
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
79
|
+
"eslint-plugin-import": "^2.27.5",
|
80
|
+
"eslint-plugin-json": "^3.1.0",
|
81
|
+
"testdouble": "^3.18.0"
|
85
82
|
},
|
86
83
|
"private": false
|
87
84
|
}
|