diff --git a/src/openforms/registrations/contrib/objects_api/tests/files/vcr_cassettes/ObjectsAPIBackendV1Tests/ObjectsAPIBackendV1Tests.test_submission_with_objects_api_backend_override_defaults.yaml b/src/openforms/registrations/contrib/objects_api/tests/files/vcr_cassettes/ObjectsAPIBackendV1Tests/ObjectsAPIBackendV1Tests.test_submission_with_objects_api_backend_override_defaults.yaml index c35d54d91d..3c9256f563 100644 --- a/src/openforms/registrations/contrib/objects_api/tests/files/vcr_cassettes/ObjectsAPIBackendV1Tests/ObjectsAPIBackendV1Tests.test_submission_with_objects_api_backend_override_defaults.yaml +++ b/src/openforms/registrations/contrib/objects_api/tests/files/vcr_cassettes/ObjectsAPIBackendV1Tests/ObjectsAPIBackendV1Tests.test_submission_with_objects_api_backend_override_defaults.yaml @@ -1,9 +1,9 @@ interactions: - request: body: '{"informatieobjecttype": "http://localhost:8003/catalogi/api/v1/informatieobjecttypen/f2908f6f-aa07-42ef-8760-74c5234f2d25", - "bronorganisatie": "123456782", "creatiedatum": "2024-11-26", "titel": "Form - 018", "auteur": "Aanvrager", "taal": "eng", "formaat": "application/pdf", "inhoud": - "", "status": "definitief", "bestandsnaam": "open-forms-Form 018.pdf", "ontvangstdatum": + "bronorganisatie": "123456782", "creatiedatum": "2024-12-12", "titel": "Form + 000", "auteur": "Aanvrager", "taal": "eng", "formaat": "application/pdf", "inhoud": + "", "status": "definitief", "bestandsnaam": "open-forms-Form 000.pdf", "ontvangstdatum": null, "beschrijving": "Ingezonden formulier", "indicatieGebruiksrecht": false, "bestandsomvang": 0}' headers: @@ -12,7 +12,7 @@ interactions: Accept-Encoding: - gzip, deflate, br Authorization: - - Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0ZXN0X2NsaWVudF9pZCIsImlhdCI6MTczMjYxNjkyNywiY2xpZW50X2lkIjoidGVzdF9jbGllbnRfaWQiLCJ1c2VyX2lkIjoiIiwidXNlcl9yZXByZXNlbnRhdGlvbiI6IiJ9.UcUHWF3BT2_-ZD60vJMzRB7qxVYy7F85gYXPKpCcnxE + - Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0ZXN0X2NsaWVudF9pZCIsImlhdCI6MTczNDAxOTEzOSwiY2xpZW50X2lkIjoidGVzdF9jbGllbnRfaWQiLCJ1c2VyX2lkIjoiIiwidXNlcl9yZXByZXNlbnRhdGlvbiI6IiJ9.hTAC2iR-Xnm8yBZEceMQKWDxNay_4LmiradlljF_KNs Connection: - keep-alive Content-Length: @@ -25,9 +25,9 @@ interactions: uri: http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten response: body: - string: '{"url":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/716a0a06-2b63-4d57-89ad-045ceb50c3d8","identificatie":"DOCUMENT-2024-0000000033","bronorganisatie":"123456782","creatiedatum":"2024-11-26","titel":"Form - 018","vertrouwelijkheidaanduiding":"openbaar","auteur":"Aanvrager","status":"definitief","formaat":"application/pdf","taal":"eng","versie":1,"beginRegistratie":"2024-11-26T10:28:47.709459Z","bestandsnaam":"open-forms-Form - 018.pdf","inhoud":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/716a0a06-2b63-4d57-89ad-045ceb50c3d8/download?versie=1","bestandsomvang":0,"link":"","beschrijving":"Ingezonden + string: '{"url":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/69904fce-db52-47d3-a34a-09a32bfa1ad7","identificatie":"DOCUMENT-2024-0000000008","bronorganisatie":"123456782","creatiedatum":"2024-12-12","titel":"Form + 000","vertrouwelijkheidaanduiding":"openbaar","auteur":"Aanvrager","status":"definitief","formaat":"application/pdf","taal":"eng","versie":1,"beginRegistratie":"2024-12-12T15:58:59.156802Z","bestandsnaam":"open-forms-Form + 000.pdf","inhoud":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/69904fce-db52-47d3-a34a-09a32bfa1ad7/download?versie=1","bestandsomvang":0,"link":"","beschrijving":"Ingezonden formulier","ontvangstdatum":null,"verzenddatum":null,"indicatieGebruiksrecht":false,"verschijningsvorm":"","ondertekening":{"soort":"","datum":null},"integriteit":{"algoritme":"","waarde":"","datum":null},"informatieobjecttype":"http://localhost:8003/catalogi/api/v1/informatieobjecttypen/f2908f6f-aa07-42ef-8760-74c5234f2d25","locked":false,"bestandsdelen":[],"trefwoorden":[],"lock":""}' headers: API-version: @@ -41,7 +41,7 @@ interactions: Cross-Origin-Opener-Policy: - same-origin Location: - - http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/716a0a06-2b63-4d57-89ad-045ceb50c3d8 + - http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/69904fce-db52-47d3-a34a-09a32bfa1ad7 Referrer-Policy: - same-origin Vary: @@ -55,23 +55,23 @@ interactions: message: Created - request: body: '{"informatieobjecttype": "http://localhost:8003/catalogi/api/v1/informatieobjecttypen/d1cfb1d8-8593-4814-919d-72e38e80388f", - "bronorganisatie": "123456782", "creatiedatum": "2024-11-26", "titel": "Form - 018 (csv)", "auteur": "Aanvrager", "taal": "eng", "formaat": "text/csv", "inhoud": - "Rm9ybXVsaWVybmFhbSxJbnplbmRpbmdkYXR1bSxUYWFsY29kZSx2b29ybmFhbSxhY2h0ZXJuYWFtLHR1c3NlbnZvZWdzZWwsZ2Vib29ydGVkYXR1bSxjb29yZGluYWF0DQpGb3JtIDAxOCwsZW4sRm9vLEJhcixkZSwyMDAwLTEyLTMxLCJbNTIuMzY2NzMzNzg5NjcxMjIsIDQuODkzMTY0Mjc0NDcwMjk5XSINCg==", - "status": "definitief", "bestandsnaam": "open-forms-Form 018 (csv).csv", "ontvangstdatum": + "bronorganisatie": "123456782", "creatiedatum": "2024-12-12", "titel": "Form + 000 (csv)", "auteur": "Aanvrager", "taal": "eng", "formaat": "text/csv", "inhoud": + "Rm9ybXVsaWVybmFhbSxJbnplbmRpbmdkYXR1bSxUYWFsY29kZSx2b29ybmFhbSxhY2h0ZXJuYWFtLHR1c3NlbnZvZWdzZWwsZ2Vib29ydGVkYXR1bSxjb29yZGluYWF0DQpGb3JtIDAwMCwsZW4sRm9vLEJhcixkZSwyMDAwLTEyLTMxLCJ7J3R5cGUnOiAnRmVhdHVyZScsICdnZW9tZXRyeSc6IHsndHlwZSc6ICdQb2ludCcsICdjb29yZGluYXRlcyc6IFs0Ljg5MzE2NDI3NDQ3MDI5OSwgNTIuMzY2NzMzNzg5NjcxMjJdfSwgJ3Byb3BlcnRpZXMnOiB7fX0iDQo=", + "status": "definitief", "bestandsnaam": "open-forms-Form 000 (csv).csv", "ontvangstdatum": null, "beschrijving": "Ingezonden formulierdata", "indicatieGebruiksrecht": - false, "bestandsomvang": 175}' + false, "bestandsomvang": 260}' headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate, br Authorization: - - Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0ZXN0X2NsaWVudF9pZCIsImlhdCI6MTczMjYxNjkyNywiY2xpZW50X2lkIjoidGVzdF9jbGllbnRfaWQiLCJ1c2VyX2lkIjoiIiwidXNlcl9yZXByZXNlbnRhdGlvbiI6IiJ9.UcUHWF3BT2_-ZD60vJMzRB7qxVYy7F85gYXPKpCcnxE + - Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0ZXN0X2NsaWVudF9pZCIsImlhdCI6MTczNDAxOTEzOSwiY2xpZW50X2lkIjoidGVzdF9jbGllbnRfaWQiLCJ1c2VyX2lkIjoiIiwidXNlcl9yZXByZXNlbnRhdGlvbiI6IiJ9.hTAC2iR-Xnm8yBZEceMQKWDxNay_4LmiradlljF_KNs Connection: - keep-alive Content-Length: - - '721' + - '833' Content-Type: - application/json User-Agent: @@ -80,9 +80,9 @@ interactions: uri: http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten response: body: - string: '{"url":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/782ea672-554f-4ecf-b59c-e77b96752f0c","identificatie":"DOCUMENT-2024-0000000034","bronorganisatie":"123456782","creatiedatum":"2024-11-26","titel":"Form - 018 (csv)","vertrouwelijkheidaanduiding":"openbaar","auteur":"Aanvrager","status":"definitief","formaat":"text/csv","taal":"eng","versie":1,"beginRegistratie":"2024-11-26T10:28:47.834166Z","bestandsnaam":"open-forms-Form - 018 (csv).csv","inhoud":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/782ea672-554f-4ecf-b59c-e77b96752f0c/download?versie=1","bestandsomvang":175,"link":"","beschrijving":"Ingezonden + string: '{"url":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/a0d70e27-5fbb-4869-a500-f96c410742b4","identificatie":"DOCUMENT-2024-0000000009","bronorganisatie":"123456782","creatiedatum":"2024-12-12","titel":"Form + 000 (csv)","vertrouwelijkheidaanduiding":"openbaar","auteur":"Aanvrager","status":"definitief","formaat":"text/csv","taal":"eng","versie":1,"beginRegistratie":"2024-12-12T15:58:59.280462Z","bestandsnaam":"open-forms-Form + 000 (csv).csv","inhoud":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/a0d70e27-5fbb-4869-a500-f96c410742b4/download?versie=1","bestandsomvang":260,"link":"","beschrijving":"Ingezonden formulierdata","ontvangstdatum":null,"verzenddatum":null,"indicatieGebruiksrecht":false,"verschijningsvorm":"","ondertekening":{"soort":"","datum":null},"integriteit":{"algoritme":"","waarde":"","datum":null},"informatieobjecttype":"http://localhost:8003/catalogi/api/v1/informatieobjecttypen/d1cfb1d8-8593-4814-919d-72e38e80388f","locked":false,"bestandsdelen":[],"trefwoorden":[],"lock":""}' headers: API-version: @@ -96,7 +96,7 @@ interactions: Cross-Origin-Opener-Policy: - same-origin Location: - - http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/782ea672-554f-4ecf-b59c-e77b96752f0c + - http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/a0d70e27-5fbb-4869-a500-f96c410742b4 Referrer-Policy: - same-origin Vary: @@ -139,11 +139,11 @@ interactions: Cross-Origin-Opener-Policy: - same-origin Date: - - Tue, 26 Nov 2024 10:28:47 GMT + - Thu, 12 Dec 2024 15:58:59 GMT Referrer-Policy: - same-origin Server: - - nginx/1.27.0 + - nginx/1.27.3 Vary: - origin X-Content-Type-Options: @@ -158,13 +158,14 @@ interactions: "record": {"typeVersion": 1, "data": {"bron": {"naam": "Open Formulieren", "kenmerk": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"}, "type": "testproduct", "aanvraaggegevens": {"test-slug": {"voornaam": "Foo", "achternaam": "Bar", "tussenvoegsel": "de", - "geboortedatum": "2000-12-31", "coordinaat": [52.36673378967122, 4.893164274470299]}}, - "taal": "en", "betrokkenen": [{"inpBsn": "", "rolOmschrijvingGeneriek": "initiator"}], - "pdf": "http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/716a0a06-2b63-4d57-89ad-045ceb50c3d8", - "csv": "http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/782ea672-554f-4ecf-b59c-e77b96752f0c", + "geboortedatum": "2000-12-31", "coordinaat": {"type": "Feature", "geometry": + {"type": "Point", "coordinates": [4.893164274470299, 52.36673378967122]}, "properties": + {}}}}, "taal": "en", "betrokkenen": [{"inpBsn": "", "rolOmschrijvingGeneriek": + "initiator"}], "pdf": "http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/69904fce-db52-47d3-a34a-09a32bfa1ad7", + "csv": "http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/a0d70e27-5fbb-4869-a500-f96c410742b4", "bijlagen": [], "payment": {"completed": false, "amount": 0, "public_order_ids": - [], "payment_ids": []}}, "startAt": "2024-11-26", "geometry": {"type": "Point", - "coordinates": [52.36673378967122, 4.893164274470299]}}}' + [], "payment_ids": []}}, "startAt": "2024-12-12", "geometry": {"type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122]}}}' headers: Accept: - '*/*' @@ -177,7 +178,7 @@ interactions: Content-Crs: - EPSG:4326 Content-Length: - - '969' + - '1054' Content-Type: - application/json User-Agent: @@ -186,8 +187,8 @@ interactions: uri: http://localhost:8002/api/v2/objects response: body: - string: '{"url":"http://objects-web:8000/api/v2/objects/f722858a-f86d-41a4-b635-2b796992eb11","uuid":"f722858a-f86d-41a4-b635-2b796992eb11","type":"http://objecttypes-web:8000/api/v2/objecttypes/8faed0fa-7864-4409-aa6d-533a37616a9e","record":{"index":1,"typeVersion":1,"data":{"bron":{"naam":"Open - Formulieren","kenmerk":"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"},"type":"testproduct","aanvraaggegevens":{"test-slug":{"voornaam":"Foo","achternaam":"Bar","tussenvoegsel":"de","geboortedatum":"2000-12-31","coordinaat":[52.36673378967122,4.893164274470299]}},"taal":"en","betrokkenen":[{"inpBsn":"","rolOmschrijvingGeneriek":"initiator"}],"pdf":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/716a0a06-2b63-4d57-89ad-045ceb50c3d8","csv":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/782ea672-554f-4ecf-b59c-e77b96752f0c","bijlagen":[],"payment":{"completed":false,"amount":0,"public_order_ids":[],"payment_ids":[]}},"geometry":{"type":"Point","coordinates":[52.36673378967122,4.893164274470299]},"startAt":"2024-11-26","endAt":null,"registrationAt":"2024-11-26","correctionFor":null,"correctedBy":null}}' + string: '{"url":"http://objects-web:8000/api/v2/objects/260333c8-b0c0-457c-8e2b-10ed1cbe60b8","uuid":"260333c8-b0c0-457c-8e2b-10ed1cbe60b8","type":"http://objecttypes-web:8000/api/v2/objecttypes/8faed0fa-7864-4409-aa6d-533a37616a9e","record":{"index":1,"typeVersion":1,"data":{"bron":{"naam":"Open + Formulieren","kenmerk":"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"},"type":"testproduct","aanvraaggegevens":{"test-slug":{"voornaam":"Foo","achternaam":"Bar","tussenvoegsel":"de","geboortedatum":"2000-12-31","coordinaat":{"type":"Feature","geometry":{"type":"Point","coordinates":[4.893164274470299,52.36673378967122]},"properties":{}}}},"taal":"en","betrokkenen":[{"inpBsn":"","rolOmschrijvingGeneriek":"initiator"}],"pdf":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/69904fce-db52-47d3-a34a-09a32bfa1ad7","csv":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/a0d70e27-5fbb-4869-a500-f96c410742b4","bijlagen":[],"payment":{"completed":false,"amount":0,"public_order_ids":[],"payment_ids":[]}},"geometry":{"type":"Point","coordinates":[4.893164274470299,52.36673378967122]},"startAt":"2024-12-12","endAt":null,"registrationAt":"2024-12-12","correctionFor":null,"correctedBy":null}}' headers: Allow: - GET, POST, HEAD, OPTIONS @@ -196,19 +197,19 @@ interactions: Content-Crs: - EPSG:4326 Content-Length: - - '1137' + - '1214' Content-Type: - application/json Cross-Origin-Opener-Policy: - same-origin Date: - - Tue, 26 Nov 2024 10:28:48 GMT + - Thu, 12 Dec 2024 15:58:59 GMT Location: - - http://localhost:8002/api/v2/objects/f722858a-f86d-41a4-b635-2b796992eb11 + - http://localhost:8002/api/v2/objects/260333c8-b0c0-457c-8e2b-10ed1cbe60b8 Referrer-Policy: - same-origin Server: - - nginx/1.27.0 + - nginx/1.27.3 Vary: - origin X-Content-Type-Options: @@ -226,18 +227,18 @@ interactions: Accept-Encoding: - gzip, deflate, br Authorization: - - Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0ZXN0X2NsaWVudF9pZCIsImlhdCI6MTczMjYxNjkyOCwiY2xpZW50X2lkIjoidGVzdF9jbGllbnRfaWQiLCJ1c2VyX2lkIjoiIiwidXNlcl9yZXByZXNlbnRhdGlvbiI6IiJ9.cRLbABi3E29tb0dZlVpxaKWqZwW5So_jcG5rjdF-32I + - Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0ZXN0X2NsaWVudF9pZCIsImlhdCI6MTczNDAxOTEzOSwiY2xpZW50X2lkIjoidGVzdF9jbGllbnRfaWQiLCJ1c2VyX2lkIjoiIiwidXNlcl9yZXByZXNlbnRhdGlvbiI6IiJ9.hTAC2iR-Xnm8yBZEceMQKWDxNay_4LmiradlljF_KNs Connection: - keep-alive User-Agent: - python-requests/2.32.2 method: GET - uri: http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/782ea672-554f-4ecf-b59c-e77b96752f0c + uri: http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/a0d70e27-5fbb-4869-a500-f96c410742b4 response: body: - string: '{"url":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/782ea672-554f-4ecf-b59c-e77b96752f0c","identificatie":"DOCUMENT-2024-0000000034","bronorganisatie":"123456782","creatiedatum":"2024-11-26","titel":"Form - 018 (csv)","vertrouwelijkheidaanduiding":"openbaar","auteur":"Aanvrager","status":"definitief","formaat":"text/csv","taal":"eng","versie":1,"beginRegistratie":"2024-11-26T10:28:47.834166Z","bestandsnaam":"open-forms-Form - 018 (csv).csv","inhoud":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/782ea672-554f-4ecf-b59c-e77b96752f0c/download?versie=1","bestandsomvang":175,"link":"","beschrijving":"Ingezonden + string: '{"url":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/a0d70e27-5fbb-4869-a500-f96c410742b4","identificatie":"DOCUMENT-2024-0000000009","bronorganisatie":"123456782","creatiedatum":"2024-12-12","titel":"Form + 000 (csv)","vertrouwelijkheidaanduiding":"openbaar","auteur":"Aanvrager","status":"definitief","formaat":"text/csv","taal":"eng","versie":1,"beginRegistratie":"2024-12-12T15:58:59.280462Z","bestandsnaam":"open-forms-Form + 000 (csv).csv","inhoud":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/a0d70e27-5fbb-4869-a500-f96c410742b4/download?versie=1","bestandsomvang":260,"link":"","beschrijving":"Ingezonden formulierdata","ontvangstdatum":null,"verzenddatum":null,"indicatieGebruiksrecht":false,"verschijningsvorm":"","ondertekening":{"soort":"","datum":null},"integriteit":{"algoritme":"","waarde":"","datum":null},"informatieobjecttype":"http://localhost:8003/catalogi/api/v1/informatieobjecttypen/d1cfb1d8-8593-4814-919d-72e38e80388f","locked":false,"bestandsdelen":[],"trefwoorden":[]}' headers: API-version: @@ -251,7 +252,7 @@ interactions: Cross-Origin-Opener-Policy: - same-origin ETag: - - '"97c1974d844753517b09d82805be7ea6"' + - '"635d50f9fcffe663889e6c84005b5451"' Referrer-Policy: - same-origin Vary: @@ -271,18 +272,18 @@ interactions: Accept-Encoding: - gzip, deflate, br Authorization: - - Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0ZXN0X2NsaWVudF9pZCIsImlhdCI6MTczMjYxNjkyOCwiY2xpZW50X2lkIjoidGVzdF9jbGllbnRfaWQiLCJ1c2VyX2lkIjoiIiwidXNlcl9yZXByZXNlbnRhdGlvbiI6IiJ9.cRLbABi3E29tb0dZlVpxaKWqZwW5So_jcG5rjdF-32I + - Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0ZXN0X2NsaWVudF9pZCIsImlhdCI6MTczNDAxOTEzOSwiY2xpZW50X2lkIjoidGVzdF9jbGllbnRfaWQiLCJ1c2VyX2lkIjoiIiwidXNlcl9yZXByZXNlbnRhdGlvbiI6IiJ9.hTAC2iR-Xnm8yBZEceMQKWDxNay_4LmiradlljF_KNs Connection: - keep-alive User-Agent: - python-requests/2.32.2 method: GET - uri: http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/716a0a06-2b63-4d57-89ad-045ceb50c3d8 + uri: http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/69904fce-db52-47d3-a34a-09a32bfa1ad7 response: body: - string: '{"url":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/716a0a06-2b63-4d57-89ad-045ceb50c3d8","identificatie":"DOCUMENT-2024-0000000033","bronorganisatie":"123456782","creatiedatum":"2024-11-26","titel":"Form - 018","vertrouwelijkheidaanduiding":"openbaar","auteur":"Aanvrager","status":"definitief","formaat":"application/pdf","taal":"eng","versie":1,"beginRegistratie":"2024-11-26T10:28:47.709459Z","bestandsnaam":"open-forms-Form - 018.pdf","inhoud":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/716a0a06-2b63-4d57-89ad-045ceb50c3d8/download?versie=1","bestandsomvang":0,"link":"","beschrijving":"Ingezonden + string: '{"url":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/69904fce-db52-47d3-a34a-09a32bfa1ad7","identificatie":"DOCUMENT-2024-0000000008","bronorganisatie":"123456782","creatiedatum":"2024-12-12","titel":"Form + 000","vertrouwelijkheidaanduiding":"openbaar","auteur":"Aanvrager","status":"definitief","formaat":"application/pdf","taal":"eng","versie":1,"beginRegistratie":"2024-12-12T15:58:59.156802Z","bestandsnaam":"open-forms-Form + 000.pdf","inhoud":"http://localhost:8003/documenten/api/v1/enkelvoudiginformatieobjecten/69904fce-db52-47d3-a34a-09a32bfa1ad7/download?versie=1","bestandsomvang":0,"link":"","beschrijving":"Ingezonden formulier","ontvangstdatum":null,"verzenddatum":null,"indicatieGebruiksrecht":false,"verschijningsvorm":"","ondertekening":{"soort":"","datum":null},"integriteit":{"algoritme":"","waarde":"","datum":null},"informatieobjecttype":"http://localhost:8003/catalogi/api/v1/informatieobjecttypen/f2908f6f-aa07-42ef-8760-74c5234f2d25","locked":false,"bestandsdelen":[],"trefwoorden":[]}' headers: API-version: @@ -296,7 +297,7 @@ interactions: Cross-Origin-Opener-Policy: - same-origin ETag: - - '"fce5eb69d4ed04ab65c82db2c09fbb50"' + - '"61f45ff746595d0fd9bc310634d321a6"' Referrer-Policy: - same-origin Vary: diff --git a/src/openforms/registrations/contrib/objects_api/tests/test_backend_v1.py b/src/openforms/registrations/contrib/objects_api/tests/test_backend_v1.py index 03f050cadf..957d849bad 100644 --- a/src/openforms/registrations/contrib/objects_api/tests/test_backend_v1.py +++ b/src/openforms/registrations/contrib/objects_api/tests/test_backend_v1.py @@ -130,7 +130,14 @@ def test_submission_with_objects_api_backend_override_defaults(self): "achternaam": "Bar", "tussenvoegsel": "de", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, }, language_code="en", uuid=FIXED_SUBMISSION_UUID, @@ -186,7 +193,14 @@ def test_submission_with_objects_api_backend_override_defaults(self): "achternaam": "Bar", "tussenvoegsel": "de", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, } }, "taal": "en", diff --git a/src/openforms/registrations/contrib/stuf_zds/tests/test_backend.py b/src/openforms/registrations/contrib/stuf_zds/tests/test_backend.py index 48ea9c3e93..d1ccb116f1 100644 --- a/src/openforms/registrations/contrib/stuf_zds/tests/test_backend.py +++ b/src/openforms/registrations/contrib/stuf_zds/tests/test_backend.py @@ -210,7 +210,14 @@ def test_plugin(self, m, mock_task): "achternaam": "Bar", "tussenvoegsel": "de", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "extra": "BuzzBazz", "language_code": "Dothraki", # some form widget defined by form designer }, @@ -465,7 +472,14 @@ def test_plugin_natuurlijk_persoon_initiator(self, m, mock_task): "tussenvoegsel": "de", "postcode": "1000 aa", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "voorletters": "J.W.", "geslachtsaanduiding": "mannelijk", }, @@ -714,7 +728,14 @@ def test_plugin_natuurlijk_persoon_without_auth(self, m, mock_task): "tussenvoegsel": "de", "postcode": "1000 AA", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "voorletters": "J.W.", "geslachtsaanduiding": "mannelijk", }, @@ -950,7 +971,14 @@ def test_plugin_vestiging_initiator(self, m, mock_task): submitted_data={ "handelsnaam": "ACME", "postcode": "1000 AA", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "vestigingsNummer": "87654321", }, kvk="12345678", @@ -1144,7 +1172,14 @@ def test_plugin_vestiging_initiator_kvk_only(self, m, mock_task): submitted_data={ "handelsnaam": "ACME", "postcode": "1000 AA", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, }, kvk="12345678", form__name="my-form", @@ -1343,7 +1378,14 @@ def test_plugin_vestiging_initiator_kvk_and_vestigingsnummer(self, m, mock_task) submitted_data={ "handelsnaam": "ACME", "postcode": "1000 AA", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "vestigingsNummer": "87654321", }, kvk="12345678", @@ -1574,7 +1616,14 @@ def test_plugin_medewerker(self, m, mock_task): "tussenvoegsel": "de", "postcode": "1000 AA", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "voorletters": "J.W.", "geslachtsaanduiding": "mannelijk", }, @@ -2032,7 +2081,14 @@ def test_plugin_optional_fields(self, m, mock_task): "achternaam": "Bar", "tussenvoegsel": "de", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "extra": "BuzzBazz", }, ) @@ -2225,7 +2281,14 @@ def test_plugin_optional_fields_missing_status_description(self, m, mock_task): "achternaam": "Bar", "tussenvoegsel": "de", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "extra": "BuzzBazz", }, ) @@ -2420,7 +2483,14 @@ def test_plugin_optional_fields_missing_status_code(self, m, mock_task): "achternaam": "Bar", "tussenvoegsel": "de", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "extra": "BuzzBazz", }, ) @@ -2568,7 +2638,14 @@ def test_pre_registration_goes_wrong_sets_internal_reference(self, m): submitted_data={ "handelsnaam": "ACME", "postcode": "1000 AA", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, }, form__registration_backend="stuf-zds-create-zaak", form__registration_backend_options={ @@ -2617,7 +2694,14 @@ def test_retry_pre_registration_task(self, m): submitted_data={ "handelsnaam": "ACME", "postcode": "1000 AA", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, }, kvk="12345678", form__registration_backend="stuf-zds-create-zaak", diff --git a/src/openforms/registrations/contrib/zgw_apis/tests/test_backend.py b/src/openforms/registrations/contrib/zgw_apis/tests/test_backend.py index d2a6d19ccc..c88209fa73 100644 --- a/src/openforms/registrations/contrib/zgw_apis/tests/test_backend.py +++ b/src/openforms/registrations/contrib/zgw_apis/tests/test_backend.py @@ -226,7 +226,14 @@ def test_submission_with_zgw_backend_with_natuurlijk_persoon_initiator(self, m): "tussenvoegsel": "de", "postcode": "1000 AA", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "voorletters": "J.W.", "geslachtsaanduiding": "mannelijk", }, @@ -312,7 +319,7 @@ def test_submission_with_zgw_backend_with_natuurlijk_persoon_initiator(self, m): create_zaak_body["zaakgeometrie"], { "type": "Point", - "coordinates": [52.36673378967122, 4.893164274470299], + "coordinates": [4.893164274470299, 52.36673378967122], }, ) @@ -455,7 +462,14 @@ def test_submission_with_zgw_backend_with_vestiging_and_kvk_initiator(self, m): submitted_data={ "handelsnaam": "ACME", "postcode": "1000 AA", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "vestigingsNummer": "87654321", }, kvk="12345678", @@ -538,7 +552,7 @@ def test_submission_with_zgw_backend_with_vestiging_and_kvk_initiator(self, m): create_zaak_body["zaakgeometrie"], { "type": "Point", - "coordinates": [52.36673378967122, 4.893164274470299], + "coordinates": [4.893164274470299, 52.36673378967122], }, ) @@ -665,7 +679,14 @@ def test_submission_with_zgw_backend_with_kvk_only_initiator(self, m): submitted_data={ "handelsnaam": "ACME", "postcode": "1000 AA", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, }, kvk="12345678", form__product__price=Decimal("0"), @@ -750,7 +771,14 @@ def test_submission_with_zgw_backend_with_vestiging_initiator_kvk_only(self, m): submitted_data={ "handelsnaam": "ACME", "postcode": "1000 AA", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, }, kvk="12345678", form__product__price=Decimal("0"), @@ -833,7 +861,7 @@ def test_submission_with_zgw_backend_with_vestiging_initiator_kvk_only(self, m): create_zaak_body["zaakgeometrie"], { "type": "Point", - "coordinates": [52.36673378967122, 4.893164274470299], + "coordinates": [4.893164274470299, 52.36673378967122], }, ) @@ -960,7 +988,14 @@ def test_submission_with_registrator(self, m): submitted_data={ "handelsnaam": "ACME", "postcode": "1000 AA", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, }, kvk="12345678", form__product__price=Decimal("0"), @@ -1811,7 +1846,14 @@ def get_create_json_for_zaakobject(req, ctx): "tussenvoegsel": "de", "postcode": "1000 AA", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "voorletters": "J.W.", "geslachtsaanduiding": "mannelijk", }, @@ -1874,7 +1916,17 @@ def get_create_json_for_zaakobject(req, ctx): "geboortedatum": "2000-12-31", "geslachtsaanduiding": "mannelijk", "postcode": "1000 AA", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + 4.893164274470299, + 52.36673378967122, + ], + }, + }, } }, "type": "ProductAanvraag", @@ -1885,7 +1937,7 @@ def get_create_json_for_zaakobject(req, ctx): "startAt": date.today().isoformat(), "geometry": { "type": "Point", - "coordinates": [52.36673378967122, 4.893164274470299], + "coordinates": [4.893164274470299, 52.36673378967122], }, "endAt": None, "registrationAt": date.today().isoformat(), diff --git a/src/openforms/registrations/contrib/zgw_apis/tests/test_backend_partial_failure.py b/src/openforms/registrations/contrib/zgw_apis/tests/test_backend_partial_failure.py index 13377e8224..4d0978694d 100644 --- a/src/openforms/registrations/contrib/zgw_apis/tests/test_backend_partial_failure.py +++ b/src/openforms/registrations/contrib/zgw_apis/tests/test_backend_partial_failure.py @@ -492,7 +492,14 @@ def test_failure_after_object_creation(self, m, obj_api_config): "tussenvoegsel": "de", "postcode": "1000 AA", "geboortedatum": "2000-12-31", - "coordinaat": [52.36673378967122, 4.893164274470299], + "coordinaat": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [4.893164274470299, 52.36673378967122], + }, + }, "voorletters": "J.W.", "geslachtsaanduiding": "mannelijk", },