-
Notifications
You must be signed in to change notification settings - Fork 23
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
Battletest the ZGW API-connection between Rxmission and Open Formulieren #3649
Comments
Since 2.4 we no longer use the API spec to figure out where to send the request, the URL paths are now hardcoded, e.g. https://github.com/open-formulieren/open-forms/blob/master/src/openforms/contrib/zgw/clients/zaken.py#L51 |
Refinement: We should document the explicit versions that we support in Open Forms and which version Rxmission is using. We could change our behaviour based on version header. |
Discussion with Roxit. Sending the "bestandsomvang" attribute is required for their Documenten API in 1.1 and up. It is not like that in the standard... so meh. |
Standard allows for |
@sergei-maertens Unfortunately, when setting the value to
😞 |
Let's at least inform them that their implementation does not conform to the Documenten API 1.1 standard :) |
@SilviaAmAm I added tasks in the description. The idea is to add Version selection and that we sent the API-version header. This solves the immediate issue AND is a nice feature overall I think, that we can extend later. If we sent the 1.0 version, everything works. If we sent the 1.1 version, bestandsgrootte is required (and it shouldn't) but anyway, we can then set it to 1.0 to make it work. I already informed them and they created a bug report internally. |
Discussed:
|
…-with-rxmission [#3649] Add bestandsomvang field
Re-opening since I'm not sure that's all there is to do, but feel free to close it if it's really done. |
Refinement: Silvia tested this and it worked without errors so this should wrap up the integration issues. |
Thema / Theme
Other
Omschrijving / Description
There are few unexpected issues when using Rxmission as ZGW API registration backend.
Where we typically read the OAS to adjust our calls to the backend, this concept came unexpected to Visma Roxit. The OAS was not readily available for retrieval. After manually adding the OAS, some other issues came to light, like passing an API-version header attribute
bestandsomvang
that didn't match the upload size (for documents).These issues needs to be tracked, analysed and fixed. Since the ZGW API in Rxmission is also subject to changes, we might ask them to fix things or workaround issues for now.
Added value / Toegevoegde waarde
Harden the ZGW API registration backend to be used in more infra setups.
Aanvullende opmerkingen / Additional context
No claims are made who is correct or not, we just want things to work :)
Tasks
Service
. This value can be empty. If filled, it should have an effect on theAPI-version
header that is sent.By setting API-version to 1.0 for Documenten API, this should work on Rxmission.
The text was updated successfully, but these errors were encountered: