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

♻️ [#200] Configure Autorisaties API connection via setup-configuration #201

Merged
merged 8 commits into from
Dec 17, 2024

Conversation

stevenbal
Copy link
Contributor

@stevenbal stevenbal commented Dec 6, 2024

Closes #200

@stevenbal stevenbal marked this pull request as draft December 6, 2024 10:37
@stevenbal stevenbal force-pushed the feature/200-autorisaties-api-setup-configuration branch from d10af57 to 504de3e Compare December 10, 2024 13:09
@stevenbal stevenbal force-pushed the feature/200-autorisaties-api-setup-configuration branch 3 times, most recently from b0c2f24 to 42e90c0 Compare December 10, 2024 13:54
@stevenbal stevenbal force-pushed the feature/200-autorisaties-api-setup-configuration branch from 42e90c0 to e222634 Compare December 10, 2024 13:55
@stevenbal stevenbal changed the title ♻️ [#200] Refactor ConfigurationSteps for new setup-config version ♻️ [#200] Configure Autorisaties API connection via setup-configuration Dec 10, 2024
@stevenbal stevenbal force-pushed the feature/200-autorisaties-api-setup-configuration branch from e222634 to 8edd632 Compare December 10, 2024 13:58
@stevenbal stevenbal marked this pull request as ready for review December 10, 2024 13:59
docker/setup_configuration/data.yaml Outdated Show resolved Hide resolved

Authorization configuration
---------------------------
TODO: add generated documentation for ``zgw_consumers.ServiceConfigurationStep``
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these TODO's to be generated later on?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I wanted to add these placeholders to make sure we don't forget about it, but this will probably happen in january next year

docs/installation/configuration/env_config.rst Outdated Show resolved Hide resolved
src/nrc/setup_configuration/site.py Outdated Show resolved Hide resolved
src/nrc/tests/commands/files/setup_config_full.yaml Outdated Show resolved Hide resolved
src/nrc/tests/commands/test_setup_configuration.py Outdated Show resolved Hide resolved
src/nrc/conf/includes/base.py Outdated Show resolved Hide resolved
src/nrc/conf/includes/base.py Outdated Show resolved Hide resolved
@stevenbal stevenbal force-pushed the feature/200-autorisaties-api-setup-configuration branch from 8edd632 to 6370661 Compare December 12, 2024 08:12
@stevenbal stevenbal requested a review from SonnyBA December 12, 2024 08:13
@stevenbal stevenbal force-pushed the feature/200-autorisaties-api-setup-configuration branch from 6370661 to 8a8e6e7 Compare December 12, 2024 10:37
@stevenbal stevenbal force-pushed the feature/200-autorisaties-api-setup-configuration branch from 8a8e6e7 to 83857fc Compare December 13, 2024 08:30
@stevenbal stevenbal requested a review from swrichards December 13, 2024 11:46
docker/setup_configuration/data.yaml Outdated Show resolved Hide resolved
docker/setup_configuration/data.yaml Outdated Show resolved Hide resolved
docker/setup_configuration/data.yaml Outdated Show resolved Hide resolved
src/nrc/setup_configuration/authorization.py Outdated Show resolved Hide resolved
src/nrc/setup_configuration/authorization.py Show resolved Hide resolved
src/nrc/setup_configuration/authorization.py Show resolved Hide resolved
src/nrc/config/site.py Show resolved Hide resolved
src/nrc/config/notification_retry.py Show resolved Hide resolved
src/nrc/setup_configuration/authorization.py Outdated Show resolved Hide resolved
Copy link
Contributor

@swrichards swrichards left a comment

Choose a reason for hiding this comment

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

Just minor points, otherwise LGTM.

Comment on lines +40 to +41
if auth_config.component != ComponentTypes.nrc:
auth_config.component = ComponentTypes.nrc
Copy link
Contributor

Choose a reason for hiding this comment

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

From what I understand the component types acronyms are semi-deprecated, but it might not hurt to have a logger.warning here, if the check is actually important, to avoid unexpected surprises.

src/nrc/setup_configuration/authorization.py Outdated Show resolved Hide resolved
docs/installation/configuration/opennotifs_config_cli.rst Outdated Show resolved Hide resolved
* add open zaak to docker-compose
* use open zaak URL in docker example data
* add basic documentation for steps
* raise proper exception in step and add test for it
@stevenbal stevenbal dismissed annashamray’s stale review December 17, 2024 14:09

Feedback has been applied

@stevenbal stevenbal merged commit d633e6f into main Dec 17, 2024
16 checks passed
@stevenbal stevenbal deleted the feature/200-autorisaties-api-setup-configuration branch December 17, 2024 14:09
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.

Add support for Autorisaties-API via django-setup-configuration
4 participants