-
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
Summer ospp#12017 merge to 3.0 develop #12822
Summer ospp#12017 merge to 3.0 develop #12822
Conversation
…baba#12420) * 提交测试 * [ISSUE alibaba#12017] Add console backend configuration handling with proxy and handler layers * Add ConfigHandler interface for defining configuration operations * Add ConfigInnerHandler to handle internal configuration logic * Add ConfigProxy to delegate configuration tasks based on deployment type * Add ConfigController to utilize ConfigProxy for configuration operations * Update ConsoleConfig to get development type * [ISSUE alibaba#12017] Fix checkstyle format * Fix checkstyle format * Add configuration file fields * [ISSUE alibaba#12017] Update ConsoleConfigController route * Update ConsoleConfigController route * [ISSUE alibaba#12017] Fix CI PMD violation * Delete unnecessary comments * [ISSUE alibaba#12017] Update ConsoleConfigController return format * Update ConsoleConfigController return format * [ISSUE alibaba#12017] Update ConsoleConfigController publishConfig * Update ConsoleConfigController publishConfig * [ISSUE alibaba#12017] Updated the backend of the console's config section * Added parameter validation and return value encapsulation to the Controller section * Put business operations into the handler layer * A total of 9 APIs are involved in the config section. * [ISSUE alibaba#12017] Updating the config section backend methods * Updating the config section backend methods * [ISSUE alibaba#12017] Add unit tests for the config section * Add unit tests for the config section * Update uri of query method * [ISSUE alibaba#12017] Delete redundant error codes * Delete redundant error codes --------- Co-authored-by: rickonzhang <2239164929@qq.com>
* [ISSUE alibaba#12017] Git Test * Git Test * [ISSUE alibaba#12017] Fix Git Test * Fix Git Test * [ISSUE alibaba#12017] Splitting server and console authentication * Add ApiType annotations * Update configuration file to add fields * Update console authentication status fetch * Update `application.properties` - Reuse `nacos.core.auth.enabled` and add `nacos.core.auth.console.enabled` * Update `AuthConfigs` - Modify `isAuthEnabled()` to manage plugin initialization * Update `AbstractProtocolAuthService` - Implement `isAuthEnabled()` method for `Secured` annotation and configuration-based authentication * Update `RemoteRequestAuthFilter` - Use `authConfigs.isAuthEnabled()` for initialization and `protocolAuthService.authEnabled(secured)` for authentication checks * [ISSUE alibaba#12017] Update the location of the authentication judgment * Update the location of the authentication judgment
…ibaba#12553) * [ISSUE alibaba#12017] Add the console backend API for config section * Add history handling module * [ISSUE alibaba#12017] Add the console backend API for naming section * Add service handling module * Add instance handling module * [ISSUE alibaba#12017] Add the console backend API for auth section * Add user handling module * Add role handling module * Add permission handling module * [ISSUE alibaba#12017] Add the console backend API for core section * Add cluster handling module * [ISSUE alibaba#12017] Fix the error by adding ApiType * Fix the error by adding ApiType * Revert "[ISSUE alibaba#12017] Add the console backend API for auth section" This reverts commit 052112a. * [ISSUE alibaba#12017] Updated ControllerV3 for auth section * Updated ControllerV3 for auth section * [ISSUE alibaba#12017] Fix errors * Add ApiType annotation * Transfer the updateCluster method * Fix Compilation Errors
…oller (alibaba#12591) * Refactor the old version of the console's controller
…ibaba#12622) * [ISSUE alibaba#12017] Add the console backend API for config section * Add history handling module * [ISSUE alibaba#12017] Add the console backend API for naming section * Add service handling module * Add instance handling module * [ISSUE alibaba#12017] Add the console backend API for auth section * Add user handling module * Add role handling module * Add permission handling module * [ISSUE alibaba#12017] Add the console backend API for core section * Add cluster handling module * [ISSUE alibaba#12017] Fix the error by adding ApiType * Fix the error by adding ApiType * [ISSUE alibaba#12017] Refactor the old version of the console's controller * Refactor the old version of the console's controller * Revert "[ISSUE alibaba#12017] Add the console backend API for auth section" This reverts commit 052112a. * [ISSUE alibaba#12017] Updated ControllerV3 for auth section * Updated ControllerV3 for auth section * [ISSUE alibaba#12017] Fix errors * Add ApiType annotation * Transfer the updateCluster method * Fix Compilation Errors * [ISSUE alibaba#12017] Add unit tests for all sections * Add unit tests for all sections * [ISSUE alibaba#12017] Fix bugs * Add getAllSubClientConfigByIp method in config section * Fix bugs in AuthFilter and RemoteRequestAuthFilter * Fix bugs in ServiceProxy * [ISSUE alibaba#12017] Add language validate * Add language validate * [ISSUE alibaba#12017] Add validation operations * Add validation operations * [ISSUE alibaba#12017] Fix namespace update method * Fix namespace update method * [ISSUE alibaba#12017] Add config error codes * Add config error codes * [ISSUE alibaba#12017] Optimize API * ApiType checking and adding * Add groupName to Service's API. * Modify the status code specified by HTTP * [ISSUE alibaba#12017] Fix Result failure method * Fix Result failure method * Fix server state unit test
…libaba#12687) * [ISSUE alibaba#12017] Update the frontend of the console by using the Console API for config section * Update the request path * Update the request parameters * Update the return values * [ISSUE alibaba#12017] Update the frontend of the console by using the Console API for other section * Update the request path * Update the request parameters * Update the return values * [ISSUE alibaba#12017] Fix bug * Fix response code * Fix login
…017-ui-fix # Conflicts: # console-ui/src/pages/ConfigurationManagement/ConfigurationManagement/ConfigurationManagement.js # console-ui/src/reducers/authority.js
…2017-ui-fix [ISSUE alibaba#12017] Merge remote develop branch
…12795) * [ISSUE alibaba#12017] Fix backend bugs * Modified the namespace update method * Added two beta-related API in the config section * Modified relevant unit tests * [ISSUE alibaba#12017] Fix frontend bugs * Merged the develop branch * Fixed bugs in configuration, service, and namespace
* [ISSUE alibaba#12017] Fix backend bugs * Modified the namespace update method * Added two beta-related API in the config section * Modified relevant unit tests * [ISSUE alibaba#12017] Fix frontend bugs * Merged the develop branch * Fixed bugs in configuration, service, and namespace * [ISSUE alibaba#12017] Fix console bugs * Fix config clone bug * Fix cluster leave message * Fix admin request switch * Fix admin init bug
* Fix config clone bug * Fix state version bug
* Fix config clone test unit bugs * Fix server state test unit bugs
* Refactor v3 console controller parameter unified to form object. * Add NacosApi annotation to v3 naming controller. * remove useless method. * add NacosApi annotation for v3 console controller and refactor by form parameters. * add NacosApi for v3 console config controller and fix parameter extractor. * Refactor v3 control API by form data.
# Conflicts: # console-ui/src/pages/ConfigurationManagement/ConfigurationManagement/ConfigurationManagement.js
Thanks for your this PR. 🙏 感谢您提交的PR。 🙏 |
Please do not create a Pull Request without creating an issue first.
What is the purpose of the change
For #12017
Brief changelog
XX
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=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.