-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE #12925] Optimize configuration history comparison and rollback. #12942
Conversation
…story information pair, including original version and updated version.
Thanks for your this PR. 🙏 感谢您提交的PR。 🙏 |
config/src/main/java/com/alibaba/nacos/config/server/enums/OperationType.java
Outdated
Show resolved
Hide resolved
config/src/main/java/com/alibaba/nacos/config/server/model/ConfigHistoryInfoPair.java
Outdated
Show resolved
Hide resolved
config/src/main/java/com/alibaba/nacos/config/server/service/HistoryService.java
Outdated
Show resolved
Hide resolved
config/src/main/java/com/alibaba/nacos/config/server/service/HistoryService.java
Show resolved
Hide resolved
|
|
merge develop brach after this pr #12947 being merged into develop |
|
|
What is the purpose of the change
resolve #12925
Brief changelog
Add API-
getConfigHistoryInfoPair
: Query history configuration information details and version changes, including the original version and the changed version.新增 API-
getConfigHistoryInfoPair
:查询历史配置信息详情及版本变更,包括原始版本和变更后的版本。
Verifying this change
Api test: done
Unit test:
testGetConfigHistoryInfoPair
Joint debugging test:TODO
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=true
to make sure basic checks pass. Runmvn clean install -DskipITs
to make sure unit-test pass. Runmvn clean test-compile failsafe:integration-test
to make sure integration-test pass.