@itentialopensource/adapter-tmf642_alarm_management 1.2.0 → 1.2.1
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 +8 -0
- package/TAB2.md +4 -11
- package/compliance-report.json +9 -0
- package/compliance-report.txt +5 -0
- package/metadata.json +2 -1
- package/package.json +9 -9
- package/refs?service=git-upload-pack +0 -0
- package/test/unit/adapterTestUnit.js +6 -6
package/CHANGELOG.md
CHANGED
package/TAB2.md
CHANGED
|
@@ -25,16 +25,9 @@ STEPS
|
|
|
25
25
|
"auth_method": "basic user_password",
|
|
26
26
|
"username": "<username>",
|
|
27
27
|
"password": "<password>",
|
|
28
|
-
"token": "",
|
|
29
|
-
"token_timeout": 1800000,
|
|
30
|
-
"token_cache": "local",
|
|
31
|
-
"invalid_token_error": 401,
|
|
32
28
|
"auth_field": "header.headers.Authorization",
|
|
33
29
|
"auth_field_format": "Basic {b64}{username}:{password}{/b64}",
|
|
34
|
-
"auth_logging": false
|
|
35
|
-
"client_id": "",
|
|
36
|
-
"client_secret": "",
|
|
37
|
-
"grant_type": ""
|
|
30
|
+
"auth_logging": false
|
|
38
31
|
}
|
|
39
32
|
```
|
|
40
33
|
4. Restart the adapter. If your properties were set correctly, the adapter should go online.
|
|
@@ -68,7 +61,7 @@ Sample Properties can be used to help you configure the adapter in the Itential
|
|
|
68
61
|
"stub": true,
|
|
69
62
|
"protocol": "https",
|
|
70
63
|
"authentication": {
|
|
71
|
-
"auth_method": "
|
|
64
|
+
"auth_method": "basic user_password",
|
|
72
65
|
"username": "username",
|
|
73
66
|
"password": "password",
|
|
74
67
|
"token": "token",
|
|
@@ -316,7 +309,7 @@ Sample Properties can be used to help you configure the adapter in the Itential
|
|
|
316
309
|
}
|
|
317
310
|
}
|
|
318
311
|
```
|
|
319
|
-
### [Swagger](https://gitlab.com/itentialopensource/adapters/
|
|
312
|
+
### [Swagger](https://gitlab.com/itentialopensource/adapters/adapter-tmf642_alarm_management/-/blob/master/report/adapter-openapi.json)
|
|
320
313
|
|
|
321
|
-
## [Generic Adapter Information](https://gitlab.com/itentialopensource/adapters/
|
|
314
|
+
## [Generic Adapter Information](https://gitlab.com/itentialopensource/adapters/adapter-tmf642_alarm_management/-/blob/master/README.md)
|
|
322
315
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
---------------------------------------------------------------------------------------------
|
|
2
|
+
**** Project Compliance Summary ****
|
|
3
|
+
0 project(s) are not valid
|
|
4
|
+
0 project(s) are valid
|
|
5
|
+
---------------------------------------------------------------------------------------------
|
package/metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-tmf642_alarm_management",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "This adapter integrates with system described as: tmf642 alarm management.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"systemName": "TMF642 Alarm Management",
|
|
@@ -55,22 +55,22 @@
|
|
|
55
55
|
"author": "Itential",
|
|
56
56
|
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-tmf642_alarm_management#readme",
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@itentialopensource/adapter-utils": "^5.
|
|
59
|
-
"acorn": "^8.
|
|
60
|
-
"ajv": "^8.
|
|
61
|
-
"axios": "^1.
|
|
58
|
+
"@itentialopensource/adapter-utils": "^5.6.0",
|
|
59
|
+
"acorn": "^8.12.1",
|
|
60
|
+
"ajv": "^8.17.1",
|
|
61
|
+
"axios": "^1.7.2",
|
|
62
62
|
"commander": "^11.0.0",
|
|
63
63
|
"dns-lookup-promise": "^1.0.4",
|
|
64
|
-
"fs-extra": "^11.
|
|
64
|
+
"fs-extra": "^11.2.0",
|
|
65
65
|
"json-query": "^2.2.2",
|
|
66
|
-
"mocha": "^10.
|
|
66
|
+
"mocha": "^10.7.0",
|
|
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
|
-
"semver": "^7.
|
|
73
|
-
"winston": "^3.
|
|
72
|
+
"semver": "^7.6.3",
|
|
73
|
+
"winston": "^3.13.1"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"chai": "^4.3.7",
|
|
Binary file
|
|
@@ -314,16 +314,16 @@ describe('[unit] tmf642_alarm_management 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.
|
|
318
|
-
assert.equal('^1.
|
|
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.
|
|
321
|
-
assert.equal('^10.
|
|
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.
|
|
326
|
-
assert.equal('^3.
|
|
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}`);
|