Skip to content
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

List actions by resource type #25

Merged
merged 1 commit into from Apr 18, 2019

Conversation

@terry-xiaoyu
Copy link
Contributor

terry-xiaoyu commented Apr 17, 2019

Add resource type in the action's attrs. An action must belong to a resource type, but it may not need a resource id in the action-params when initializing the action.

e.g.

Assume there is an action named 'mysql:inspect_action' just for printing mysql-related action/resource params. The inspect_action is designed for mysql resource type, but it need not a mysql connection as it won't write/read anything from the database.

The action name is changed to Type:ActionName

@terry-xiaoyu terry-xiaoyu merged commit c47d8a1 into develop Apr 18, 2019
@terry-xiaoyu terry-xiaoyu deleted the action_with_resource branch Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.