Oracle JDBC Format
[resolves #9] Signed-off-by: Ben Hale <bhale@vmware.com>
This commit is contained in:
@@ -52,8 +52,7 @@ final class Db2BindingsPropertiesProcessorTest {
|
||||
assertThat(properties)
|
||||
.containsEntry("spring.datasource.driver-class-name", "com.ibm.db2.jcc.DB2Driver")
|
||||
.containsEntry("spring.datasource.password", "test-password")
|
||||
.containsEntry("spring.datasource.url",
|
||||
"jdbc:db2://test-host:test-port/test-database")
|
||||
.containsEntry("spring.datasource.url", "jdbc:db2://test-host:test-port/test-database")
|
||||
.containsEntry("spring.datasource.username", "test-username");
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ final class OracleBindingsPropertiesProcessorTest {
|
||||
new Binding("test-name", Paths.get("test-path"),
|
||||
Collections.singletonMap("kind", KIND),
|
||||
new FluentMap()
|
||||
.withEntry("db", "test-db")
|
||||
.withEntry("database", "test-database")
|
||||
.withEntry("host", "test-host")
|
||||
.withEntry("password", "test-password")
|
||||
.withEntry("port", "test-port")
|
||||
@@ -52,8 +52,7 @@ final class OracleBindingsPropertiesProcessorTest {
|
||||
assertThat(properties)
|
||||
.containsEntry("spring.datasource.driver-class-name", "oracle.jdbc.OracleDriver")
|
||||
.containsEntry("spring.datasource.password", "test-password")
|
||||
.containsEntry("spring.datasource.url",
|
||||
"jdbc:oracle://test-host:test-port/test-db?user=test-username&password=test-password")
|
||||
.containsEntry("spring.datasource.url", "jdbc:oracle://test-host:test-port/test-database")
|
||||
.containsEntry("spring.datasource.username", "test-username");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user