mirror of
https://github.com/pcvolkmer/etl-processor.git
synced 2025-04-20 17:56:50 +00:00
chore: gPas health check, fetch metadata instead of send invalid gPas request (#73)
This commit is contained in:
parent
eb49ba611b
commit
d258d9081b
@ -162,11 +162,8 @@ class GPasConnectionCheckService(
|
|||||||
fun check() {
|
fun check() {
|
||||||
result = try {
|
result = try {
|
||||||
val uri = UriComponentsBuilder.fromUriString(
|
val uri = UriComponentsBuilder.fromUriString(
|
||||||
gPasConfigProperties.uri?.replace("/\$pseudonymizeAllowCreate", "/\$pseudonymize").toString()
|
gPasConfigProperties.uri?.replace("/\$pseudonymizeAllowCreate", "/metadata").toString()
|
||||||
)
|
).build().toUri()
|
||||||
.queryParam("target", gPasConfigProperties.target)
|
|
||||||
.queryParam("original", "???")
|
|
||||||
.build().toUri()
|
|
||||||
|
|
||||||
val headers = HttpHeaders()
|
val headers = HttpHeaders()
|
||||||
headers.contentType = MediaType.APPLICATION_JSON
|
headers.contentType = MediaType.APPLICATION_JSON
|
||||||
|
Loading…
x
Reference in New Issue
Block a user