comdb2 icon indicating copy to clipboard operation
comdb2 copied to clipboard

Supporting new JDBC URL

Open riverszhang89 opened this issue 1 year ago • 0 comments

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.

riverszhang89 avatar Jun 20 '23 19:06 riverszhang89