nacos
nacos copied to clipboard
[ISSUE#12217] Add additional configuration information
What is the purpose of the change
Add additional configuration information to the "history_info" table to address the issue of information loss during rollback.it closes #12217
Brief changelog
- Add config_type and ext_info fields to the history_info table.
- Extract and insert additional information into the history_info table when performing add, update, or delete operations on formal configurations.
- Introduce a new column on the console's historical configuration record page to differentiate between formal and gray configurations.
Verifying this change
Follow this checklist to help us incorporate your contribution quickly and easily:
- [x] 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.
- [x] 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. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
- [x] 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.
- [x] Run
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. Add config_type and ext_info fields to the history_info table. Extract and insert additional information into the history_info table when performing add, update, or delete operations on official configurations. Introduce a new column on the console's historical configuration record page to differentiate between official and beta configurations.
1. Add additional information
2. Distinguish between formal configuration and beta configuration in the console
this pr has already merged into develop by another pr https://github.com/alibaba/nacos/pull/12836 ,so it can be closed