High-Volume Agent Oracle API Configuration
Request
POST https://api.fivetran.com/v1/connections
{
"group_id": "group_id",
"service": "oracle_hva",
"trust_certificates": true,
"trust_fingerprints": true,
"run_setup_tests": true,
"paused": false,
"pause_after_trial": false,
"sync_frequency": 1440,
"data_delay_sensitivity": "NORMAL",
"data_delay_threshold": 0,
"daily_sync_time": "14:00",
"schedule_type": "auto",
"connect_card_config": {
"redirect_uri": "https://your.site/path",
"hide_setup_guide": true
},
"proxy_agent_id": "proxy_agent_id",
"private_link_id": "private_link_id",
"networking_method": "Directly",
"hybrid_deployment_agent_id": "hybrid_deployment_agent_id",
"destination_configuration": {
"virtual_warehouse": "virtual_warehouse"
},
"config": {
"agent_user": "hvr",
"update_method": "DIRECT_CAPTURE",
"agent_password": "agent_password",
"agent_public_cert": "CERTIFICATE",
"direct_capture_method": "DIRECT",
"tde_wallet_password": "tde_wallet_password",
"tunnel_port": 22,
"database": "oracledb",
"password": "test_password",
"asm_tns": "localhost:1521/ASM_TNS",
"asm_option": true,
"host": "host.com",
"agent_host": "host.com",
"asm_password": "asm_password",
"connection_type": "Directly | PrivateLink | SshTunnel | ProxyAgent",
"pdb_name": "pdb_name",
"use_oracle_rac": true,
"always_encrypted": true,
"enable_archive_log_only": true,
"tunnel_user": "fivetran",
"enable_tde_encryption": true,
"port": 1521,
"archive_log_format": "arc_EXAMPLE_%s_%t_%r_%z.log",
"tns": "localhost:1521/TNS",
"tunnel_host": "XXX.XXX.XXX.XXX",
"agent_port": 4343,
"archive_log_path": "/opt/fivetran/EXAMPLE_archivelog",
"agent_ora_home": "/opt/oracle/product/19c/dbhome_1",
"user": "test_user",
"use_pdb_only": true,
"asm_oracle_home": "/asm/oracle/home",
"asm_user": "asm_user",
"schema_prefix": "prefix"
}
}Config parameters
| Name | Description |
|---|---|
agent_user | The agent's user. |
update_method | The method used to detect new or changed rows. Supported values: - LOGMINER - Fivetran uses LogMiner, a utility that is part of Oracle Database, to detect modified rows in the source tables. - TELEPORT - Fivetran's proprietary replication method that uses compressed snapshots to detect and apply changes. |
agent_password | The agent user's password. It should have a minimum length of 10 characters. |
agent_public_cert | The agent public certificate. |
direct_capture_method | Possible values:DIRECT, BFILE, ASM, ARCHIVE_ONLY |
tde_wallet_password | TDE wallet password. Required for password based wallet. |
tunnel_port | SSH port, specify only to connect via an SSH tunnel. |
database | The database name. |
password | The user's password. |
asm_tns | ASM TNS. |
asm_option | Default value: false. Set to true if you're using ASM on a non-RAC instance. |
host | DB instance host or IP address. |
agent_host | The host of the agent. This is the same as database host, since the agent must be installed in the same machine as source database. |
asm_password | ASM password. Mandatory if use_oracle_rac or asm_option is set to true. |
connection_type | Possible values:Directly, PrivateLink, SshTunnel. SshTunnel is used as a value if this parameter is omitted in the request and any of the following parameter's values is specified: tunnel_host, tunnel_port, tunnel_user. Otherwise, Directly is used as a value if the parameter is omitted. |
pdb_name | (Multi-tenant databases only) The database's PDB name. Omit this parameter for single-tenant databases. |
use_oracle_rac | Default value: false. Set to true if you're using a RAC instance. |
always_encrypted | Require TLS through Tunnel |
enable_archive_log_only | Default value: false. Set to true if you're using archive log only mode. |
tunnel_user | SSH user, specify only to connect via an SSH tunnel. |
enable_tde_encryption | Default value: false. Set to true if you're using TDE encryption. |
port | The port number. |
archive_log_format | Archive log format. |
tns | Single-tenant database: The database's SID. Multi-tenant database: The database's TNS. |
tunnel_host | SSH host, specify only to connect via an SSH tunnel (do not use a load balancer). |
agent_port | The port number of the agent. |
archive_log_path | Archive log path. |
agent_ora_home | The home directory of the Oracle database. |
user | The user name. |
use_pdb_only | Default value: false. Set to true to connect directly to a single PDB. When true, set database to the PDB name and omit the pdbName field. Use only for Direct or Archive Log Only capture. Not supported with TDE, ASM, or RAC. |
asm_oracle_home | ASM Oracle Home path. |
asm_user | ASM user. Mandatory if use_oracle_rac or asm_option is set to true. |
schema_prefix (required) | Destination schema prefix. Prefix for each replicated schema. For example with prefix 'x', source schemas 'foo' and 'bar' get replicated as 'x_foo' and 'x_bar'. The prefix is permanent and cannot be changed after connection creation |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the
host,port,user,password,agent_host,agent_port,agent_public_cert,agent_userandagent_passwordparameters in the request.POST https://api.fivetran.com/v1/connections{ "service": "oracle_hva", "group_id": "group_id", "config": { "host": "host.com", "port": 1521, "user": "test_user", "password": "test_password", "agent_host": "host.com", "agent_port": 4343, "agent_public_cert": "CERTIFICATE", "agent_user": "hvr", "agent_password": "agent_password" } } By using the Connect Card or the Fivetran dashboard.