From aebb3c44fea46c0bde6488e6f31cd5a83cfa261c Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Mon, 14 Nov 2022 19:31:16 +0000 Subject: [PATCH] quick fixes --- .github/workflows/build.yml | 2 +- src/gam/gapi/cloudidentity/inboundsso.py | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee7c13ae..c3dc21c4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -557,7 +557,7 @@ jobs: $gam oauth info $gam info domain $gam oauth refresh - $gam info use + $gam info user export tstamp=$($PYTHON -c "import time; print(time.time_ns())") export newbase=gha_test_$JID_$tstamp export newuser=$newbase@pdl.jaylee.us diff --git a/src/gam/gapi/cloudidentity/inboundsso.py b/src/gam/gapi/cloudidentity/inboundsso.py index a8101fe2..9a307dfc 100644 --- a/src/gam/gapi/cloudidentity/inboundsso.py +++ b/src/gam/gapi/cloudidentity/inboundsso.py @@ -239,6 +239,8 @@ def create_credentials(): controlflow.system_error_exit(3, 'Create did not finish {result}') + +'''gam delete inboundssocredential''' def delete_credentials(ci=None, name=None): if not ci: ci = build() @@ -253,6 +255,7 @@ def delete_credentials(ci=None, name=None): controlflow.system_error_exit(3, 'Delete did not finish {result}') +'''gam print inboundssocredentials''' def print_credentials(): ci = build() i = 3 @@ -284,6 +287,8 @@ def print_credentials(): display.print_json(c) print() + +'''parse command for create/update inboundssoassignment''' def parse_assignment(body, i, ci): while i < len(sys.argv): myarg = sys.argv[i].lower().replace('_', '') @@ -326,6 +331,7 @@ def parse_assignment(body, i, ci): return body +'''gam create inboundssoassignment''' def create_assignment(): ci = build() body = { @@ -338,6 +344,7 @@ def create_assignment(): display.print_json(result) +'''gam update inboundssoassignment''' def update_assignment(): ci = build() name = sys.argv[3] @@ -352,6 +359,8 @@ def update_assignment(): ) display.print_json(result) + +'''gam print inboundssoassignments''' def print_assignments(): ci = build() customer = get_sso_customer()