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

Consider generation using ansible.content_builder #175

Open
displague opened this issue Mar 13, 2024 · 1 comment
Open

Consider generation using ansible.content_builder #175

displague opened this issue Mar 13, 2024 · 1 comment

Comments

@displague
Copy link
Member

displague commented Mar 13, 2024

SUMMARY

Content Builder could potentially be used to generate resource modules for this collection from the OpenAPI spec.

Investigate this project. Is it possible to use it here? What works and doesn't? Pros/Cons?

ISSUE TYPE
  • Feature Idea
COMPONENT NAME
ADDITIONAL INFORMATION

I started a PoC here: https://github.com/displague/content-builder-example. This is currently non-functional, blocked by displague/content-builder-example#1.

@displague
Copy link
Member Author

displague commented Mar 13, 2024

Potential cons (could be solutioned around):

  • inventory would not know how to automatically paginate results
  • API spec changes (endpoint and modules renames) would disrupt the Ansible interface at a faster pace than may be acceptable based on the current delta in Metal OAS3 specs

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

No branches or pull requests

1 participant