From ddb23aa8b1fc94c43f6cee8b22cb9626f6cf1071 Mon Sep 17 00:00:00 2001 From: haburger Date: Mon, 13 Jan 2025 16:34:16 +0000 Subject: [PATCH] new configuration version --- .../etc/nevis/k8s-nevisauth-7022472ae407577ae604bbb8.yaml | 2 +- .../var/opt/nevisauth/default/conf/ensureRecoveryCode.groovy | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/etc/nevis/k8s-nevisauth-7022472ae407577ae604bbb8.yaml b/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/etc/nevis/k8s-nevisauth-7022472ae407577ae604bbb8.yaml index 2d2949f..f09982d 100644 --- a/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/etc/nevis/k8s-nevisauth-7022472ae407577ae604bbb8.yaml +++ b/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/etc/nevis/k8s-nevisauth-7022472ae407577ae604bbb8.yaml @@ -45,7 +45,7 @@ spec: podDisruptionBudget: maxUnavailable: "50%" git: - tag: "r-5190e6a7cf86a817b73807ecaff4b41c37839349" + tag: "r-8fb919f88013157ccd00ea44d0c9e22d96b63fed" dir: "DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth" credentials: "git-credentials" keystores: diff --git a/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/var/opt/nevisauth/default/conf/ensureRecoveryCode.groovy b/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/var/opt/nevisauth/default/conf/ensureRecoveryCode.groovy index d8b392c..035a694 100644 --- a/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/var/opt/nevisauth/default/conf/ensureRecoveryCode.groovy +++ b/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/var/opt/nevisauth/default/conf/ensureRecoveryCode.groovy @@ -1,6 +1,8 @@ import ch.nevis.esauth.auth.engine.AuthResponse import ch.nevis.esauth.util.httpclient.api.HttpClient +import io.opentelemetry.api.trace.Span + import groovy.json.JsonSlurper import groovy.xml.XmlSlurper @@ -18,6 +20,8 @@ def userAgent = request.getLoginContext()['connection.HttpHeader.user-agent'] ?: HttpClient httpClient = HttpClients.create(parameters) +def spanCtxt = Span.current().getSpanContext() +def traceparent = "00-${spanCtxt.getTraceId()}-${spanCtxt.getSpanId()}-${spanCtxt.getTraceFlags().asHex()}" String clientExtId = session.get('ch.adnovum.nevisidm.user.clientExtId') String userExtId = session.get('ch.adnovum.nevisidm.user.extId')