summaryrefslogtreecommitdiff
path: root/src/test/kotlin
AgeCommit message (Collapse)AuthorFilesLines
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
2024-03-12feat: salted re-hash IDs within MTB file except patient IDPaul-Christian Volkmer2-3/+76
2024-03-09feat: do not use episode id in kafka record keyPaul-Christian Volkmer1-1/+1
2024-03-08feat: use requestId from incoming Kafka Record HeaderPaul-Christian Volkmer1-0/+33
2024-03-01feat: add config option to deactivate duplication checkPaul-Christian Volkmer1-1/+53
2024-02-29test: add test for incoming kafka message processingPaul-Christian Volkmer1-0/+79
2024-02-19feat: new kafka config due to kafka inputPaul-Christian Volkmer1-7/+7
2024-02-17refactor: move mtb file controller into package inputPaul-Christian Volkmer1-2/+2
2024-01-21test: add tests for TokenServicePaul-Christian Volkmer1-0/+154
2024-01-04test #17: add tests for retryPaul-Christian Volkmer2-0/+111
2024-01-04feat #17: initial support for request retryPaul-Christian Volkmer2-4/+11
2023-12-14test: add tests to ensure patient id pseudonymPaul-Christian Volkmer1-0/+64
This uses fake MTBFile JSON as described here: https://ibmi-intra.cs.uni-tuebingen.de/display/ZPM/bwHC+REST+API
2023-12-05test: expect sorted data quality report issuesPaul-Christian Volkmer1-4/+4
2023-12-05test: expect 3 issues with different severityPaul-Christian Volkmer1-1/+1
2023-12-05fix: add info severity to data quality reportPaul-Christian Volkmer1-2/+5
2023-10-05Issue #12: Transform MTBFile objects by using transformation rulesPaul-Christian Volkmer2-16/+30
2023-10-05Issue #12: Add application config for transformation configurationPaul-Christian Volkmer1-0/+19
2023-10-05Issue #12: Basic implementation of transformation servicePaul-Christian Volkmer1-0/+83
2023-09-04fix: removed gaps system from GPAS pseudonym value. Also added clean up ↵jlidke1-0/+7
method, which will replace filename invalid characters witch '_'. (#11)
2023-08-16Issue #7: Send and expect requestId in record body, not in record key (#8)Paul-Christian Volkmer2-16/+50
2023-08-12Code cleanupPaul-Christian Volkmer3-17/+13
2023-08-11Issue #3: Detect the request type of request with last known status (#5)Paul-Christian Volkmer2-23/+43
2023-08-11Issue #2: Do not serialize JSON string as custom string (#4)Paul-Christian Volkmer1-12/+48
In addition to that, if REST request did not contain a response body, use empty string as data quality report string.
2023-08-10Add tests for KafkaMtbFileSenderPaul-Christian Volkmer1-0/+169
2023-08-10Tests for RestMtbFileSenderPaul-Christian Volkmer1-0/+159
2023-08-09Decouple request and response processingPaul-Christian Volkmer3-27/+362
2023-08-09Do not append custom prefix to gPAS pseudonymPaul-Christian Volkmer2-7/+93
2023-08-09Use single MtbFileSenderPaul-Christian Volkmer1-1/+1
2023-08-09Handle MTB File with rejected consent as deletion requestPaul-Christian Volkmer1-0/+150
2023-08-08Ignore unknown properties in DataQualityResponsePaul-Christian Volkmer1-0/+70
2023-08-08Add tests for error response statusPaul-Christian Volkmer1-2/+91
2023-08-08Add tests for RequestProcessorPaul-Christian Volkmer1-0/+209