Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
"JDBC_CONNECTION_NAME = \"<jdbc-connection-name>\"\n",
"JDBC_CONNECTION_DESCRIPTION = \"<jdbc-connection-description>\"\n",
"\n",
"JDBC_CONNECTION_TYPE = \"<Type of the JDBC Connection (supported: db2, postgresql)>\"\n",
"JDBC_HOST = \"<Hostname of the JDBC Connection>\"\n",
"JDBC_PORT = \"<Port of the JDBC Connection>\"\n",
"JDBC_USE_SSL = \"<Boolean Flag to indicate whether to use SSL while connecting.>\"\n",
Expand Down Expand Up @@ -561,7 +562,7 @@
"metadata": {},
"outputs": [],
"source": [
"jdbc_url = \"jdbc:db2://{}:{}/{}\".format(JDBC_HOST, JDBC_PORT, JDBC_DATABASE_NAME)\n",
"jdbc_url = \"jdbc:{}://{}:{}/{}\".format(JDBC_CONNECTION_TYPE, JDBC_HOST, JDBC_PORT, JDBC_DATABASE_NAME)\n",
"\n",
"jdbc_connection_details = IntegratedSystems(wos_client).add(\n",
" name=JDBC_CONNECTION_NAME,\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
"JDBC_CONNECTION_NAME = \"<jdbc-connection-name>\"\n",
"JDBC_CONNECTION_DESCRIPTION = \"<jdbc-connection-description>\"\n",
"\n",
"JDBC_CONNECTION_TYPE = \"<Type of the JDBC Connection (supported: db2, postgresql)>\"\n",
"JDBC_HOST = \"<Hostname of the JDBC Connection>\"\n",
"JDBC_PORT = \"<Port of the JDBC Connection>\"\n",
"JDBC_USE_SSL = \"<Boolean Flag to indicate whether to use SSL while connecting.>\"\n",
Expand Down Expand Up @@ -649,7 +650,7 @@
},
"outputs": [],
"source": [
"jdbc_url = \"jdbc:db2://{}:{}/{}\".format(JDBC_HOST, JDBC_PORT, JDBC_DATABASE_NAME)\n",
"jdbc_url = \"jdbc:{}://{}:{}/{}\".format(JDBC_CONNECTION_TYPE, JDBC_HOST, JDBC_PORT, JDBC_DATABASE_NAME)\n",
"\n",
"jdbc_integrated_system = IntegratedSystems(wos_client).add(\n",
" name=JDBC_CONNECTION_NAME,\n",
Expand Down