summaryrefslogtreecommitdiff
path: root/src/main/kotlin
AgeCommit message (Collapse)AuthorFilesLines
2025-12-05fix: do not serialize null values (#216)Paul-Christian Volkmer2-9/+26
For outgoing HTTP requests, null values have been serialized as `"name": null`. Since this causes problems in DNPM:DIP, data parts with null values must not be serialized.
2025-12-03feat: simple HTTP GET based consent fetch (#208)Paul-Christian Volkmer2-0/+25
2025-12-01fix: show error page (#207)Paul-Christian Volkmer1-2/+3
This shows error page when trying to load unavailable resource.
2025-11-21feat: add alternative endpoints for request (#196)Paul-Christian Volkmer3-93/+139
This allows for requests to (with optional path-prefix "/api"): * POST /{usecase} * POST /{usecase}/etl/patient-record => as DNPM:DIP * DELETE /{usecase}/{ID} * DELETE /{usecase}/etl/patient-record/{ID} * DELETE /{usecase}/etl/patient/{ID} => as DNPM:DIP Where {usecase} is one of: * mtbfile * mtb => as DNPM:DIP
2025-11-20fix: possible NPE for MSI anonymization (#195)Paul-Christian Volkmer1-134/+131
This might occur if a null value is present in the list of MSI findings. With this change, the usage if "it" has been replaced with proper element names.
2025-11-20fix: fix possible NPE for MSI patient refs (#194)Paul-Christian Volkmer1-1/+1
2025-11-11chore: use spotless for kotlin code (#191)Paul-Christian Volkmer47-2073/+2055
2025-11-10feat: config option for broad consent version (#189)Paul-Christian Volkmer1-0/+5
2025-11-06chore: change annotation for KT-73255 (#185)Paul-Christian Volkmer4-9/+9
This keeps old behavior in future releases.
2025-11-06fix: docs uses APP_PSEUDOMYMIZE_GPAS_PID_DOMAIN (#184)Paul-Christian Volkmer1-1/+4
2025-11-06chore: use jspecify and NullAway (#183)Paul-Christian Volkmer1-1/+1
2025-11-04fix: errors in response parsing (#181)v0.12.0-rc.1Paul-Christian Volkmer2-4/+17
2025-11-03fix: do not re-anonymize diagnosis ID (#179)Paul-Christian Volkmer1-22/+14
2025-10-31fix: only send nested content with MTB record (#175)Paul-Christian Volkmer1-1/+1
2025-10-31fix: usage and serialisation of null values (#174)Paul-Christian Volkmer2-34/+36
2025-10-31fix: getProvisionTypeByPolicyCode updated to new consent structure (#173)jlidke1-10/+11
2025-10-27fix: use correct gPAS URI for connection test (#166)Paul-Christian Volkmer1-2/+1
2025-10-24feat: add logging for connection checks (#164)Paul-Christian Volkmer1-10/+31
2025-10-22feat: add basic support for gPAS SOAP endpoint (#157)Paul-Christian Volkmer4-5/+92
2025-09-04refactor: several changes related to code style and readability (#152)Paul-Christian Volkmer1-13/+16
* refactor: extract provision code extraction * refactor: catch exceptions by type without later type check * refactor: further code cleanup * chore: log error with error level, not debug level
2025-09-03feat: mark older request with unknown state (#150)Paul-Christian Volkmer1-9/+20
2025-08-27fix: add missing requestId to KafkaMtbFileSender (#142)Paul-Christian Volkmer1-4/+3
2025-08-25fix: mime type representation in kafka header (#139)Paul-Christian Volkmer1-5/+3
2025-08-20feat: configuration of genomDe test submission via ↵jlidke1-29/+24
'app.genomDeTestSubmission' = 'true', is implemented, now. (#136) Co-authored-by: Paul-Christian Volkmer <code@pcvolkmer.de>
2025-08-18feat: do not default to test submissions (#135)Paul-Christian Volkmer1-1/+1
2025-08-18fix: add /mtb path alias for /mtbfile (#134)Paul-Christian Volkmer1-0/+2
2025-08-18132 fix consent check (#133)jlidke2-40/+38
2025-08-15feat: check consent for DNPM 2.1 requests (#126)Paul-Christian Volkmer7-35/+105
Co-authored-by: Jakub Lidke <jakub.lidke@uni-marburg.de>
2025-08-14108 anonym id mtb v2 (#131)jlidke1-12/+175
2025-08-12refactor: remove obsolete bwHC data model V1.0 (#129)Paul-Christian Volkmer12-365/+28
2025-07-23refactor: simple code cleanups (#125)Paul-Christian Volkmer1-17/+15
2025-07-23119 add transaction (#124)jlidke6-5/+41
2025-07-2263 check consent status (#120)jlidke17-59/+791
Co-authored-by: Paul-Christian Volkmer <code@pcvolkmer.de>
2025-06-26chore: data model changes (#117)Paul-Christian Volkmer1-0/+1
See: https://github.com/dnpm-dip/mtb-model/commit/3234082af1faf40d6b2faa67f8afcef95d2a5a3b
2025-05-30chore: update dnpm mtb dto library (#113)Paul-Christian Volkmer1-2/+5
2025-04-06feat: support multiple request content types (#109)Paul-Christian Volkmer7-68/+164
2025-04-06feat: add pseudonymization for patient IDs (#107)Paul-Christian Volkmer1-6/+95
2025-04-06refactor: move CustomMediaType into types.kt (#105)Paul-Christian Volkmer2-37/+16
2025-04-06feat: add endpoint for DNPM-Datamodel V2 using content negotiation (#104)Paul-Christian Volkmer3-7/+78
This simply adds an REST endpoint without proper implementation. The goal is to accept DNPM V2 JSON data.
2025-04-04feat: remove obsolete config params (#101)Paul-Christian Volkmer4-36/+6
2025-04-04feat: remove SSL-CA-Location config (#99)Paul-Christian Volkmer2-104/+2
2025-04-04refactor: update use of deprecated methods (#96)Paul-Christian Volkmer1-6/+20
2025-04-04feat: add new MTB endpoint path (#93)Paul-Christian Volkmer1-2/+2
2025-04-04feat: show issue path if available in response body (#92)Paul-Christian Volkmer1-1/+6
2025-04-03feat: use issue severity to create status (#90)Paul-Christian Volkmer5-11/+31
2025-03-23feat: do not retry on validation issues (#89)Paul-Christian Volkmer1-0/+3
This will prevent retry if response is HTTP 400 or HTTP 422.
2025-03-23Code cleanup (#87)Paul-Christian Volkmer4-11/+13
* refactor: Replace usage of Void with Kotlins Unit * refactor: make ConnectionCheckService a functional interface * refactor: ignore unused exception * refactor: use property access syntax * refactor: use const value for login path
2025-03-22feat: handle and save issue report for non HTTP 2xx responsesPaul-Christian Volkmer2-3/+5
2025-03-20feat: add checks for DNPM:DIP backendPaul-Christian Volkmer1-1/+9
Since DNPM:DIP responds with HTTP 404 on API base path, the Kaplan-Meier Config endpoint will be used to check availability of DNPM:DIP backend API.
2025-03-20refactor: use UriComponentsBuilder to build URL to be usedPaul-Christian Volkmer2-8/+28
This prevents problems using trailing slash in remote API URL.