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

Add dynamic mutation action plugin base #91

Merged
merged 13 commits into from
Aug 13, 2024

Conversation

yusufhm
Copy link
Contributor

@yusufhm yusufhm commented Aug 9, 2024

  • Uses the GraphQL schema to dynamically build argspecs for validating the action plugin arguments.
    • Significantly reduces the amount of boilerplate code to write and maintain when creating plugins.
    • When new fields are added to the API, they are automatically available in the plugin without any code changes, or in some cases really small ones.
  • New mutation plugins can be defined by simply extending LagoonMutationActionBase and defining the actionConfig attribute.
  • Provides a mechanism for automatic lookups of existing records, as well as determining change.

DEVOPS-602

@yusufhm yusufhm force-pushed the feature/DEVOPS-499-add-systemwide-tasks-support branch from f0da6eb to 5cf58eb Compare August 9, 2024 17:25
@yusufhm yusufhm changed the title [DEVOPS-499] Add dynamic mutation action plugin base Add dynamic mutation action plugin base Aug 10, 2024
@yusufhm yusufhm merged commit d380ada into master Aug 13, 2024
8 checks passed
@yusufhm yusufhm deleted the feature/DEVOPS-499-add-systemwide-tasks-support branch August 13, 2024 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants