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

DPE-5178 Retrieve relation connection data from test-app #37

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

paulomach
Copy link
Contributor

Change related to mysql vm PR#516

  • add action to retrieve connection data, as created by mysql charm

@@ -399,6 +404,19 @@ def _on_update_status(self, _) -> None:
else:
self.unit.status = WaitingStatus()

def _on_get_client_connection_data(self, event: ActionEvent) -> None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

misnomer: it is partial connection data. should we also include host and port in the results?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For completion, yes. I didn't bother since usage on tests rely on helpers for getting unit ip/addres, which might be not resolvable from outside the cluster

Copy link
Contributor

@shayancanonical shayancanonical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left minor comment

@paulomach paulomach merged commit 6139554 into main Sep 5, 2024
10 checks passed
@paulomach paulomach deleted the feature/retrieve-client-connection-data branch September 5, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants