Skip to content

Commit

Permalink
update readme links for drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
mtxr committed Aug 21, 2020
1 parent 27b707c commit 48c562e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 54 deletions.
4 changes: 3 additions & 1 deletion docs/src/pages/driver/cql.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
name: Cassandra (CQL)
menu: Drivers
menu: Legacy Drivers (<=v0.21.9)
route: /driver/cassandra
---

import RenderConnectionOptions from '../../components/RenderConnectionOptions.tsx'

# Cassandra Start Guide

> ATTENTION: This driver is supported on v0.21.9 or older only!
## 1. Connections

Connection example:
Expand Down
4 changes: 3 additions & 1 deletion docs/src/pages/driver/db2.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
name: IBM DB2
menu: Drivers
menu: Legacy Drivers (v0.21)
route: /driver/db2
---

import RenderConnectionOptions from '../../components/RenderConnectionOptions.tsx'

# DB2 Start Guide

> ATTENTION: This driver is supported on v0.21.9 or older only!
## 1. Prerequisites

- [Prerequisites by node-ibm_db](https://github.com/ibmdb/node-ibm_db/#prerequisite)
Expand Down
10 changes: 10 additions & 0 deletions docs/src/pages/driver/intersystems.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: InterSystems IRIS
menu: Drivers
route: /driver/intersystems-iris
---

# InterSystems IRIS Start Guide

For full reference, see:
<a target="_blank" href="https://github.com/intersystems-community/sqltools-intersystems-driver">https://github.com/intersystems-community/sqltools-intersystems-driver</a>
4 changes: 3 additions & 1 deletion docs/src/pages/driver/oracledb.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
name: Oracle DB
menu: Drivers
menu: Legacy Drivers (v0.21)
route: /driver/oracle
---

import RenderConnectionOptions from '../../components/RenderConnectionOptions.tsx'

# Oracle Start Guide

> ATTENTION: This driver is supported on v0.21.9 or older only!
## 1. Prerequisites

- Node.js 6, 8, 10 or 11
Expand Down
53 changes: 2 additions & 51 deletions docs/src/pages/driver/saphana.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,7 @@ menu: Drivers
route: /driver/saphana
---

import RenderConnectionOptions from '../../components/RenderConnectionOptions.tsx'

# SAP HANA Start Guide

## 1. Prerequisites

> Extension automatically asks to install the SAP HANA driver (@sap/sap-client)
## 2. Connections

### 2.1 SAP HANA Connection

For full reference, see [SAP Documentation](https://help.sap.com/viewer/0eec0d68141541d1b07893a39944924e/2.0.02/en-US/4fe9978ebac44f35b9369ef5a4a26f4c.html)

```json
{
"name": "<your preferred name>",
"driver": "SAPHana",
"database": "<the schema you want to connect to>",
"username": "<user-name",
"password": "<pwd>",
"connectionTimeout": 15, //in seconds,0 for disabling,
"hanaOptions": { //optional map that specify additional connection options as specified in the link above
"ENCRYPT": true,
//...
}
}
```

For connecting HANA as a Service (cloud service), the connection is required to be encrypted. For that you need to add:
```json
"hanaOptions": {
"ENCRYPT": true,
"sslTrustStore": "<path to a trust store>/DigiCertGlobalRootCA.pem"

}
```
and you need to have a trust-store with DigiCert in it. You may download it from [here](https://dl.cacerts.digicert.com/DigiCertGlobalRootCA.crt), and convert it to a trust store by: `openssl x509 -inform der -in DigiCertGlobalRootCA.crt -out ~/.ssl/DigiCertGlobalRootCA.pem`


### 2.2 Alternative Connection Strings

ConnectionString maps from `connectString` property:

```json
{
"name": "<your preferred name>",
"driver": "SAPHana",
"connectString": "<see docs>" // Example: "connectString": "HOST=myServer;PORT=30015;UID=MyUser;PWD=MyPassword"
}
```

<RenderConnectionOptions exclude={['mysqlOptions', 'oracleOptions', 'socketPath','mssqlOptions', 'icons', 'domain', 'pgOptions']}/>
For full reference, see:
<a target="_blank" href="https://github.com/SAP/sap-hana-driver-for-sqltools">https://github.com/SAP/sap-hana-driver-for-sqltools</a>

0 comments on commit 48c562e

Please sign in to comment.