@itentialopensource/adapter-db_mssql 1.0.1 → 1.0.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
@@ -23,3 +23,4 @@ STEPS
23
23
  - Make sure you copied over the correct username and password.
24
24
  - Turn on debug level logs for the adapter in IAP Admin Essentials.
25
25
  - Investigate the logs
26
+ - Credentials should be ** masked ** by the adapter so make sure you verify the username and password - including that there are erroneous spaces at the front or end.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 1.0.2 [07-26-2024]
3
+
4
+ * manual migration updates
5
+
6
+ See merge request itentialopensource/adapters/persistence/adapter-db_mssql!10
7
+
8
+ ---
9
+
2
10
  ## 1.0.1 [01-05-2024]
3
11
 
4
12
  * more migration changes
package/SYSTEMINFO.md CHANGED
@@ -4,8 +4,20 @@ Vendor: Microsoft
4
4
  Homepage: https://www.microsoft.com/en-us/
5
5
 
6
6
  Product: MSSQL
7
- Product Page: https://www.microsoft.com/en-us/
7
+ Product Page: https://learn.microsoft.com/en-us/sql/?view=sql-server-ver16
8
8
 
9
9
  ## Introduction
10
+ We classify MSSQL into the Data Storage domaina as MSSQL is a database which provides the storage of information.
10
11
 
11
- ## Additional Product Documentation
12
+ "Visibility over your entire data estate"
13
+ "The most secure database over the last 10 years"
14
+ "Industry-leading performance and availability"
15
+
16
+ ## Why Integrate
17
+ The MSSQL adapter from Itential is used to integrate the Itential Automation Platform (IAP) with Microsoft MSSQL. With this adapter you have the ability to perform operations with MSSQL on items such as:
18
+
19
+ - Storage of Information
20
+ - Retrieval of Information
21
+
22
+ ## Additional Product Documentation
23
+ The [MSSQL Node Library Documentation](https://www.npmjs.com/package/mssql)
package/TAB1.md ADDED
@@ -0,0 +1,11 @@
1
+ # Overview
2
+
3
+ This adapter is used to integrate the Itential Automation Platform (IAP) with the MicrosoftSQL System. The API that was used to build the adapter for MicrosoftSQL is usually available in the report directory of this adapter. The adapter utilizes the MicrosoftSQL API to provide the integrations that are deemed pertinent to IAP. The ReadMe file is intended to provide information on this adapter it is generated from various other Markdown files.
4
+
5
+ ## Details
6
+ The MSSQL adapter from Itential is used to integrate the Itential Automation Platform (IAP) with Microsoft MSSQL. With this adapter you have the ability to perform operations with MSSQL on items such as:
7
+
8
+ - Storage of Information
9
+ - Retrieval of Information
10
+
11
+ 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,65 @@
1
+ # Microsoft SQL
2
+
3
+ ## Table of Contents
4
+
5
+ - [Specific Adapter Information](#specific-adapter-information)
6
+ - [Authentication](#authentication)
7
+ - [Sample Properties](#sample-properties)
8
+ - [Swagger](#swagger)
9
+ - [Generic Adapter Information](#generic-adapter-information)
10
+
11
+ ## Specific Adapter Information
12
+ ### Authentication
13
+
14
+ This document will go through the steps for authenticating the Microsoft SQL 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>.
15
+
16
+ #### Database Library Authentication
17
+ The Microsoft SQL adapter requires Database Library Authentication. If you change authentication methods, you should change this section accordingly and merge it back into the adapter repository.
18
+
19
+ STEPS
20
+ 1. Ensure you have access to a Microsoft SQL server and that it is running
21
+ 2. Follow the steps in the README.md to import the adapter into IAP if you have not already done so
22
+ 3. Use the properties below for the ```properties.authentication``` field
23
+ ```json
24
+ "authentication": {
25
+ "dbAuth": true,
26
+ "domain": "",
27
+ "username": "sa",
28
+ "password": "Password"
29
+ }
30
+ ```
31
+ 4. Restart the adapter. If your properties were set correctly, the adapter should go online.
32
+
33
+ #### Troubleshooting
34
+ - Make sure you copied over the correct username and password.
35
+ - Turn on debug level logs for the adapter in IAP Admin Essentials.
36
+ - Investigate the logs
37
+ - Credentials should be ** masked ** by the adapter so make sure you verify the username and password - including that there are erroneous spaces at the front or end.
38
+ ### Sample Properties
39
+
40
+ 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.
41
+
42
+ ```json
43
+ "properties": {
44
+ "database": "test",
45
+ "host": "localhost",
46
+ "port": 1433,
47
+ "encrypt": true,
48
+ "authentication": {
49
+ "dbAuth": false,
50
+ "domain": "",
51
+ "username": "sa",
52
+ "password": "Password"
53
+ },
54
+ "ssl": {
55
+ "enabled": false,
56
+ "accept_invalid_cert": false,
57
+ "ca_file": ""
58
+ }
59
+ }
60
+ ```
61
+ ### Swagger
62
+
63
+ 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.
64
+ ## [Generic Adapter Information](https://gitlab.com/itentialopensource/adapters/persistence/adapter-db_mssql/-/blob/master/README.md)
65
+
@@ -0,0 +1,9 @@
1
+ {
2
+ "ComplianceEntries": [
3
+ {
4
+ "name": "Compliance Summary",
5
+ "numInvalidProjects": 0,
6
+ "numValidProjects": 0
7
+ }
8
+ ]
9
+ }
@@ -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
@@ -16,26 +16,49 @@
16
16
  "domains": [
17
17
  "Data Storage"
18
18
  ],
19
- "tags": [],
20
- "useCases": [],
19
+ "tags": [
20
+ "Database & Repository Operations"
21
+ ],
22
+ "useCases": [
23
+ "CRUD Operations",
24
+ "Persist Data"
25
+ ],
21
26
  "deprecated": {
22
27
  "isDeprecated": false
23
28
  },
24
29
  "brokerSince": "",
30
+ "authMethods": [
31
+ {
32
+ "type": "Database Auth",
33
+ "subtypes": [],
34
+ "primary": true
35
+ }
36
+ ],
25
37
  "documentation": {
26
38
  "storeLink": "",
27
39
  "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-db_mssql",
28
- "repoLink": "https://gitlab.com/itentialopensource/adapters/persistence/adapter-db_mssql",
40
+ "repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-db_mssql",
29
41
  "docLink": "",
30
42
  "demoLinks": [],
31
- "trainingLinks": [],
43
+ "trainingLinks": [
44
+ {
45
+ "title": "Itential Academy",
46
+ "link": "https://www.itential.com/itential-academy/"
47
+ }
48
+ ],
32
49
  "faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
33
50
  "contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
34
51
  "issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
35
52
  "webLink": "https://www.itential.com/adapters/microsoftsql/",
36
- "vendorLink": "",
37
- "productLink": "",
38
- "apiLinks": []
53
+ "vendorLink": "https://www.microsoft.com/en-us/",
54
+ "productLink": "https://learn.microsoft.com/en-us/sql/?view=sql-server-ver16",
55
+ "apiLinks": [
56
+ {
57
+ "title": "MSSQL Node Library Documentation",
58
+ "link": "https://www.npmjs.com/package/mssql",
59
+ "public": true
60
+ }
61
+ ]
39
62
  },
40
63
  "assets": [],
41
64
  "relatedItems": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-db_mssql",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Itential adapter to connect to mssql",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.7",
@@ -14,7 +14,6 @@
14
14
  "lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
15
15
  "test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
16
16
  "test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
17
- "test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
18
17
  "test": "npm run test:unit && npm run test:integration",
19
18
  "deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
20
19
  "build": "npm run deploy"
@@ -32,14 +31,15 @@
32
31
  ],
33
32
  "license": "Apache-2.0",
34
33
  "engines": {
35
- "node": ">= 0.12.7"
34
+ "node": ">=14.0.0",
35
+ "npm": ">=6.0.0"
36
36
  },
37
37
  "repository": {
38
38
  "type": "git",
39
- "url": "git@gitlab.com:itentialopensource/adapters/persistence/adapter-db_mssql.git"
39
+ "url": "git@gitlab.com:itentialopensource/adapters/adapter-db_mssql.git"
40
40
  },
41
41
  "author": "Itential",
42
- "homepage": "https://gitlab.com/itentialopensource/adapters/persistence/adapter-db_mssql#readme",
42
+ "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-db_mssql#readme",
43
43
  "dependencies": {
44
44
  "ajv": "^8.12.0",
45
45
  "fs-extra": "^11.1.1",
@@ -52,10 +52,9 @@
52
52
  "eslint-config-airbnb-base": "^15.0.0",
53
53
  "eslint-plugin-import": "^2.27.5",
54
54
  "eslint-plugin-json": "^3.1.0",
55
- "mocha": "^9.0.1",
56
- "nyc": "^15.1.0",
55
+ "mocha": "^10.7.0",
57
56
  "testdouble": "^3.18.0",
58
- "winston": "^3.3.3"
57
+ "winston": "^3.13.1"
59
58
  },
60
59
  "private": false
61
60
  }
Binary file
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "ssl": {
16
16
  "enabled": false,
17
- "accept_invalid_cert": true,
17
+ "accept_invalid_cert": false,
18
18
  "ca_file": ""
19
19
  }
20
20
  },