comdb2
comdb2 copied to clipboard
Supporting new JDBC URL
Our JDBC URL accepts a list of pre-defined tier names ("dev", "beta", "prod", etc.), and obviously does not work very well with a new or custom tier. This patch adds support for a new JDBC URL variation that allows specifying a tier name explicitly:
jdbc:comdb2:tier//abc/xyz, that would connect to database xyz' on tier
abc'
The smoketest has been failing since a new DNS entry for dev-comdb2db was added ( test assumes that this DNS record does not exist). This patch also fixes the test.