tristaZero opened a new issue #7849: URL: https://github.com/apache/shardingsphere/issues/7849
## Introduction `DataSourceConnectionUrlUtil` is to assemble parameters of JDBC url, e.g., password, database name, to get a complete and correct JDBC URL for the connection pool. Presently, this class has the ability to create JDBC url for `MySQL` and `PostgreSQL` databases with `connectionSegment` and `databaseType`. Hence, this issue is to enhance `DataSourceConnectionUrlUtil` by implementing other cases of getUrl() for `Oracle`, `SQLServer` and `MariaDB`. ## Task - [ ] Add `switch case` for `Oracle` and create the corresponding unit case in `DataSourceConnectionUrlUtilTest` - [ ] Add `switch case` for `SQLServer` and create the corresponding unit case in `DataSourceConnectionUrlUtilTest` - [ ] Add `switch case` for `MariaDB` and create the corresponding unit case in `DataSourceConnectionUrlUtilTest` ## Tips 1. The case of `MySQL` in `DataSourceConnectionUrlUtil` will be a good example FYI 2. The case of `assertMySQLGetUrl()` in `DataSourceConnectionUrlUtilTest` can tell you how to add unit test 3. [Contributor guidance](https://shardingsphere.apache.org/community/cn/contribute/contributor/) is for the newbie. :-) 4. You can raise three PR for each child tasks one by one or one PR for all three case. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
