This article covers:
To make a connection to Oracle, navigate to the Connections page, select New Connection, then select the Oracle from the New Connection modal. You'll be asked to provide a host, key and token.
(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.<region>.oraclecloud.com))(connect_data=(service_name=<service name>.adb.oraclecloud.com))(security=(ssl_server_dn_match=yes)))my-oracle-host.com:1521/database-sidAfter connecting, you can now select, connect and visualize your Oracle data.
Please refer to the examples in our developer documentation to find out how to create a connection to Oracle via our API.
Notes:
Mutual TLS (mTLS) authentication to Not Required, as Luzmo does not support mTLS connections at the moment.Access type: Allow secure access from specified IPs and VCNsOnce you have connected your Oracle you can add datasets as explained here. You can select one or multiple datasets as available in your Oracle and link them in Luzmo to ensure they can be used together in a dashboard. Also make sure to check out this article on Preparing your data for analytics.
To find out how to add datasets using our API, please refer to this example in our developer documentation.
When generating an Authorization token to grant a user acces to your embedded dashboards it is possible to override the data source properties in the authorization request to dynamically use different properties. Find out more about connection overrides.
The fields available for overriding a Oracle connection are as follows:
(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.<region>.oraclecloud.com))(connect_data=(service_name=<service name>.adb.oraclecloud.com))(security=(ssl_server_dn_match=yes)))my-oracle-host.com:1521/database-sidOur developer documentation has more info about connection overrides and an example of a Oracle connection override.
Example code demonstrating how to override a Oracle connection:
import Luzmo from '@luzmo/nodejs-sdk';
const client = new Luzmo({
api_key: '<your Luzmo API key>',
api_token: '<your Luzmo API token>',
host: 'https://api.luzmo.com:443'
});
const response = await client.create('authorization',
{
type: "embed",
username: "< A unique and immutable identifier for your user >",
name: "< user name >",
email: "< user email >",
suborganization: "< a suborganization name >",
access: {
collections: [
{
id: "<collection_id>",
inheritRights: "use"
}
]
},
account_overrides: {
<your connection_id>: {
host: "<The new database host or connection string>",
key: "<username>",
token: "<password>"
}
}
}
);
| Data Type In Oracle | Data Type In Luzmo |
|---|---|
| number | numeric |
| long | numeric |
| binary_float | numeric |
| binary_double | numeric |
| date | datetime |
| timestamp | datetime |
| timestamp with time zone | datetime |
| timestamp with local time zone | datetime |
| All Other Data Types | hierarchy |