Skip to content

Conversation

@zhaoyangplus
Copy link

  • new xugu database Mapper implementation classes, including ConfigInfoBetaMapperByXugu, ConfigInfoGrayMapperByXugu, etc

The abstract Mapper class AbstractMapperByXugu for the xugu database has been implemented

Add an example of xugu database connection configuration in the bootstrap configuration file

Update the Mapper service registration file and add the Mapper implementation related to xugu

Extend the DataSourceConstant constant class and add the XU_GU data source identifier

  • Implement GroupCapacityMapper for the xugu database and related SQL adaptations

Implement ConfigInfoMapper and pagination query logic for the xugu database

  • Add the xugu version implementation of ConfigTagsRelationMapper

  • Complete xugu support for ConfigMigrateMapper and ConfigInfoTagMapper

Please do not create a Pull Request without creating an issue first.

What is the purpose of the change

XXXXX

Brief changelog

XX

Verifying this change

XXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
  • Run mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test to make sure integration-test pass.

jowee and others added 3 commits December 17, 2025 10:36
- new xugu database Mapper implementation classes, including ConfigInfoBetaMapperByXugu, ConfigInfoGrayMapperByXugu, etc

The abstract Mapper class AbstractMapperByXugu for the xugu database has been implemented

Add an example of xugu database connection configuration in the bootstrap configuration file

Update the Mapper service registration file and add the Mapper implementation related to xugu

Extend the DataSourceConstant constant class and add the XU_GU data source identifier

- Implement GroupCapacityMapper for the xugu database and related SQL adaptations

Implement ConfigInfoMapper and pagination query logic for the xugu database

- Add the xugu version implementation of ConfigTagsRelationMapper

- Complete xugu support for ConfigMigrateMapper and ConfigInfoTagMapper
- new xugu database Mapper implementation classes, including ConfigInfoBetaMapperByXugu, ConfigInfoGrayMapperByXugu, etc

The abstract Mapper class AbstractMapperByXugu for the xugu database has been implemented

Add an example of xugu database connection configuration in the bootstrap configuration file

Update the Mapper service registration file and add the Mapper implementation related to xugu

Extend the DataSourceConstant constant class and add the XU_GU data source identifier

- Implement GroupCapacityMapper for the xugu database and related SQL adaptations

Implement ConfigInfoMapper and pagination query logic for the xugu database

- Add the xugu version implementation of ConfigTagsRelationMapper

- Complete xugu support for ConfigMigrateMapper and ConfigInfoTagMapper
@github-actions
Copy link

Thanks for your this PR. 🙏
Please check again for your PR changes whether contains any usage/api/configuration change such as Add new API , Add new configuration, Change default value of configuration.
If so, please add or update documents(markdown type) in docs/next/ for repository nacos-group/nacos-group.github.io


感谢您提交的PR。 🙏
请再次查看您的PR内容,确认是否包含任何使用方式/API/配置参数的变更,如:新增API新增配置参数修改默认配置等操作。
如果是,请确保在提交之前,在仓库nacos-group/nacos-group.github.io中的docs/next/目录下添加或更新文档(markdown格式)。

@zhaoyangplus
Copy link
Author

Thank you for your help! Let's review it. @KomachiSion

@KomachiSion
Copy link
Collaborator

Please submit new plugin into nacos-group/nacos-plugin. Thanks.

@zhaoyangplus
Copy link
Author

Please submit new plugin into nacos-group/nacos-plugin. Thanks.

Ok! Thank you for the reminder.

@zhaoyangplus
Copy link
Author

Please submit new plugin into nacos-group/nacos-plugin. Thanks.

But I noticed that this plugin seems to only support nacos2.4.3?

# Conflicts:
#	plugin-default-impl/nacos-default-datasource-plugin/src/main/resources/META-INF/services/com.alibaba.nacos.plugin.datasource.mapper.Mapper
#	pom.xml
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ zhaoyangplus
❌ jowee


jowee seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@KomachiSion
Copy link
Collaborator

You can add description in README.md in nacos-group/nacos-plugin to tell users xugu plugin only support after version xxx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants