mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-30 20:59:57 +00:00
Merge pull request #657 from open-metadata/656
Fix #656 jdbcConnection.json connectionURL field does not accept vali…
This commit is contained in:
commit
2023e9a2bc
@ -11,9 +11,8 @@
|
||||
"type": "string"
|
||||
},
|
||||
"connectionUrl": {
|
||||
"description": "Type used for JDBC connection URL.",
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
"description": "Type used for JDBC connection URL of format `url_scheme://<username>:<password>@<host>:<port>/<db_name>`.",
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
"jdbcInfo": {
|
||||
|
@ -58,12 +58,8 @@ public final class TestUtils {
|
||||
public static URI PIPELINE_URL;
|
||||
|
||||
static {
|
||||
try {
|
||||
JDBC_INFO = new JdbcInfo().withConnectionUrl(new URI("jdbc:service://")).withDriverClass("driverClass");
|
||||
} catch (URISyntaxException e) {
|
||||
JDBC_INFO = null;
|
||||
e.printStackTrace();
|
||||
}
|
||||
JDBC_INFO = new JdbcInfo().withConnectionUrl("scheme://user_name:password#_@%:localhost:1000/test")
|
||||
.withDriverClass("driverClass");
|
||||
}
|
||||
|
||||
static {
|
||||
|
Loading…
x
Reference in New Issue
Block a user