Connect Nexus with Oracle Autonomous Database

Introduction

Nexus supports connection to oracle database with the help of Oracle Extension. Oracle extension is developed and maintained by Nexus Development Team. See extension home page to know more about the oracle extension.

Oracle Autonomous database can only be connected with wallet files from any other application.

Prerequisite

  1. Download wallet from Oracle Service Console / OCI - CLI

  2. Access to Nexus Infrastructure (Kubernetes)

  3. Nexus should be deployed using Nexus Helm chart as described here

Refer this article on how to download the wallet from oracle service console

Configuration

Create secret to store wallet

Extract the cwallet.sso and ewallet.p12 files from wallet zip file into separate folder

unzip /usr/home/dev-wallet.zip -d /usr/home/wallet

Now create secret to store the wallet files with specific namespace(if nexus not deployed on default namespace).

Create wallet configuration for extension manager

Copy and paste /merge the below code in existing values.yaml file

Based on the above setup, wallet files are stored in extension manager pod at below path

Deploy the extension manager

Upgrade Helm instance by running below command

Configure Oracle Connector

Follow connector configuration document to create a oracle connector with Tables/Procedure/Custom SQL Service & Operations.

  1. Navigate to Environments page

  2. Select the specific environment which you want to connect Oracle ADB

  3. Click + Icon to add connector (If not already added)

Create connection string based on tnsnames.ora file inside the wallet zip. tnsname.ora might look like below

Use any one of the above like configuration as Connection String. Add MY_WALLET_DIRECTORY value to refer the wallet folder location for our connection. Let's take a example of devdwh1stage_high

Copy & Paste the above as connection string and add username, password.

Last updated

Was this helpful?