-
Notifications
You must be signed in to change notification settings - Fork 112
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 RDE metadata #1018
Add RDE metadata #1018
Conversation
Signed-off-by: abarreiro <[email protected]>
669afdc
to
0b89202
Compare
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see it is in progress yet, but one thing that caught my eye - I left one comment, but this is throughout this PR - we shouldn't test if VCD < 10.4.0 as 3.11 will not support it all anyway. The error user would get error straight from SDK as we require API to be >= 37.0
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more comments from me. I am testing it.
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Description
This PR adds metadata support to the
vcd_rde
resource and data source by adding themetadata_entry
attribute, which is a set.The peculiar characteristic about this one is that this is the first OpenAPI metadata feature, so it differs a bit from the existing implementation (XML based). Main differences:
getOpenApiMetadataOperations
).Nuances
As
metadata_entry
is a set, doing any modification to an entry shows that all entries will be deleted and re-created duringterraform plan
, which is not true. The code is "smart" enough (getOpenApiMetadataOperations
) to perform the minimal changes, that is, respects the metadata that is not changed and doesn't touch them duringterraform apply
.This nuance has been mentioned as a note in the docs. More info:
Sample snippet
Remember that RDEs don't have any UI, so these are the endpoints to perform checks in the backend:
To check namespace+key uniqueness, you can add blocks like