Skip to content

Commit

Permalink
#22 Implement review findings by @AnastasiiaSergienko
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Oct 22, 2021
1 parent 45de930 commit b2078c0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ The Exasol Tableau Connector is an adapter, that maps Exasol's analytical capabi
* Exasol-specific connection dialog
* Maps Tableau functions to Exasol functions

![JDBC connection dialog](doc/images/jdbc_connection_dialog.png "JDBC connection dialog")

# Table of Contents

Expand Down
21 changes: 12 additions & 9 deletions doc/developer_guide/developer_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@ This developer guide describes how to

## Manually Testing Connectors

To manually test the connectors in Tableau Desktop without packaging, add the following arguments when starting `tableau.exe`:

* `-DConnectPluginsPath=path\to\tableau-connector\src`: Path to the `src` directory of this cloned repository.
* `-DLogLevel=Debug`: enable log output of `logging.Log()` in JavaScript files.

Start Tableau Desktop:
To manually test the connectors in Tableau Desktop without packaging, add the following arguments when starting Tableau Desktop:

```bat
"C:\Program Files\Tableau\Tableau 2021.3\bin\tableau.exe" -DConnectPluginsPath=%USERPROFILE%\git\tableau-connector\src -DLogLevel=Debug
```

In the left bar under "To a Server" click `More...`, then click `Exasol JDBC by Exasol AG` or `Exasol ODBC by Exasol AG` to open the database connection dialog.
* `-DConnectPluginsPath=path\to\tableau-connector\src`: Path to the `src` directory of this cloned repository.
* `-DLogLevel=Debug`: enable log output of `logging.Log()` in JavaScript files.

After starting Tableau Desktop, click click `More...` in the left bar under "To a Server", then click `Exasol JDBC by Exasol AG` or `Exasol ODBC by Exasol AG` to open the database connection dialog for JDBC resp. ODBC.

Restart Tableau after modifying any connector file to reload changes.

Expand Down Expand Up @@ -60,7 +58,12 @@ You can run TDVT tests under Windows and macOS. This guide describes the setup f
```

* Install TDVT as described in the [TDVT documentation](https://tableau.github.io/connector-plugin-sdk/docs/tdvt#set-up).
* Update the Exasol certificate fingerprint in the four `*.tds` files.
* Update the Exasol certificate fingerprint in the four `*.tds` files:
* [tdvt_jdbc/tds/cast_calcs.exasol_jdbc.tds](../../tdvt_jdbc/tds/cast_calcs.exasol_jdbc.tds)
* [tdvt_jdbc/tds/Staples.exasol_jdbc.tds](../../tdvt_jdbc/tds/Staples.exasol_jdbc.tds)
* [tdvt_odbc/tds/Staples.exasol_odbc.tds](../../tdvt_odbc/tds/Staples.exasol_odbc.tds)
* [tdvt_odbc/tds/cast_calcs.exasol_odbc.tds](../../tdvt_odbc/tds/cast_calcs.exasol_odbc.tds)

* Update the path to `tabquerytool.exe` (e.g. `C:\Program Files\Tableau\Tableau 2021.3\bin\tabquerytool.exe`) in
* [tdvt_jdbc/config/tdvt/tdvt_override.ini](../../tdvt_jdbc/config/tdvt/tdvt_override.ini)
* [tdvt_odbc/config/tdvt/tdvt_override.ini](../../tdvt_odbc/config/tdvt/tdvt_override.ini)
Expand Down Expand Up @@ -125,7 +128,7 @@ Also see the [FAQ and troubleshooting section of the manual](https://tableau.git
### Run the Tests
To run the test you need to create the `tableau-server-GUI-tests/src/test/resources/credentials.properties` file with the following content (replace the placeholders for real values):
To run the tests you need to create the `tableau-server-GUI-tests/src/test/resources/credentials.properties` file with the following content (replace the placeholders for real values):
```properties
TABLEAU_USERNAME=<tableau-server-username>
Expand Down
2 changes: 2 additions & 0 deletions doc/user_guide/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

The Exasol Tableau Connector is distributed together with Tableau Desktop and Tableau Server applications. We recommend using the latest available version of Tableau products to access the connector.

![JDBC connection dialog](../images/jdbc_connection_dialog.png "JDBC connection dialog")

If you want to use the currently developed version of connector, you can follow the guide below and install the connector disabling sign verification.

## Testing In-Development Connector
Expand Down
1 change: 0 additions & 1 deletion src/exasol_jdbc/connectionBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
+ ":"
+ attr[connectionHelper.attributePort]
+ ";validateservercertificate=" + validateServerCertificate
+ ";encryption=1"
+ ";feedbackinterval=1"
+ ";clientname=TableauDesktop";

Expand Down

0 comments on commit b2078c0

Please sign in to comment.