-
Notifications
You must be signed in to change notification settings - Fork 6
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
ISD-2761 Add oauth lib and requirer #621
base: 2/main
Are you sure you want to change the base?
Conversation
…l/synapse-operator into install_mas_cli_in_synapse_rock
…l/synapse-operator into install_mas_cli_in_synapse_rock
…ynapse-operator into add_mas_database_integration
…e synapse config, update mas config, fix register-user action, add verify-email action
f14b722
to
74248fc
Compare
requirements.txt
Outdated
requests ==2.32.3 | ||
python-ulid ==3.0.0 |
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.
Keep alphabetic ordering
self.framework.observe(self._oauth.on.oauth_info_changed, self._on_config_changed) | ||
self.framework.observe(self._oauth.on.oauth_info_removed, self._on_config_changed) | ||
self.framework.observe(self._oauth.on.invalid_client_config, self._on_config_changed) |
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'd rename the hook method to something more "generic"
@@ -401,6 +419,11 @@ def reconcile( # noqa: C901 pylint: disable=too-many-branches,too-many-statemen | |||
ignore_order=True, | |||
ignore_string_case=True, | |||
) | |||
|
|||
restart_mas(container, rendered_mas_configuration) |
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.
To be set before restart_syname with a comment explaning it must be done before synapse
src/pebble.py
Outdated
|
||
restart_mas(container, rendered_mas_configuration) | ||
# Activate MAS on synapse | ||
synapse.configure_mas(current_synapse_config, synapse_msc3861_configuration) |
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.
Move it before the DeepDiff to allow synapse to restart when the config has changed
Lint checks failed for 3c0236b
--- /home/runner/work/synapse-operator/synapse-operator/src/charm.py 2024-12-13 20:47:48.483328+00:00
--- /home/runner/work/synapse-operator/synapse-operator/tests/unit/conftest.py 2024-12-13 20:47:48.487328+00:00
|
Test coverage for 3c0236b
Static code analysis report
|
Overview
Rationale
Juju Events Changes
Module Changes
Library Changes
Checklist
src-docs
urgent
,trivial
,complex
)