Skip to content
Snippets Groups Projects
Commit 87a1dc8a authored by Karel van Klink's avatar Karel van Klink :smiley_cat: Committed by Neda Moeini
Browse files

remove unused auth from oss-params, add deprecation notice to docs

It's optional, so no existing config should break
parent a2f0a59f
Branches
Tags
1 merge request!83Clean up the repo a bit, and add some unit tests
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
"PROVISIONING_PROXY": { "PROVISIONING_PROXY": {
"scheme": "https", "scheme": "https",
"api_base": "localhost:44444", "api_base": "localhost:44444",
"auth": "Bearer <token>",
"api_version": 1123 "api_version": 1123
} }
} }
""":term:`GSO` settings. """:term:`GSO` settings.
Ensuring that the required parameters are set correctly. Ensuring that the required parameters are set correctly. An example file ``oss-params-example.json`` is present in the
:term:`GSO` package itself.
""" """
import ipaddress import ipaddress
...@@ -83,7 +84,9 @@ class ProvisioningProxyParams(BaseSettings): ...@@ -83,7 +84,9 @@ class ProvisioningProxyParams(BaseSettings):
scheme: str scheme: str
api_base: str api_base: str
auth: str # FIXME: unfinished #: .. deprecated:: 0.1
#: Not used anymore, may be left out from config file.
auth: str | None
api_version: int api_version: int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment