info:
  name: Metabase Oracle Driver
  version: 1.0.0-SNAPSHOT
  description: Allows Metabase to connect to Oracle databases.
driver:
  name: oracle
  display-name: Oracle
  lazy-load: true
  parent: sql-jdbc
  connection-properties:
    - host
    - merge:
        - port
        - default: 1521
    - name: sid
      display-name: Oracle system ID (SID)
      placehoder: Usually something like ORCL or XE. Optional if using service name
    - name: service-name
      display-name: Oracle service name
      placeholder: Optional TNS alias
    - user
    - password
  connection-properties-include-tunnel-config: true
init:
  - step: load-namespace
    namespace: metabase.driver.oracle
  - step: register-jdbc-driver
    class: oracle.jdbc.OracleDriver
