-
Notifications
You must be signed in to change notification settings - Fork 50
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
Return more fields from extra
section
#716
Comments
Hi @jmertic 👋 Which ones are you missing? We'd be happy to consider adding any of them back. Please note that landscape v2 only reads the extra fields defined in the corresponding type (also documented here). So fields like |
Hi @tegioz! Ideally - I'd like to have any non-documented ones listed; this would align with the v1 behavior. I'd be fine with it if you wanted to put it under another level in the JSON response, but we should have them returned. |
Allowing mixing landscape and user-defined fields at the same object level (in the One option would be to add a new field so that landscape users can attach information that's relevant to their applications, something similar to the Kubernetes annotations. You could move the fields in Alternatively, you can always consume the Happy to go with the |
|
Awesome, we'll take care of it 👍 |
Annotations added! Closed by #721 |
Blocked by cncf/landscape2#716 and cncf/landscape2#715 --------- Signed-off-by: John Mertic <jmertic@linuxfoundation.org>
The previous landscape API would return all fields listed in the
extra
section, while the landscape2 API only returns a set number of fields. It would be great to have the previous behavior.Example - landscape v1
landscape v2
The text was updated successfully, but these errors were encountered: