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

[java-generator] make the Maven plugin(and CLI?) able to fetch CRDs from URLs #4622

Closed
andreaTP opened this issue Nov 29, 2022 · 0 comments · Fixed by #4697
Closed

[java-generator] make the Maven plugin(and CLI?) able to fetch CRDs from URLs #4622

andreaTP opened this issue Nov 29, 2022 · 0 comments · Fixed by #4697

Comments

@andreaTP
Copy link
Member

Is your enhancement related to a problem? Please describe

Currently, when we need to download a CRD and generate the corresponding Java code we need to leverage some external Maven plugin, such as:
https://github.com/bf2fc6cc711aee1a0c2a/e2e-test-suite/pull/417/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8R284-R338

This is tedious, verbose and error-prone; instead, the logic to actually fetch the resources might be simple enough for the most common use cases.

Describe the solution you'd like

The Maven plugin and the CLI should be able to fetch CRDs from URLs (possibly with a built-in caching as well).

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants