forked from apolloconfig/apollo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(openapi): allow user create app via openapi (apolloconfig#4954)
* feat(openapi): allow user create app via openapi * Update apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerAppOpenApiService.java Co-authored-by: Jason Song <[email protected]> * delete create app in one env; refactor the logic of create app * refactor: change createAppInLocal to private and remove '@transactional' * remove useless field * remove useless check * refactor: path "apps/create" -> "apps" * sync client's change * feat: allow assignAppRoleToConsumer when use openapi * Update ServerAppOpenApiService.java * feat: add '@transactional' to controller method * move Transactional position and delete rollbackOn * feat: allow assignCreateApplicationRoleToConsumer when create consumer * fix: button don't work * Update apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/AppController.java Co-authored-by: Jason Song <[email protected]> * Update apollo-portal/src/main/resources/static/i18n/en.json Co-authored-by: Jason Song <[email protected]> * Update apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ConsumerController.java Co-authored-by: Jason Song <[email protected]> * Apply suggestions from code review Co-authored-by: Jason Song <[email protected]> * remove red style * change width same as table header * fix: submitBtnDisabled should change to false after warning user * test: Consumer create and app create * change to checkbox * upgrade to junit5 * test: add test of isAllowCreateApplication * remove apollorequiredfield * Update CHANGES.md --------- Co-authored-by: Jason Song <[email protected]>
- Loading branch information
Showing
23 changed files
with
894 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.