Undo hacking identity auth catalog command

There was a hack of renaming `osc identity auth catalog ...` command to
`osc identity catalog`. That is not useful and should be dropped.

Change-Id: I60c1afcbf462f63128b5c8988d132487b11f846b
This commit is contained in:
Artem Goncharov
2024-09-06 12:59:02 +02:00
parent 8c9894e60b
commit a5332a2072
2 changed files with 2 additions and 6 deletions

View File

@@ -945,11 +945,7 @@ def post_process_identity_operation(
operation.targets["rust-cli"].response_key = "config"
if "rust-cli" in operation.targets:
if "auth/catalog" == resource_name:
operation.targets["rust-cli"].cli_full_command = operation.targets[
"rust-cli"
].cli_full_command.replace("auth ", "")
elif "OS_FEDERATION" in resource_name:
if "OS_FEDERATION" in resource_name:
operation.targets["rust-cli"].cli_full_command = operation.targets[
"rust-cli"
].cli_full_command.replace("OS-FEDERATION", "federation")

View File

@@ -138,7 +138,7 @@ resources:
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: catalog list
cli_full_command: auth catalog list
identity.auth/token/OS_PKI/revoked:
spec_file: wrk/openapi_specs/identity/v3.yaml
api_version: v3