nacos icon indicating copy to clipboard operation
nacos copied to clipboard

[ISSUE#12217] Add additional configuration information

Open KiteSoar opened this issue 1 year ago • 1 comments

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

  1. Add config_type and ext_info fields to the history_info table.
  2. Extract and insert additional information into the history_info table when performing add, update, or delete operations on formal configurations.
  3. 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=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. 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

image

2. Distinguish between formal configuration and beta configuration in the console

image

KiteSoar avatar Aug 06 '24 12:08 KiteSoar

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 06 '24 12:08 CLAassistant

this pr has already merged into develop by another pr https://github.com/alibaba/nacos/pull/12836 ,so it can be closed

shiyiyue1102 avatar Dec 17 '24 05:12 shiyiyue1102