new configuration version
This commit is contained in:
parent
f8353eec89
commit
d10d05c752
|
@ -45,7 +45,7 @@ spec:
|
||||||
podDisruptionBudget:
|
podDisruptionBudget:
|
||||||
maxUnavailable: "50%"
|
maxUnavailable: "50%"
|
||||||
git:
|
git:
|
||||||
tag: "r-d284524a99b510771cce757077c5485187528da0"
|
tag: "r-07f17f6616f2c0bf3598a69f441d4371045d97e3"
|
||||||
dir: "DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth"
|
dir: "DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth"
|
||||||
credentials: "git-credentials"
|
credentials: "git-credentials"
|
||||||
keystores:
|
keystores:
|
||||||
|
|
|
@ -15,17 +15,12 @@ def credentialType = session['authenticatedWith'] ?: 'unknown'
|
||||||
def sourceIp = request.getLoginContext()['connection.HttpHeader.X-Real-IP'] ?: 'unknown'
|
def sourceIp = request.getLoginContext()['connection.HttpHeader.X-Real-IP'] ?: 'unknown'
|
||||||
def userAgent = request.getLoginContext()['connection.HttpHeader.user-agent'] ?: request.getLoginContext()['connection.HttpHeader.User-Agent'] ?: 'unknown'
|
def userAgent = request.getLoginContext()['connection.HttpHeader.user-agent'] ?: request.getLoginContext()['connection.HttpHeader.User-Agent'] ?: 'unknown'
|
||||||
|
|
||||||
LOG.info("----- 1")
|
|
||||||
|
|
||||||
|
|
||||||
IdmRestClient idmRestClient = IdmRestClientFactory.get(parameters)
|
IdmRestClient idmRestClient = IdmRestClientFactory.get(parameters)
|
||||||
|
|
||||||
LOG.info("----- 2")
|
|
||||||
String clientExtId = session.get('ch.adnovum.nevisidm.user.clientExtId')
|
String clientExtId = session.get('ch.adnovum.nevisidm.user.clientExtId')
|
||||||
String userExtId = session.get('ch.adnovum.nevisidm.user.extId')
|
String userExtId = session.get('ch.adnovum.nevisidm.user.extId')
|
||||||
String mobile = session.get('ch.nevis.idm.User.mobile')
|
String mobile = session.get('ch.nevis.idm.User.mobile')
|
||||||
|
|
||||||
LOG.info("----- 3")
|
|
||||||
String baseUrl = parameters.get('baseUrl')
|
String baseUrl = parameters.get('baseUrl')
|
||||||
String endPoint = "${baseUrl}/core/v1/${clientExtId}/users/${userExtId}"
|
String endPoint = "${baseUrl}/core/v1/${clientExtId}/users/${userExtId}"
|
||||||
|
|
||||||
|
@ -37,9 +32,7 @@ if (mobile) {
|
||||||
if (inargs['submit'] && inargs['mobile']) {
|
if (inargs['submit'] && inargs['mobile']) {
|
||||||
String result
|
String result
|
||||||
|
|
||||||
LOG.info("----- 4")
|
def patchBdy = "{\"contacts\":{\"mobile\":\"${inargs['mobile']?.trim()}\"},\"modificationComment\":\"added mobile number from user during request ${requestId}\"}"
|
||||||
|
|
||||||
def patchBdy = "{\"contacts\":{\"mobile\": \"${inargs['mobile']?.trim()}\"},\"added mobile number from user during request ${requestId}\":\"\"}"
|
|
||||||
try {
|
try {
|
||||||
LOG.info("-----")
|
LOG.info("-----")
|
||||||
LOG.info("PATCH ${endPoint}")
|
LOG.info("PATCH ${endPoint}")
|
||||||
|
|
Loading…
Reference in New Issue