summaryrefslogtreecommitdiff
path: root/src/test/kotlin/dev/dnpm
AgeCommit message (Collapse)AuthorFilesLines
2025-11-21feat: add alternative endpoints for request (#196)Paul-Christian Volkmer2-34/+103
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-0/+41
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-11chore: use spotless for kotlin code (#191)Paul-Christian Volkmer20-2379/+2390
2025-11-06fix: docs uses APP_PSEUDOMYMIZE_GPAS_PID_DOMAIN (#184)Paul-Christian Volkmer1-0/+1
2025-11-04fix: errors in response parsing (#181)v0.12.0-rc.1Paul-Christian Volkmer1-0/+36
2025-11-03fix: do not re-anonymize diagnosis ID (#179)Paul-Christian Volkmer1-0/+11
2025-11-01test: check equal anonymization for diagnosis and references (#177)Paul-Christian Volkmer1-2/+61
This should ensure correct anonymization because some cases of non-resolvable references have been observed in previous runs.
2025-10-31fix: only send nested content with MTB record (#175)Paul-Christian Volkmer1-2/+2
2025-10-31fix: getProvisionTypeByPolicyCode updated to new consent structure (#173)jlidke1-0/+58
2025-10-28test: add check result emit tests (#168)Paul-Christian Volkmer1-16/+145
2025-10-27fix: use correct gPAS URI for connection test (#166)Paul-Christian Volkmer1-0/+141
2025-10-22Merge pull request #154Paul-Christian Volkmer1-1/+1
2025-08-27fix: add missing requestId to KafkaMtbFileSender (#142)Paul-Christian Volkmer1-0/+2
2025-08-25fix: mime type representation in kafka header (#139)Paul-Christian Volkmer1-2/+9
2025-08-20feat: configuration of genomDe test submission via ↵jlidke1-0/+38
'app.genomDeTestSubmission' = 'true', is implemented, now. (#136) Co-authored-by: Paul-Christian Volkmer <code@pcvolkmer.de>
2025-08-18132 fix consent check (#133)jlidke2-15/+37
2025-08-15feat: check consent for DNPM 2.1 requests (#126)Paul-Christian Volkmer6-18/+508
Co-authored-by: Jakub Lidke <jakub.lidke@uni-marburg.de>
2025-08-14108 anonym id mtb v2 (#131)jlidke1-0/+58
2025-08-12refactor: remove obsolete bwHC data model V1.0 (#129)Paul-Christian Volkmer10-1135/+214
2025-07-23refactor: simple code cleanups (#125)Paul-Christian Volkmer1-41/+18
2025-07-23119 add transaction (#124)jlidke1-2/+14
2025-07-2263 check consent status (#120)jlidke6-37/+448
Co-authored-by: Paul-Christian Volkmer <code@pcvolkmer.de>
2025-06-26chore: data model changes (#117)Paul-Christian Volkmer1-1/+1
See: https://github.com/dnpm-dip/mtb-model/commit/3234082af1faf40d6b2faa67f8afcef95d2a5a3b
2025-05-30chore: update dnpm mtb dto library (#113)Paul-Christian Volkmer3-65/+71
2025-04-06feat: support multiple request content types (#109)Paul-Christian Volkmer6-228/+443
2025-04-06feat: add pseudonymization for patient IDs (#107)Paul-Christian Volkmer1-145/+228
2025-04-06feat: add endpoint for DNPM-Datamodel V2 using content negotiation (#104)Paul-Christian Volkmer2-6/+114
This simply adds an REST endpoint without proper implementation. The goal is to accept DNPM V2 JSON data.
2025-04-04feat: add new MTB endpoint path (#93)Paul-Christian Volkmer1-71/+109
2025-04-03feat: use issue severity to create status (#90)Paul-Christian Volkmer3-59/+241
2025-03-23feat: do not retry on validation issues (#89)Paul-Christian Volkmer1-4/+9
This will prevent retry if response is HTTP 400 or HTTP 422.
2025-03-22feat: handle and save issue report for non HTTP 2xx responsesPaul-Christian Volkmer2-8/+8
2025-03-20chore: use API URL to DNPM:DIPPaul-Christian Volkmer1-7/+7
2025-03-08refactor: use different sender classes for bwHC and DIPPaul-Christian Volkmer2-5/+267
2025-03-08fix: use patient pseudonym valuePaul-Christian Volkmer1-2/+2
2025-03-08feat: Support POSTing data to dnpm:dipNiklas Sombert1-7/+7
2025-02-09test: explicit request URI check and fix use of expect()Paul-Christian Volkmer1-24/+24
2024-12-23chore: update to mockito-kotlin 5.4.0Paul-Christian Volkmer6-13/+6
With this change, `anyValueClass()` from mockito-kotlin replaces own implementation.
2024-11-01feat: Allow configuring basic auth for the rest uri (#75)Niklas1-3/+3
2024-07-15refactor: rename db column name to reflect contentPaul-Christian Volkmer1-3/+3
2024-07-15refactor: add types for patient id and pseudonymPaul-Christian Volkmer8-86/+83
2024-05-27test: use Kotlin KArgumentCaptorPaul-Christian Volkmer1-7/+6
2024-05-27feat: use RequestId typePaul-Christian Volkmer7-41/+80
2024-05-15fix: add missing 'fatal' severityPaul-Christian Volkmer1-8/+11
2024-05-07refactor: move classes into package 'security'Paul-Christian Volkmer2-5/+2
2024-05-06refactor: use whenever() instead of `when` in testsPaul-Christian Volkmer2-24/+25
2024-05-06test: add tests for UserRoleServicePaul-Christian Volkmer1-0/+205
2024-05-06fix: handle null values in MtbFilePaul-Christian Volkmer1-0/+61
This should not occur but if, it should not result in NPE except for * Patient * Consent * Episode
2024-05-02refactor: use RequestService in ResponseProcessorPaul-Christian Volkmer1-11/+10
2024-04-30refactor: use Fingerprint type instead of plain StringPaul-Christian Volkmer3-16/+19
2024-04-29refactor: add additional constructorsPaul-Christian Volkmer2-114/+112