High-Volume Agent SAP ECC on Oracle API Configuration Beta
Request
POST https://api.fivetran.com/v1/connections
{
"group_id": "group_id",
"service": "oracle_sap_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",
"config": {
"agent_user": "hvr",
"update_method": "BINARY_LOG_READER | LOGMINER | TELEPORT | DIRECT_CAPTURE | BFILE_REMOTE_CAPTURE",
"agent_password": "agent_password",
"agent_public_cert": "CERTIFICATE",
"direct_capture_method": "ARCHIVE_ONLY | ASM | BFILE | DIRECT",
"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",
"pdb_name": "pdb_name",
"use_oracle_rac": true,
"always_encrypted": true,
"enable_archive_log_only": true,
"tunnel_user": "fivetran",
"port": 1521,
"archive_log_format": "arc_EXAMPLE_%s_%t_%r_%z.log",
"tns": "localhost:1521/TNS",
"tunnel_host": "XXX.XXX.XXX.XXX",
"agent_ora_home": "/opt/oracle/product/19c/dbhome_1",
"archive_log_path": "/opt/fivetran/EXAMPLE_archivelog",
"agent_port": 4343,
"sap_user": "sap_test_user",
"asm_oracle_home": "/asm/oracle/home",
"user": "test_user",
"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 must have a minimum length of 10 characters. |
agent_public_cert | The agent public certificate. |
direct_capture_method | Possible values:DIRECT , BFILE , ASM , ARCHIVE_ONLY |
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 are 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 the database host, since the agent must be installed on the same machine as the source database. |
asm_password | The ASM user's 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. Exclude 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. |
port | The port number. |
archive_log_format | Archive log format. |
tns | Single-tenant database: The database SID. Multi-tenant database: The database TNS. |
tunnel_host | SSH host, specify only to connect via an SSH tunnel (do not use a load balancer). |
agent_ora_home | The home directory of the Oracle database. |
archive_log_path | Archive log path. |
agent_port | The port number of the agent. |
sap_user | The Oracle schema name where the SAP tables reside. |
asm_oracle_home | The Oracle ASM home directory. |
user | The username. |
asm_user | The ASM user. Mandatory if use_oracle_rac or asm_option is set to true . |
schema_prefix | 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
,sap_user
,agent_host
,agent_port
,agent_public_cert
,agent_user
andagent_password
parameters in the request.POST https://api.fivetran.com/v1/connections
{ "service": "oracle_sap_hva", "group_id": "group_id", "config": { "host": "host.com", "port": 1521, "user": "test_user", "password": "test_password", "sap_user": "sap_test_user", "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.