Add support for Derby/Sybase/SQLite/DB2/OceanBase jdbc url format in URLParser#687
Merged
wu-sheng merged 3 commits intoapache:mainfrom May 11, 2024
Merged
Conversation
wu-sheng
reviewed
May 11, 2024
Member
|
@CzyerChen You added RocketMQ plugin test, right? I noticed, it is unstable for various PRs. Could you check the CI logs? |
wu-sheng
approved these changes
May 11, 2024
Contributor
Author
OK. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
apache/skywalking#12207
CHANGESlog.Support URLs
jdbc:derby:[subprotocol:][databaseName][;attribute=value]*2、
jdbc:derby://server[:port]/databaseName[;attribute=value]*jdbc:derby:memory:mydb;create=true
jdbc:derby:memory:C:\test\mydb
jdbc:derby:memory:/home/test/mydb
jdbc:derby:classpath:/test/mydb
jdbc:derby:jar:(C:/dbs.jar)test/mydb
jdbc:derby:mydb
jdbc:derby:/test/mydb;create=true;create=true
jdbc:derby:test/mydb;create=true
jdbc:derby:A:/test/mydb;create=true
jdbc:derby:test/mydb;create=true
jdbc:derby://localhost:1527/mydb;create=true;user=root;password=pass
jdbc:derby://localhost:1527/mydb
jdbc:derby://localhost/mydb;create=true
jdbc:derby://localhost:1527/c:\temp\mydb
jdbc:derby://localhost:1527//opt/test/mydb;create=true
jdbc:derby://localhost:1527/memory:mydb;create=true
jdbc:derby://localhost:1527/memory:C:\test\mydbmydb;create=true
jdbc:derby://localhost:1527/memory:/test/mydb;create=true
jdbc:sqlite:[subprotocol:][path/][databaseName][?attribute=value]*jdbc:sqlite:/home/leo/work/mydatabase.db
jdbc:sqlite::memory:
jdbc:sqlite::resource:org/yourdomain/sample.db
jdbc:sqlite::resource:http://www.xerial.org/svn/project/XerialJ/trunk/sqlite-jdbc/src/test/java/org/sqlite/sample.db
jdbc:sqlite::resource:jar:http://www.xerial.org/svn/project/XerialJ/trunk/sqlite-jdbc/src/test/resources/testdb.jar!/sample.db
jdbc:sqlite:db.sqlite?hexkey_mode=sse
jdbc:sqlite::memory:?jdbc.explicit_readonly=true
jdbc:sqlite:sample.db
jdbc:db2:databasename2、
jdbc:db2://[hostname]:[port]/[database_name]:user=[username];password=[password]jdbc:db2:mydb:user=root;password=pass
jdbc:db2://clusterip:50000/mydb
jdbc:sybase:Tds:host:port[/database][?connection_property=value;]jdbc:sybase:Tds:localhost:5000?USER=sa&PASSWORD=secret
jdbc:oceanbase:[hamode:]//host:port/databasename?[username&password]&[opt1=val1&opt2=val2...]jdbc:oceanbase://primaryhost:2888,secondaryhost1,secondaryhost2/mydb?user=root@sys&password=pass&pool=false&useBulkStmts=true&rewriteBatchedStatements=false&useServerPrepStmts=true
jdbc:oceanbase:hamode://clusterip:2881/test?user=root@sys&password=pass&pool=false&useBulkStmts=true&rewriteBatchedStatements=false&useServerPrepStmts=true
Example: Druid + Sqlite can not report metrics before:
Example: Druid + Sqlite can report metrics now: