Skip to content

[#343] Add setupconfig support#345

Merged
svenvandescheur merged 7 commits intomainfrom
feature/add-setupconfig-support
Nov 4, 2025
Merged

[#343] Add setupconfig support#345
svenvandescheur merged 7 commits intomainfrom
feature/add-setupconfig-support

Conversation

@SilviaAmAm
Copy link

@SilviaAmAm SilviaAmAm commented Nov 3, 2025

Fixes #343

@codecov-commenter
Copy link

codecov-commenter commented Nov 3, 2025

Codecov Report

❌ Patch coverage is 85.71429% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.10%. Comparing base (795b412) to head (8d3367c).
⚠️ Report is 28 commits behind head on main.

Files with missing lines Patch % Lines
...src/openbeheer/config/setup_configuration/steps.py 80.95% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #345      +/-   ##
==========================================
- Coverage   71.70%   71.10%   -0.60%     
==========================================
  Files         164      166       +2     
  Lines        5213     5244      +31     
  Branches      542      544       +2     
==========================================
- Hits         3738     3729       -9     
- Misses       1436     1476      +40     
  Partials       39       39              
Flag Coverage Δ
backend 90.72% <85.71%> (-0.04%) ⬇️
jest 27.35% <ø> (-2.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@SilviaAmAm SilviaAmAm marked this pull request as draft November 3, 2025 16:21
@SilviaAmAm SilviaAmAm marked this pull request as ready for review November 4, 2025 10:07
@SilviaAmAm SilviaAmAm requested a review from CharString November 4, 2025 10:07
Copy link
Contributor

@CharString CharString left a comment

Choose a reason for hiding this comment

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

Looks good. Just a remark and a question out of my own ignorance.

Copy link
Contributor

Choose a reason for hiding this comment

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

These cipher suites come from upstream?
I know, at least for TLS not JWT, Logius recently updated the allowed ciphers: https://gitdocumentatie.logius.nl/publicatie/dk/beveilig/2.0.1/#tls-ciphersuites
A quick search on the NCSC site did not yield me anything on cipher recommendations for JWT.

Copy link
Author

Choose a reason for hiding this comment

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

Mhmm I don't know about this, I need to look into it 🤔

except Service.DoesNotExist as exc:
raise ConfigurationRunFailed(
f"Could not find an existing `selectielijst` service with identifier `{model.selectielijst_service_identifier}`."
" Make sure it is already configured, manually or by first running the configuration step of `zgw_consumers`."
Copy link
Contributor

Choose a reason for hiding this comment

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

Does the order in settings.SETUP_CONFIGURATION_STEPS not enforce this? Or can steps be skipped?

Copy link
Author

Choose a reason for hiding this comment

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

Yes, steps can be skipped!

@CharString CharString dismissed their stale review November 4, 2025 16:06

I picked the wrong option 😬

@svenvandescheur svenvandescheur merged commit 7651fe4 into main Nov 4, 2025
16 checks passed
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 automatic configuration

4 participants