Skip to content

Commit

Permalink
[#293] rename config namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyBA committed Dec 4, 2024
1 parent 9d1704c commit ea6802c
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 29 deletions.
5 changes: 2 additions & 3 deletions docker/setup_configuration/data.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
tokens_config_enable: true

tokens_config:
openklant_tokens_config_enable: true
openklant_tokens:
items:
- identifier: token-1
token: ba9d233e95e04c4a8a661a27daffe7c9bd019067
Expand Down
5 changes: 2 additions & 3 deletions docs/installation/setup_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ Create a (single) YAML configuration file with your settings:

.. code-block:: yaml
tokens_config_enable: true
tokens_config:
openklant_tokens_config_enable: true
openklant_tokens:
group:
- identifier: token-1
contact_person: Person 1
Expand Down
4 changes: 2 additions & 2 deletions src/openklant/setup_configuration/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class TokenAuthConfigurationStep(
Configure configuration groups for the Objects API backend
"""

namespace = "tokens_config"
enable_setting = "tokens_config_enable"
namespace = "openklant_tokens"
enable_setting = "openklant_tokens_config_enable"

verbose_name = "Configuration to set up authentication tokens for Open Klant"
config_model = TokenAuthGroupConfigurationModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
tokens_config_enable: true

tokens_config:
openklant_tokens_config_enable: true
openklant_tokens:
items:
- identifier: token-1
token: 18b2b74ef994314b84021d47b9422e82b685d82f
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
tokens_config_enable: true

tokens_config:
openklant_tokens_config_enable: true
openklant_tokens:
items:
- identifier: token-1
token: 7b2b212d9f16d171a70a1d927cdcfbd5ca7a4799
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
tokens_config_enable: true

tokens_config:
openklant_tokens_config_enable: true
openklant_tokens:
items:
- identifier: token-1
token: 18b2b74ef994314b84021d47b9422e82b685d82f
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
tokens_config_enable: true

tokens_config:
openklant_tokens_config_enable: true
openklant_tokens:
items:
- identifier: token-1
token: 7b2b212d9f16d171a70a1d927cdcfbd5ca7a4799
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
tokens_config_enable: true

tokens_config:
openklant_tokens_config_enable: true
openklant_tokens:
items:
- identifier: token-1
token: ba9d233e95e04c4a8a661a27daffe7c9bd019067
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
tokens_config_enable: true

tokens_config:
openklant_tokens_config_enable: true
openklant_tokens:
items:
- identifier: foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar
token: ba9d233e95e04c4a8a661a27daffe7c9bd019067
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
tokens_config_enable: true

tokens_config:
openklant_tokens_config_enable: true
openklant_tokens:
items:
- identifier: token-1
token: foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar
Expand Down

0 comments on commit ea6802c

Please sign in to comment.