Updated gam create inboundssoprofile ... returnnameonly to return inProgress if the API does not return a complete result.
Some checks are pending
CodeQL / Analyze (python) (push) Waiting to run
Check for Google Root CA Updates / check-apis (push) Waiting to run

This commit is contained in:
Ross Scroggs
2024-09-05 19:19:45 -07:00
parent 737deb8e39
commit 68863cd44b
9 changed files with 55 additions and 24 deletions

View File

@@ -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.

View File

@@ -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)