diff options
| author | Paul-Christian Volkmer | 2025-10-27 13:52:08 +0100 |
|---|---|---|
| committer | GitHub | 2025-10-27 13:52:08 +0100 |
| commit | af27399fcc8283ee2a2d1eab64280f200e85995d (patch) | |
| tree | 9cd30eeb8410a6bcfdb51092ed842d64d11be12c /src/main/kotlin | |
| parent | a5805ef288e524040b1298c867588d719f5fef3a (diff) | |
fix: use correct gPAS URI for connection test (#166)
Diffstat (limited to 'src/main/kotlin')
| -rw-r--r-- | src/main/kotlin/dev/dnpm/etl/processor/monitoring/ConnectionCheckService.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/kotlin/dev/dnpm/etl/processor/monitoring/ConnectionCheckService.kt b/src/main/kotlin/dev/dnpm/etl/processor/monitoring/ConnectionCheckService.kt index 1343ee0..bf8b8bd 100644 --- a/src/main/kotlin/dev/dnpm/etl/processor/monitoring/ConnectionCheckService.kt +++ b/src/main/kotlin/dev/dnpm/etl/processor/monitoring/ConnectionCheckService.kt @@ -183,8 +183,7 @@ class GPasConnectionCheckService( fun check() { result = try { val uri = UriComponentsBuilder.fromUriString( - gPasConfigProperties.uri?.replace("/\$pseudonymizeAllowCreate", "/metadata").toString() - ).build().toUri() + gPasConfigProperties.uri.toString()).path("/metadata").build().toUri() val headers = HttpHeaders() headers.contentType = MediaType.APPLICATION_JSON |
