Skip to content

Commit ecdce9e

Browse files
author
Praveen Narayanappa
committed
To Use ENV variables for credentials in config.yml file
Signed-off-by: Praveen Narayanappa <pnarayanappa@waldevdbctpyl01.dev.rocketsoftware.com>
1 parent 841df4d commit ecdce9e

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

IBM_DB_Adapter/ibm_db/test/config.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@ connections:
4949

5050
ibm_db:
5151
arunit:
52-
username: dbuser
53-
password: dbpass
54-
database: bjhadb
55-
host: waldevdbclnxtst06.dev.rocketsoftware.com
56-
port: 60000
52+
username: <%= ENV['DB2_USER1'] %>
53+
password: <%= ENV['DB2_PASSWD1'] %>
54+
database: <%= ENV['DB2_DATABASE1'] %>
55+
host: <%= ENV['DB2_HOST1'] %>
56+
port: <%= ENV['DB2_PORT1'] %>
5757
start_id: 1000
5858
parameterized: true
5959
statement_limit: 1000
6060
# debug: true
6161
arunit2:
62-
username: dbuser
63-
password: dbpass
64-
database: sample
65-
host: waldevdbclnxtst06.dev.rocketsoftware.com
66-
port: 60000
62+
username: <%= ENV['DB2_USER2'] %>
63+
password: <%= ENV['DB2_PASSWD2'] %>
64+
database: <%= ENV['DB2_DATABASE2'] %>
65+
host: <%= ENV['DB2_HOST2'] %>
66+
port: <%= ENV['DB2_PORT2'] %>
6767
start_id: 1000
6868
parameterized: true
6969
statement_limit: 1000

0 commit comments

Comments
 (0)