mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
Updated gam create inboundssoprofile ... returnnameonly to return inProgress if the API does not return a complete result.
This commit is contained in:
@@ -4,7 +4,11 @@ Merged GAM-Team version
|
||||
|
||||
6.80.19
|
||||
|
||||
Fixed bug in `gam create inboundssoprofile` that caused a trap.
|
||||
Fixed bug in `gam create inboundssoprofile` that caused a trap due to
|
||||
an unexpected API result.
|
||||
|
||||
Updated `gam create inboundssoprofile ... returnnameonly` to return `inProgress` if the API
|
||||
does not return a complete result.
|
||||
|
||||
Upgraded to OpenSSL 3.3.2 where possible.
|
||||
|
||||
|
||||
@@ -44577,8 +44577,10 @@ def _processInboundSSOProfileResult(result, returnNameOnly, kvlist, function):
|
||||
entityActionPerformed(kvlist)
|
||||
else:
|
||||
entityActionFailedWarning(kvlist, result['error']['message'])
|
||||
else:
|
||||
elif not returnNameOnly:
|
||||
entityActionPerformedMessage(kvlist, Msg.ACTION_IN_PROGRESS.format(f'{function} inboundssoprofile'))
|
||||
else:
|
||||
writeStdout('inProgress\n')
|
||||
|
||||
# gam create inboundssoprofile [name <SSOProfileName>]
|
||||
# [entityid <String>] [loginurl <URL>] [logouturl <URL>] [changepasswordurl <URL>]
|
||||
@@ -44741,7 +44743,7 @@ def _showInboundSSOCredentials(credentials, FJQC, i=0, count=0):
|
||||
Ind.Decrement()
|
||||
|
||||
def _processInboundSSOCredentialsResult(result, kvlist, function):
|
||||
if result['done']:
|
||||
if result.get('done', False):
|
||||
if 'error' not in result:
|
||||
if 'response' in result:
|
||||
_showInboundSSOCredentials(result['response'], None)
|
||||
|
||||
Reference in New Issue
Block a user