-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update data_interfaces lib to include opensearch provider #30
Conversation
Adding fmt to default tox runs means we don't have to run it after finding lint doesn't work moving lib tests to a dedicated folder means they're easier to find/differentiate from charm-specific tests
…earch-operator into dev/add-relation
…l/opensearch-operator into dev/add-relation
… charm and relation files
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.
Looks good to me, please add the function requested due to the change of the charm-relation-interfaces.
relation_id: the identifier for a particular relation. | ||
version: database version. | ||
""" | ||
self._update_relation_data(relation_id, {"version": version}) |
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.
For the provider side, you will need to include the index
parameter: canonical/charm-relation-interfaces#42.
In this case you will need to add a new function set_index
in the provider.
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.
thanks for letting me know, I've also opened a PR in that repo since the opensearch spec didn't get the update :(
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.
this has been added in ce1ded6
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.
Looks all good to me!
Handler is never called Handler was first added in #30 but a call to the handler was not added
Proposal
Updates data_interfaces lib to include objects and events to manage the opensearch provider lib, as well as TLS.
Context
Changelog
Testing