aiven-client
aiven-client copied to clipboard
Enable and disable authorization in Kafka REST proxy
Add support for enabling and disable Kafka REST proxy authorization in a Kafka service. Adds two switches --disable-rest-proxy-authorization
and --enable-rest-proxy-authorization
to service update
command.
The build is failing because of this
Run make pylint
python3 -m pylint aiven tests
************* Module aiven.client.cli
aiven/client/cli.py:4814:19: W3101: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout)
The PR doesn't touch line 4814 of aiven/client/cli.py
.
On my laptop make pylint
works both in main
and in this branch.
@tvainika comment is correct. The avn service update
is generic for all services.
IMO these switches should be removed --use-karapace
, --enable-schema-registry-authorization
, --disable-schema-registry-authorization
and new service specific arguments should not be introduced.