-
Notifications
You must be signed in to change notification settings - Fork 0
ODBC
datacorner edited this page Jun 26, 2023
·
3 revisions
This Data bridge leverages the BPPI API by querying (via SQL) an ODBC existing Data Source and pushing those query results into a BPPI Repository Table (it's also possible to execute some To Do lists afterwards). Using this bridge is pretty easy as you just have to launch a command line (CLI).
- Get Data from an ODBC Data Source and load it into the BPPI Repository.
- -sourcetype (Mandatory) odbc
- -configfile (Mandatory) Config file with all configuration details (INI format, see the template below) if a file is specified for the -configfile parameter the parameter file must follow the INI format rules. Example/Template -> see the config.ini-template (rename it as an *.ini file)
Launch the program in the shell (windows or linux) command line like this:
$ python3 bppibridge.py -sourcetype odbc -configfile {config.ini}
Two parameters (in the database section) are mandatory for that specific connection:
- connectionstring specifies the ODBC connection String
- query specify the file in which the SQL query is stored
[database]
# SQL Server ODBC Connection string
connectionstring=DRIVER={ODBC Driver 18 for SQL Server};SERVER=localhost\SQLEXPRESS;DATABASE=blueprism;UID=*;PWD=***;ENCRYPT=No
# Filename with the query (SQL)
query={filename}
- For SQL Server: DRIVER={ODBC Driver 18 for SQL Server};SERVER=localhost\SQLEXPRESS;DATABASE=xxx;UID=xxx;PWD=xxx;ENCRYPT=No