@itentialopensource/adapter-mockdevice 2.1.1 → 2.1.2

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 CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  This document will go through the steps for authenticating the Mock Device adapter with. Properly configuring the properties for an adapter in IAP is critical for getting the adapter online. You can read more about adapter authentication <a href="https://docs.itential.com/opensource/docs/authentication" target="_blank">HERE</a>.
4
4
 
5
- ### Authentication
5
+ ### No Authentication
6
+ The Winston Syslog Adapter does not require any authentication.
6
7
 
7
8
  ### Troubleshooting
8
9
  - Make sure you copied over the correct username and password.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 2.1.2 [09-20-2024]
3
+
4
+ * update dependencies
5
+
6
+ See merge request itentialopensource/adapters/adapter-mockdevice!18
7
+
8
+ ---
9
+
2
10
  ## 2.1.1 [03-15-2024]
3
11
 
4
12
  * Update metadata.json
package/TAB1.md ADDED
@@ -0,0 +1,2 @@
1
+ Note: The content for this section may be missing as its corresponding .md file is unavailable. This sections will be updated once SUMMARY.md file is added.
2
+ For further technical details on how to install and use this adapter, please click the Technical Documentation tab.
package/TAB2.md ADDED
@@ -0,0 +1,54 @@
1
+
2
+ ## Table of Contents
3
+
4
+ - [Specific Adapter Information](#specific-adapter-information)
5
+ - [Authentication](#authentication)
6
+ - [Sample Properties](#sample-properties)
7
+ - [Swagger](#swagger)
8
+ - [Generic Adapter Information](#generic-adapter-information)
9
+
10
+ ## Specific Adapter Information
11
+ ### Authentication
12
+
13
+ This document will go through the steps for authenticating the Mock Device adapter with. Properly configuring the properties for an adapter in IAP is critical for getting the adapter online. You can read more about adapter authentication <a href="https://docs.itential.com/opensource/docs/authentication" target="_blank">HERE</a>.
14
+
15
+ #### No Authentication
16
+ The Winston Syslog Adapter does not require any authentication.
17
+
18
+ #### Troubleshooting
19
+ - Make sure you copied over the correct username and password.
20
+ - Turn on debug level logs for the adapter in IAP Admin Essentials.
21
+ - Investigate the logs
22
+ ### Sample Properties
23
+
24
+ Sample Properties can be used to help you configure the adapter in the Itential Automation Platform. You will need to update connectivity information such as the host, port, protocol and credentials.
25
+
26
+ ```json
27
+ "properties": {
28
+ "id": "mockdevice",
29
+ "type": "MockDevice",
30
+ "properties": {
31
+ "devices": [
32
+ {
33
+ "prefix": "ATL",
34
+ "type": "cisco-ios-xr",
35
+ "count": "2"
36
+ },
37
+ {
38
+ "prefix": "NYC",
39
+ "type": "f5-bigip",
40
+ "count": "7"
41
+ }
42
+ ]
43
+ },
44
+ "brokers": [
45
+ "device"
46
+ ],
47
+ "groups": []
48
+ }
49
+ ```
50
+ ### Swagger
51
+
52
+ Note: The content for this section may be missing as its corresponding .json file is unavailable. This sections will be updated once adapter-openapi.json file is added.
53
+ ## [Generic Adapter Information](https://gitlab.com/itentialopensource/adapters/adapter-mockdevice/-/blob/master/README.md)
54
+
package/metadata.json CHANGED
@@ -1,47 +1,63 @@
1
1
  {
2
- "name": "adapter-mockdevice",
3
- "webName": "Adapter for Integration to any Mock Device",
4
- "vendor": "Itential",
5
- "product": "Mockdevice",
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": "Library",
15
- "type": "Adapter",
16
- "domains": [],
17
- "tags": [],
18
- "useCases": [],
19
- "deprecated": {
20
- "isDeprecated": false
21
- },
22
- "brokerSince": "",
23
- "documentation": {
24
- "storeLink": "",
25
- "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-mockdevice",
26
- "repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-mockdevice",
27
- "docLink": "",
28
- "demoLinks": [],
29
- "trainingLinks": [],
30
- "faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
31
- "contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
32
- "issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
33
- "webLink": "",
34
- "vendorLink": "",
35
- "productLink": "",
36
- "apiLinks": []
37
- },
38
- "assets": [],
39
- "relatedItems": {
40
- "adapters": [],
41
- "integrations": [],
42
- "ecosystemApplications": [],
43
- "workflowProjects": [],
44
- "transformationProjects": [],
45
- "exampleProjects": []
2
+ "name": "adapter-mockdevice",
3
+ "webName": "Adapter for Integration to any Mock Device",
4
+ "supportLevel": "community",
5
+ "vendor": "Itential",
6
+ "product": "Mockdevice",
7
+ "techAlliance": false,
8
+ "osVersion": [],
9
+ "apiVersions": [],
10
+ "iapVersions": [
11
+ "2021.1.x",
12
+ "2021.2.x",
13
+ "2022.1.x",
14
+ "2023.1.x"
15
+ ],
16
+ "method": "Library",
17
+ "type": "Adapter",
18
+ "domains": [],
19
+ "tags": [],
20
+ "useCases": [],
21
+ "deprecated": {
22
+ "isDeprecated": false
23
+ },
24
+ "brokerSince": "",
25
+ "authMethods": [
26
+ {
27
+ "type": "None",
28
+ "subtypes": [],
29
+ "primary": true
46
30
  }
31
+ ],
32
+ "documentation": {
33
+ "storeLink": "",
34
+ "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-mockdevice",
35
+ "repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-mockdevice",
36
+ "docLink": "https://gitlab.com/itentialopensource/adapters/adapter-mockdevice/-/blob/master/README.md?ref_type=heads",
37
+ "demoLinks": [],
38
+ "trainingLinks": [
39
+ {
40
+ "title": "Itential Academy",
41
+ "link": "https://www.itential.com/itential-academy/"
42
+ }
43
+ ],
44
+ "faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
45
+ "contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
46
+ "issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
47
+ "webLink": "https://www.itential.com/adapters/mockdevice/",
48
+ "vendorLink": "https://www.itential.com/",
49
+ "productLink": "https://www.itential.com/",
50
+ "apiLinks": [],
51
+ "workshopLinks": [],
52
+ "workshopHomePage": "https://www.itential.com/get-started/"
53
+ },
54
+ "assets": [],
55
+ "relatedItems": {
56
+ "adapters": [],
57
+ "integrations": [],
58
+ "ecosystemApplications": [],
59
+ "workflowProjects": [],
60
+ "transformationProjects": [],
61
+ "exampleProjects": []
62
+ }
47
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-mockdevice",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "mock implementation of device broker",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -38,12 +38,12 @@
38
38
  "Pre-Release"
39
39
  ],
40
40
  "dependencies": {
41
- "ajv": "^8.12.0",
42
- "axios": "^0.21.0",
41
+ "ajv": "^8.17.1",
42
+ "axios": "^1.7.4",
43
43
  "esprima": "^4.0.1",
44
- "fs-extra": "^11.1.1",
44
+ "fs-extra": "^11.2.0",
45
45
  "readline-sync": "^1.4.10",
46
- "semver": "^7.5.4"
46
+ "semver": "^7.6.3"
47
47
  },
48
48
  "devDependencies": {
49
49
  "chai": "^4.3.7",
@@ -51,9 +51,9 @@
51
51
  "eslint-config-airbnb-base": "^15.0.0",
52
52
  "eslint-plugin-import": "^2.27.5",
53
53
  "eslint-plugin-json": "^3.1.0",
54
- "eslint-config-airbnb": "^18.2.1",
54
+ "eslint-config-airbnb": "^19.0.4",
55
55
  "eslint-config-prettier": "^8.1.0",
56
- "eslint-plugin-jsdoc": "^32.3.0",
56
+ "eslint-plugin-jsdoc": "^50.2.4",
57
57
  "eslint-plugin-mocha": "^8.1.0",
58
58
  "eslint-plugin-node": "^11.1.0",
59
59
  "eslint-plugin-prettier": "^3.3.1",
@@ -62,7 +62,7 @@
62
62
  "jsdoc": "^4.0.2",
63
63
  "lint-staged": "^10.5.4",
64
64
  "minami": "^1.2.3",
65
- "mocha": "^9.2.2",
65
+ "mocha": "^10.7.3",
66
66
  "mochawesome": "^7.1.3",
67
67
  "nyc": "^15.1.0",
68
68
  "prettier": "^2.2.1",
@@ -70,7 +70,7 @@
70
70
  "pretty-quick": "^3.1.0",
71
71
  "shellcheck": "^1.0.0",
72
72
  "testdouble": "^3.18.0",
73
- "winston": "^3.3.3"
73
+ "winston": "^3.14.2"
74
74
  },
75
75
  "lint-staged": {
76
76
  "*.{js,json,jsx,yaml,yml,md}": [
Binary file