new configuration version
This commit is contained in:
parent
9a872ea156
commit
761ce7ae63
|
@ -45,7 +45,7 @@ spec:
|
||||||
podDisruptionBudget:
|
podDisruptionBudget:
|
||||||
maxUnavailable: "50%"
|
maxUnavailable: "50%"
|
||||||
git:
|
git:
|
||||||
tag: "r-531df4d70374c7edf2c8bd2dc66243ffcf866911"
|
tag: "r-6841e8ab171b9e955775effffb595e52b5f7d122"
|
||||||
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:
|
||||||
|
|
|
@ -33,10 +33,19 @@ if (mobile) {
|
||||||
}
|
}
|
||||||
if (inargs['submit'] && inargs['mobile']) {
|
if (inargs['submit'] && inargs['mobile']) {
|
||||||
String result
|
String result
|
||||||
|
def patchBdy = "{\"contacts\":{\"mobile\": \"${inargs[mobile]?.trim()}\"},\"added mobile number from user during request ${requestId}\":\"\"}"
|
||||||
try {
|
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) {
|
} catch(Exception e) {
|
||||||
LOG.warn(e)
|
LOG.error(e)
|
||||||
}
|
}
|
||||||
response.setResult('done')
|
response.setResult('done')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue