Add keystone-ng idp and mapping resources metadata
Also ensure new features are activated when running clippy. Change-Id: I95d5814ff0691ac859eff8435a8c155acf0559ed Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
This commit is contained in:
@@ -15,4 +15,8 @@ libldap-dev [platform:dpkg]
|
||||
|
||||
# There are no wheels for pillow on py3.12 so we need to enable building it
|
||||
libjpeg-dev [platform:dpkg]
|
||||
libpcre3-dev [platform:dpkg]
|
||||
libpcre3-dev [platform:dpkg]
|
||||
|
||||
# building rust with openssl requires pkg-config to be present
|
||||
pkg-config [platform:dpkg]
|
||||
libudev-dev [platform:dpkg]
|
||||
|
@@ -3388,7 +3388,7 @@ resources:
|
||||
rust-cli:
|
||||
module_name: list
|
||||
sdk_mod_name: list
|
||||
cli_full_command: identity-provider list
|
||||
cli_full_command: federation identity-provider list
|
||||
show:
|
||||
operation_id: /federation/identity_provider:show
|
||||
operation_type: show
|
||||
@@ -3398,7 +3398,7 @@ resources:
|
||||
rust-cli:
|
||||
module_name: show
|
||||
sdk_mod_name: get
|
||||
cli_full_command: identity-provider show
|
||||
cli_full_command: federation identity-provider show
|
||||
create:
|
||||
operation_id: /federation/identity_provider:create
|
||||
operation_type: create
|
||||
@@ -3408,7 +3408,7 @@ resources:
|
||||
rust-cli:
|
||||
module_name: create
|
||||
sdk_mod_name: create
|
||||
cli_full_command: identity-provider create
|
||||
cli_full_command: federation identity-provider create
|
||||
update:
|
||||
operation_id: /federation/identity_provider:update
|
||||
operation_type: set
|
||||
@@ -3418,7 +3418,7 @@ resources:
|
||||
rust-cli:
|
||||
module_name: set
|
||||
sdk_mod_name: set
|
||||
cli_full_command: identity-provider set
|
||||
cli_full_command: federation identity-provider set
|
||||
delete:
|
||||
operation_id: /federation/identity_provider:delete
|
||||
operation_type: delete
|
||||
@@ -3427,4 +3427,57 @@ resources:
|
||||
module_name: delete
|
||||
rust-cli:
|
||||
module_name: delete
|
||||
cli_full_command: identity-provider delete
|
||||
cli_full_command: federation identity-provider delete
|
||||
identity.federation/mapping:
|
||||
spec_file: wrk/openapi_specs/identity/keystone_rust.yaml
|
||||
api_version: v4
|
||||
operations:
|
||||
list:
|
||||
operation_id: /federation/mapping:list
|
||||
operation_type: list
|
||||
targets:
|
||||
rust-sdk:
|
||||
module_name: list
|
||||
rust-cli:
|
||||
module_name: list
|
||||
sdk_mod_name: list
|
||||
cli_full_command: federation mapping list
|
||||
show:
|
||||
operation_id: /federation/mapping:show
|
||||
operation_type: show
|
||||
targets:
|
||||
rust-sdk:
|
||||
module_name: get
|
||||
rust-cli:
|
||||
module_name: show
|
||||
sdk_mod_name: get
|
||||
cli_full_command: federation mapping show
|
||||
create:
|
||||
operation_id: /federation/mapping:create
|
||||
operation_type: create
|
||||
targets:
|
||||
rust-sdk:
|
||||
module_name: create
|
||||
rust-cli:
|
||||
module_name: create
|
||||
sdk_mod_name: create
|
||||
cli_full_command: federation mapping create
|
||||
update:
|
||||
operation_id: /federation/mapping:update
|
||||
operation_type: set
|
||||
targets:
|
||||
rust-sdk:
|
||||
module_name: set
|
||||
rust-cli:
|
||||
module_name: set
|
||||
sdk_mod_name: set
|
||||
cli_full_command: federation mapping set
|
||||
delete:
|
||||
operation_id: /federation/mapping:delete
|
||||
operation_type: delete
|
||||
targets:
|
||||
rust-sdk:
|
||||
module_name: delete
|
||||
rust-cli:
|
||||
module_name: delete
|
||||
cli_full_command: federation mapping delete
|
||||
|
@@ -43,7 +43,7 @@
|
||||
|
||||
- name: "Optimize generated code with clippy"
|
||||
ansible.builtin.command:
|
||||
cmd: "cargo clippy --fix --lib --tests --bins --allow-dirty"
|
||||
cmd: "cargo clippy --fix --lib --tests --bins --allow-dirty --all-features"
|
||||
chdir: "{{ rust_project_dir }}"
|
||||
|
||||
- name: "Format generated code"
|
||||
|
Reference in New Issue
Block a user