new configuration version

This commit is contained in:
haburger 2024-11-22 10:42:49 +00:00
parent 9a872ea156
commit 761ce7ae63
2 changed files with 12 additions and 3 deletions

View File

@ -45,7 +45,7 @@ spec:
podDisruptionBudget:
maxUnavailable: "50%"
git:
tag: "r-531df4d70374c7edf2c8bd2dc66243ffcf866911"
tag: "r-6841e8ab171b9e955775effffb595e52b5f7d122"
dir: "DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth"
credentials: "git-credentials"
keystores:

View File

@ -33,10 +33,19 @@ if (mobile) {
}
if (inargs['submit'] && inargs['mobile']) {
String result
def patchBdy = "{\"contacts\":{\"mobile\": \"${inargs[mobile]?.trim()}\"},\"added mobile number from user during request ${requestId}\":\"\"}"
try {
result = idmRestClient.patch(endPoint, "{\"contacts\":{\"mobile\": \"${inargs[mobile]?.trim()}\"},\"added mobile number from user during request ${requestId}\":\"\"}")
LOG.info("-----")
LOG.info("PATCH ${endPoint}")
LOG.info(patchBdy)
LOG.info("-----")
result = idmRestClient.patch(endPoint, patchBdy)
LOG.info(result)
LOG.info("-----")
} catch(Exception e) {
LOG.warn(e)
LOG.error(e)
}
response.setResult('done')
return