From 7f0f6dffb7324d2d1c4218460e2934eab9a061f1 Mon Sep 17 00:00:00 2001 From: Mantas Date: Tue, 14 Nov 2023 19:51:45 +0200 Subject: [PATCH] Add test cliens in a new format --- tests/config/clients/helpers/keymap.yml | 3 +++ .../id/0a/8d/30bd-e8c0-4c8f-a2cd-abec9a1f2d6f.yml | 10 ++++++++++ .../id/33/88/ea36-4a4f-4821-900a-b574c8829d52.yml | 9 +++++++++ .../id/ba/a4/48a8-205c-4faa-a048-a10e4b32a136.yml | 6 ++++++ 4 files changed, 28 insertions(+) create mode 100644 tests/config/clients/helpers/keymap.yml create mode 100644 tests/config/clients/id/0a/8d/30bd-e8c0-4c8f-a2cd-abec9a1f2d6f.yml create mode 100644 tests/config/clients/id/33/88/ea36-4a4f-4821-900a-b574c8829d52.yml create mode 100644 tests/config/clients/id/ba/a4/48a8-205c-4faa-a048-a10e4b32a136.yml diff --git a/tests/config/clients/helpers/keymap.yml b/tests/config/clients/helpers/keymap.yml new file mode 100644 index 000000000..c666a4f7b --- /dev/null +++ b/tests/config/clients/helpers/keymap.yml @@ -0,0 +1,3 @@ +baa448a8-205c-4faa-a048-a10e4b32a136: baa448a8-205c-4faa-a048-a10e4b32a136 +default: 0a8d30bd-e8c0-4c8f-a2cd-abec9a1f2d6f +3388ea36-4a4f-4821-900a-b574c8829d52: 3388ea36-4a4f-4821-900a-b574c8829d52 diff --git a/tests/config/clients/id/0a/8d/30bd-e8c0-4c8f-a2cd-abec9a1f2d6f.yml b/tests/config/clients/id/0a/8d/30bd-e8c0-4c8f-a2cd-abec9a1f2d6f.yml new file mode 100644 index 000000000..4ddba94c5 --- /dev/null +++ b/tests/config/clients/id/0a/8d/30bd-e8c0-4c8f-a2cd-abec9a1f2d6f.yml @@ -0,0 +1,10 @@ +client_id: 0a8d30bd-e8c0-4c8f-a2cd-abec9a1f2d6f +client_name: default +client_secret_hash: + pbkdf2$sha256$436530$RlOUYl1U1PaCpYbYIPCV3Q$uCykFxWC8fwaRi7T2RmOA_CUqD9K-cMhvVlSSasuCeY +scopes: + - spinta_getone + - spinta_getall + - spinta_search + - spinta_changes + - spinta_check diff --git a/tests/config/clients/id/33/88/ea36-4a4f-4821-900a-b574c8829d52.yml b/tests/config/clients/id/33/88/ea36-4a4f-4821-900a-b574c8829d52.yml new file mode 100644 index 000000000..91e0a9c7f --- /dev/null +++ b/tests/config/clients/id/33/88/ea36-4a4f-4821-900a-b574c8829d52.yml @@ -0,0 +1,9 @@ +client_id: 3388ea36-4a4f-4821-900a-b574c8829d52 +client_name: 3388ea36-4a4f-4821-900a-b574c8829d52 +client_secret_hash: + pbkdf2$sha256$436530$RlOUYl1U1PaCpYbYIPCV3Q$uCykFxWC8fwaRi7T2RmOA_CUqD9K-cMhvVlSSasuCeY +scopes: + - spinta_getone + - spinta_getall + - spinta_search + - spinta_changes diff --git a/tests/config/clients/id/ba/a4/48a8-205c-4faa-a048-a10e4b32a136.yml b/tests/config/clients/id/ba/a4/48a8-205c-4faa-a048-a10e4b32a136.yml new file mode 100644 index 000000000..7c41bf816 --- /dev/null +++ b/tests/config/clients/id/ba/a4/48a8-205c-4faa-a048-a10e4b32a136.yml @@ -0,0 +1,6 @@ +client_id: baa448a8-205c-4faa-a048-a10e4b32a136 +client_name: baa448a8-205c-4faa-a048-a10e4b32a136 +client_secret_hash: + pbkdf2$sha256$885635$BU_xw-0vx-97k6AWa6Odgg$JvCwasOVkGqE0PDqa-PwXEML4pYmPoAwVyKTvttnZK8 +scopes: + - profile