-
Notifications
You must be signed in to change notification settings - Fork 26
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
✨ [#4789] ConfigurationStep for ZGW API registration config #4876
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4876 +/- ##
=======================================
Coverage 96.60% 96.61%
=======================================
Files 754 756 +2
Lines 25853 25888 +35
Branches 3415 3416 +1
=======================================
+ Hits 24976 25011 +35
Misses 613 613
Partials 264 264 ☔ View full report in Codecov by Sentry. |
67390e6
to
6024de6
Compare
069904d
to
3e4729c
Compare
4380c06
to
5cb5618
Compare
d9e3c8d
to
ee7fe3b
Compare
4f92c5b
to
0d16714
Compare
ee7fe3b
to
71e813c
Compare
edd2b72
to
07c23a6
Compare
to make sure there is a unique field that can be used to refer to the groups and identify them when they are loaded using setup-configuration
f7297fb
to
d228755
Compare
ZGWApiGroupConfig, "content_json" | ||
) | ||
|
||
# FIXME choices and blank=True doesn't seem to be picked up properly |
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.
Created an issue in django-setup-configuration for this maykinmedia/django-setup-configuration#27
@sergei-maertens I rebased and this PR is now ready for review |
src/openforms/registrations/contrib/zgw_apis/tests/factories.py
Outdated
Show resolved
Hide resolved
d228755
to
cc0d8bf
Compare
objects_api_json_content_template: | | ||
{ | ||
"data": {% json_summary %}, | ||
"type": "{{ productaanvraag_type }}", | ||
"bsn": "{{ variables.auth_bsn }}", | ||
"submission_id": "{{ submission.kenmerk }}", | ||
"language_code": "{{ submission.language_code }}", | ||
"custom_field": "foo" | ||
} |
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 only now realize you can't specify an objects API group at the model level 🤔
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.
is this the same issue as previously with objects API registration where it would always use the group with the lowest pk?
cc0d8bf
to
fd0d626
Compare
this step relies on the previously added ServiceConfigurationStep and can be used to set up the necessary configuration for the ZGW API registration backend
fd0d626
to
df117af
Compare
@sergei-maertens I was running into 504 errors in the generate SDK jobs: https://github.com/open-formulieren/open-forms/actions/runs/12231486625/job/34115402181, I hope this fixes it: 67db7c4 |
the generate-sdks job was failing due to some network calls that were performed when validating the OAS, this is avoided by specifying the version of the generator-cli in openapitools.json see also: OpenAPITools/openapi-generator-cli#802
67db7c4
to
6635402
Compare
Closes #4789
Closes #4532
Changes
Checklist
Check off the items that are completed or not relevant.
Impact on features
Release management
I have updated the translations assets (you do NOT need to provide translations)
./bin/makemessages_js.sh
./bin/compilemessages_js.sh
Commit hygiene