-
Notifications
You must be signed in to change notification settings - Fork 48
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
Support nexus default spec #207
Comments
Hi @juliostanley , thanks for raising the issue and documenting it so well! I am currently on a trip with no access to my laptop and won’t be able to look into this until later in March. The points raised though seem doable and reasonable so if you would like to take a crack at it pls feel free to do so. I’ll be happy to review the changes and pair if needed. Answering some of the bullets below:
Hope the info above helps. Dani |
First, this looks great. Thanks for making it.
Is your feature request related to a problem?
I attempted to use a Nexus OSS spec, but was unable to do so for a couple of reasons
"$ref": "com.sonatype.nexus.ssl.plugin.internal.rest.ApiCertificate"
is missing on spec which causes a complete failure, on version 3.20.1 of nexus (nexus should probably solve this)"attributes": {"type": "object","additionalProperties": {"type": "object"}}
is not supported expecting a $ref, on version 3.20.1 of nexus{id}
and{x-terraform-id}
are supported as default identifiers, nexus uses{name}
Example:
Describe the solution you'd like
$ref
?"attributes": {"type": "object","additionalProperties": {"type": "object"}}
?{id}
,{x-terraform-id}
,{name}
as valid data sources, maybe a generic filter?Acceptance criteria
Ideally it should be possible to point to a nexus swagger.json and just have it work
Example:
Describe alternatives you've considered
None really, just a quick thought from my initial usage/attempt
Does terraform filter apply for get requests on this provider? Is the issue that only {id} or {x-terraform-id} is supported?
Additional context
Trying to do this with a docker container:
docker run --rm -it 8081:8081 sonatype/nexus3:3.21.1
Checklist (for admin only)
Don't forget to go through the checklist to make sure the issue is created properly:
The text was updated successfully, but these errors were encountered: