-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[admin-tool][controller] Add new admin tool command to configure/remo…
…ve particular view for store (#695) This PR introduces a new AdminTool command to configure (add/update/remove) a view of a store. The command name is --configure-store-view. It takes the following parameter: --view-name: Required at all time. Value: Name of the view to act on. --remove-view: If present, this action is to remove an existing view from the store config. No Value. --view-class: Required when it is not removing a view. Value: View class name of the view. --view-params: Optional. Value: Additional parameters for the view in the format of string to string map. If not specified, meaning it is going to use empty map, instead of inheriting existing value. The actual logic is inside update store logic. The reason to separate it into a new command is to make it more user friendly to specify the intention, instead of putting everything into a Json map. For the existing setView() API in UpdateStoreQueryParams, this PR changes the behavior from merging the input into existing view config to completely overwrite the old config, as it is overlapping with the functionality with the new command to some extent.
- Loading branch information
1 parent
1ff609a
commit c1a9ab1
Showing
11 changed files
with
358 additions
and
46 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
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.