@itentialopensource/adapter-generic 0.1.2 → 0.1.4

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
+ ## 0.1.4 [08-07-2024]
3
+
4
+ * fix auths in metadata
5
+
6
+ See merge request itentialopensource/adapters/adapter-generic!5
7
+
8
+ ---
9
+
10
+ ## 0.1.3 [08-07-2024]
11
+
12
+ * Changes made at 2024.08.06_18:28PM
13
+
14
+ See merge request itentialopensource/adapters/adapter-generic!4
15
+
16
+ ---
17
+
2
18
  ## 0.1.2 [08-01-2024]
3
19
 
4
20
  * manual migration updates
package/TAB2.md CHANGED
@@ -108,7 +108,7 @@ Sample Properties can be used to help you configure the adapter in the Itential
108
108
  "stub": true,
109
109
  "protocol": "https",
110
110
  "authentication": {
111
- "auth_method": "no_authentication",
111
+ "auth_method": "basic user_password",
112
112
  "username": "username",
113
113
  "password": "password",
114
114
  "token": "token",
package/metadata.json CHANGED
@@ -22,8 +22,36 @@
22
22
  "brokerSince": "",
23
23
  "authMethods": [
24
24
  {
25
- "type": "Token",
25
+ "type": "Basic Auth",
26
26
  "primary": true
27
+ },
28
+ {
29
+ "type": "API Key",
30
+ "primary": false
31
+ },
32
+ {
33
+ "type": "AWS Auth",
34
+ "primary": false
35
+ },
36
+ {
37
+ "type": "Cookie",
38
+ "primary": false
39
+ },
40
+ {
41
+ "type": "OAuth",
42
+ "primary": false
43
+ },
44
+ {
45
+ "type": "Personal Access Token",
46
+ "primary": false
47
+ },
48
+ {
49
+ "type": "Session Id",
50
+ "primary": false
51
+ },
52
+ {
53
+ "type": "Token",
54
+ "primary": false
27
55
  }
28
56
  ],
29
57
  "documentation": {
@@ -54,5 +82,6 @@
54
82
  "workflowProjects": [],
55
83
  "transformationProjects": [],
56
84
  "exampleProjects": []
57
- }
58
- }
85
+ },
86
+ "supportLevel": "community"
87
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-generic",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "This adapter integrates with any rest based system.",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.7",
@@ -51,22 +51,22 @@
51
51
  "author": "Itential",
52
52
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-generic#readme",
53
53
  "dependencies": {
54
- "@itentialopensource/adapter-utils": "^5.5.0",
55
- "acorn": "^8.10.0",
56
- "ajv": "^8.12.0",
57
- "axios": "^1.6.8",
54
+ "@itentialopensource/adapter-utils": "^5.6.0",
55
+ "acorn": "^8.12.1",
56
+ "ajv": "^8.17.1",
57
+ "axios": "^1.7.2",
58
58
  "commander": "^11.0.0",
59
59
  "dns-lookup-promise": "^1.0.4",
60
- "fs-extra": "^11.1.1",
60
+ "fs-extra": "^11.2.0",
61
61
  "json-query": "^2.2.2",
62
- "mocha": "^10.3.0",
62
+ "mocha": "^10.7.0",
63
63
  "mocha-param": "^2.0.1",
64
64
  "mongodb": "^4.16.0",
65
65
  "ping": "^0.4.4",
66
66
  "prompts": "^2.4.2",
67
67
  "readline-sync": "^1.4.10",
68
- "semver": "^7.5.3",
69
- "winston": "^3.9.0"
68
+ "semver": "^7.6.3",
69
+ "winston": "^3.13.1"
70
70
  },
71
71
  "devDependencies": {
72
72
  "chai": "^4.3.7",
Binary file
@@ -14,7 +14,7 @@
14
14
  "stub": true,
15
15
  "protocol": "https",
16
16
  "authentication": {
17
- "auth_method": "no_authentication",
17
+ "auth_method": "basic user_password",
18
18
  "username": "username",
19
19
  "password": "password",
20
20
  "token": "token",
@@ -314,16 +314,16 @@ describe('[unit] Generic Adapter Test', () => {
314
314
  assert.notEqual(undefined, packageDotJson.dependencies);
315
315
  assert.notEqual(null, packageDotJson.dependencies);
316
316
  assert.notEqual('', packageDotJson.dependencies);
317
- assert.equal('^8.12.0', packageDotJson.dependencies.ajv);
318
- assert.equal('^1.6.8', packageDotJson.dependencies.axios);
317
+ assert.equal('^8.17.1', packageDotJson.dependencies.ajv);
318
+ assert.equal('^1.7.2', packageDotJson.dependencies.axios);
319
319
  assert.equal('^11.0.0', packageDotJson.dependencies.commander);
320
- assert.equal('^11.1.1', packageDotJson.dependencies['fs-extra']);
321
- assert.equal('^10.3.0', packageDotJson.dependencies.mocha);
320
+ assert.equal('^11.2.0', packageDotJson.dependencies['fs-extra']);
321
+ assert.equal('^10.7.0', 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
- assert.equal('^7.5.3', packageDotJson.dependencies.semver);
326
- assert.equal('^3.9.0', packageDotJson.dependencies.winston);
325
+ assert.equal('^7.6.3', packageDotJson.dependencies.semver);
326
+ assert.equal('^3.13.1', packageDotJson.dependencies.winston);
327
327
  done();
328
328
  } catch (error) {
329
329
  log.error(`Test Failure: ${error}`);