feat: Merge nacos-plugin PostgreSQL & Base Implementation#14041
Conversation
* [ISSUES alibaba#17] add oracle datasource plugin * [ISSUES alibaba#17] add test query comment
* 添加damang插件 * dameng适配mysql的分页 * 添加文档以及注意事项 * 修改错误文字 * 添加表结构相关注意事项 * 添加错误码映射关系 * 适配2.3.0 * 删除脏的语句 * 添加注释 * 添加注释 --------- Co-authored-by: asdc <asdc>
* 添加 Microsoft SQL Server 支持 * 修正错误:意外的虚类的声明 * 修正错误:意外的继承错误与冗余代码的清理
- 实现兼容OpenGauss功能,整理Mapper结果,不在继承Mysql - 添加 GaussDB 函数枚举类 - 创建 OpenGauss 兼容 MySQL 的数据库模式 - 在数据库类型常量中添加 GaussDB
升级nacos版本2.3.0-SNAPSHOT ==> 2.4.2 Co-authored-by: 杨翊 SionYang <xiweng.yy@alibaba-inc.com>
升级nacos版本2.3.0-SNAPSHOT ==> 2.4.2 Co-authored-by: 杨翊 SionYang <xiweng.yy@alibaba-inc.com>
…urrent time function. (alibaba#63) Override getFunction method. Implement a function to get the current time dynamically from different databases Closes alibaba#12786
…urrent time function. (alibaba#63) Override getFunction method. Implement a function to get the current time dynamically from different databases Closes alibaba#12786
* feat: add yashan datasource plugin implementation * fix: Rename the database * fix: Rename the database2
…nified-datasource-dialect
…nd complete PostgreSQL migration 1. Implement `MySqlDatabaseDialect` and `DerbyDatabaseDialect` to unify pagination logic across datasources. 2. Register `DatabaseDialect` SPI for MySQL, Derby, and PostgreSQL. 3. Register PostgreSQL Mappers in `Mapper` SPI. 4. Add `DatabaseTypeConstant.DERBY` and `TrustedDerbyFunctionEnum` to support Derby dialect. 5. Finalize integration of PostgreSQL plugin (migrated from nacos-plugin).
- Restore ConfigInfoAggrMapperByMySql.java from git history - Restore ConfigInfoAggrMapper.java from git history - These files are required dependencies for nacos-plugin BaseConfigInfoAggrMapper but were previously deleted from nacos core
|
Thanks for your this PR. 🙏 感谢您提交的PR。 🙏 |
|
|
|
|
|
|
…rce-dialect feat: Merge nacos-plugin PostgreSQL & Base Implementation
Please do not create a Pull Request without creating an issue first.
What is the purpose of the change
This PR merges the PostgreSQL and Base datasource implementations from the nacos-plugin repository into the main
nacos repository. It also restores
ConfigInfoAggrMapperandConfigInfoAggrMapperByMySqlwhich were previously deleted but are required dependencies for the merged code.Brief changelog
Restored
plugin/datasource/src/main/java/com/alibaba/nacos/plugin/datasource/mapper/ConfigInfoAggrMapper.javafrom git history.Restored
plugin/datasource/src/main/java/com/alibaba/nacos/plugin/datasource/impl/mysql/ConfigInfoAggrMapperByMySql.javafrom git history.Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=trueto make sure basic checks pass. Runmvn clean install -DskipITsto make sure unit-test pass. Runmvn clean test-compile failsafe:integration-testto make sure integration-test pass.