@itentialopensource/adapter-db_oracle 0.2.1 → 0.3.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/AUTH.md CHANGED
@@ -11,10 +11,8 @@ STEPS
11
11
  3. Use the properties below for the ```properties.authentication``` field
12
12
  ```json
13
13
  "authentication": {
14
- "dbAuth": true,
15
- "domain": "",
16
- "username": "sa",
17
- "password": "Password"
14
+ "username": "your username",
15
+ "password": "your password"
18
16
  }
19
17
  ```
20
18
  4. Restart the adapter. If your properties were set correctly, the adapter should go online.
@@ -23,3 +21,4 @@ STEPS
23
21
  - Make sure you copied over the correct username and password.
24
22
  - Turn on debug level logs for the adapter in IAP Admin Essentials.
25
23
  - Investigate the logs
24
+ - 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,20 @@
1
1
 
2
+ ## 0.3.1 [07-26-2024]
3
+
4
+ * manual migration updates
5
+
6
+ See merge request itentialopensource/adapters/persistence/adapter-db_oracle!8
7
+
8
+ ---
9
+
10
+ ## 0.3.0 [07-09-2024]
11
+
12
+ * Add routes
13
+
14
+ See merge request itentialopensource/adapters/persistence/adapter-db_oracle!7
15
+
16
+ ---
17
+
2
18
  ## 0.2.1 [05-15-2024]
3
19
 
4
20
  * Patch/adapt 3377
package/SYSTEMINFO.md CHANGED
@@ -1,11 +1,25 @@
1
- # Oracle SQL
1
+ # Oracle Database SQL
2
2
 
3
3
  Vendor: Oracle
4
- Homepage: https://www.oracle.com/
4
+ Homepage: https://www.Oracle.com/
5
5
 
6
- Product: Oracle
7
- Product Page: https://www.oracle.com/
6
+ Product: Oracle Database
7
+ Product Page: https://www.Oracle.com/database/
8
8
 
9
9
  ## Introduction
10
+ We classify Oracle Database into the Data Storage domaina as Oracle Database is a database which provides the storage of information.
10
11
 
11
- ## Additional Product Documentation
12
+ "Deploy on premises and on an infrastructure as a service (IaaS)"
13
+ "Deliver high performance and availability to process mission-critical transactions"
14
+ "Provide a proven, flexible SQL database system to reduce risk and increase agility"
15
+ "Lower operational costs with a resource-efficient relational database server"
16
+
17
+ ## Why Integrate
18
+ The Oracle Database adapter from Itential is used to integrate the Itential Automation Platform (IAP) with Oracle Database. With this adapter you have the ability to perform operations with Oracle Database on items such as:
19
+
20
+ - Storage of Information
21
+ - Retrieval of Information
22
+
23
+ ## Additional Product Documentation
24
+ The [Oracle Database SQL Reference](https://www.oracle.com/database/technologies/appdev/sql.html)
25
+ The [Oracle Database Node Library Documentation](https://www.npmjs.com/package/oracle)
package/TAB1.md CHANGED
@@ -2,4 +2,10 @@
2
2
 
3
3
  This adapter is used to integrate the Itential Automation Platform (IAP) with the Oracle System. The API that was used to build the adapter for Oracle is usually available in the report directory of this adapter. The adapter utilizes the Oracle 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
4
 
5
+ ## Details
6
+ The Oracle Database adapter from Itential is used to integrate the Itential Automation Platform (IAP) with Oracle Database. With this adapter you have the ability to perform operations with Oracle Database on items such as:
7
+
8
+ - Storage of Information
9
+ - Retrieval of Information
10
+
5
11
  For further technical details on how to install and use this adapter, please click the Technical Documentation tab.
package/TAB2.md CHANGED
@@ -1,4 +1,4 @@
1
- # Oracle SQL
1
+ # Oracle Database SQL
2
2
 
3
3
  ## Table of Contents
4
4
 
@@ -22,10 +22,8 @@ STEPS
22
22
  3. Use the properties below for the ```properties.authentication``` field
23
23
  ```json
24
24
  "authentication": {
25
- "dbAuth": true,
26
- "domain": "",
27
- "username": "sa",
28
- "password": "Password"
25
+ "username": "your username",
26
+ "password": "your password"
29
27
  }
30
28
  ```
31
29
  4. Restart the adapter. If your properties were set correctly, the adapter should go online.
@@ -34,7 +32,7 @@ STEPS
34
32
  - Make sure you copied over the correct username and password.
35
33
  - Turn on debug level logs for the adapter in IAP Admin Essentials.
36
34
  - Investigate the logs
37
-
35
+ - 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
36
  ### Sample Properties
39
37
 
40
38
  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.
@@ -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,54 @@
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_oracle",
28
- "repoLink": "https://gitlab.com/itentialopensource/adapters/persistence/adapter-db_oracle",
40
+ "repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-db_oracle",
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/oracle/",
36
- "vendorLink": "",
37
- "productLink": "",
38
- "apiLinks": []
53
+ "vendorLink": "https://www.oracle.com/",
54
+ "productLink": "https://www.oracle.com/database/",
55
+ "apiLinks": [
56
+ {
57
+ "title": "Oracle SQL Reference",
58
+ "link": "https://www.oracle.com/database/technologies/appdev/sql.html",
59
+ "public": true
60
+ },
61
+ {
62
+ "title": "Oracle Node Library Documentation",
63
+ "link": "https://www.npmjs.com/package/oracledb",
64
+ "public": true
65
+ }
66
+ ]
39
67
  },
40
68
  "assets": [],
41
69
  "relatedItems": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-db_oracle",
3
- "version": "0.2.1",
3
+ "version": "0.3.1",
4
4
  "description": "Itential adapter to connect to oracle",
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_oracle.git"
39
+ "url": "git@gitlab.com:itentialopensource/adapters/adapter-db_oracle.git"
40
40
  },
41
41
  "author": "Itential",
42
- "homepage": "https://gitlab.com/itentialopensource/adapters/persistence/adapter-db_oracle#readme",
42
+ "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-db_oracle#readme",
43
43
  "dependencies": {
44
44
  "ajv": "^8.12.0",
45
45
  "fs-extra": "^11.1.1",
@@ -53,10 +53,9 @@
53
53
  "eslint-config-airbnb-base": "^15.0.0",
54
54
  "eslint-plugin-import": "^2.27.5",
55
55
  "eslint-plugin-json": "^3.1.0",
56
- "mocha": "^9.1.2",
57
- "nyc": "^15.1.0",
56
+ "mocha": "^10.7.0",
58
57
  "testdouble": "^3.18.0",
59
- "winston": "^3.3.3"
58
+ "winston": "^3.13.1"
60
59
  },
61
60
  "private": false
62
61
  }
package/pronghorn.json CHANGED
@@ -29,6 +29,10 @@
29
29
  "roles": [
30
30
  "admin"
31
31
  ],
32
+ "route": {
33
+ "verb": "POST",
34
+ "path": "/query"
35
+ },
32
36
  "task": true
33
37
  },
34
38
  {
@@ -51,6 +55,10 @@
51
55
  "roles": [
52
56
  "admin"
53
57
  ],
58
+ "route": {
59
+ "verb": "POST",
60
+ "path": "/create"
61
+ },
54
62
  "task": true
55
63
  },
56
64
  {
@@ -73,6 +81,10 @@
73
81
  "roles": [
74
82
  "admin"
75
83
  ],
84
+ "route": {
85
+ "verb": "POST",
86
+ "path": "/select"
87
+ },
76
88
  "task": true
77
89
  },
78
90
  {
@@ -95,6 +107,10 @@
95
107
  "roles": [
96
108
  "admin"
97
109
  ],
110
+ "route": {
111
+ "verb": "POST",
112
+ "path": "/insert"
113
+ },
98
114
  "task": true
99
115
  },
100
116
  {
@@ -117,6 +133,10 @@
117
133
  "roles": [
118
134
  "admin"
119
135
  ],
136
+ "route": {
137
+ "verb": "POST",
138
+ "path": "/update"
139
+ },
120
140
  "task": true
121
141
  },
122
142
  {
@@ -139,6 +159,10 @@
139
159
  "roles": [
140
160
  "admin"
141
161
  ],
162
+ "route": {
163
+ "verb": "POST",
164
+ "path": "/delete"
165
+ },
142
166
  "task": true
143
167
  },
144
168
  {
@@ -161,6 +185,10 @@
161
185
  "roles": [
162
186
  "admin"
163
187
  ],
188
+ "route": {
189
+ "verb": "POST",
190
+ "path": "/drop"
191
+ },
164
192
  "task": true
165
193
  }
166
194
  ]
Binary file