diff options
author | rtkay123 <dev@kanjala.com> | 2025-08-14 09:00:38 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-08-14 09:00:38 +0200 |
commit | 600c7a1942c06c0f7a0ae87448595057206bf324 (patch) | |
tree | 2371a22333018e9740bd93ed75c6f13e94b51696 /contrib | |
parent | d6a7767d708bb348b97748976f8d2f315b0a98c0 (diff) | |
download | warden-600c7a1942c06c0f7a0ae87448595057206bf324.tar.bz2 warden-600c7a1942c06c0f7a0ae87448595057206bf324.zip |
test(configuration): active routing
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/bruno/configuration/folder.bru | 8 | ||||
-rw-r--r-- | contrib/bruno/configuration/routing/01-get-active-routing.bru | 19 | ||||
-rw-r--r-- | contrib/bruno/configuration/routing/folder.bru | 8 |
3 files changed, 35 insertions, 0 deletions
diff --git a/contrib/bruno/configuration/folder.bru b/contrib/bruno/configuration/folder.bru new file mode 100644 index 0000000..ddfa01e --- /dev/null +++ b/contrib/bruno/configuration/folder.bru @@ -0,0 +1,8 @@ +meta { + name: configuration + seq: 2 +} + +auth { + mode: inherit +} diff --git a/contrib/bruno/configuration/routing/01-get-active-routing.bru b/contrib/bruno/configuration/routing/01-get-active-routing.bru new file mode 100644 index 0000000..ea53767 --- /dev/null +++ b/contrib/bruno/configuration/routing/01-get-active-routing.bru @@ -0,0 +1,19 @@ +meta { + name: 01-get-active-routing + type: http + seq: 1 +} + +get { + url: {{WARDEN_CFG_HOST}}/api/{{WARDEN_CFG_VERSION}}/routing + body: none + auth: inherit +} + +assert { + res.status: eq 200 +} + +settings { + encodeUrl: true +} diff --git a/contrib/bruno/configuration/routing/folder.bru b/contrib/bruno/configuration/routing/folder.bru new file mode 100644 index 0000000..f6c0398 --- /dev/null +++ b/contrib/bruno/configuration/routing/folder.bru @@ -0,0 +1,8 @@ +meta { + name: routing + seq: 1 +} + +auth { + mode: inherit +} |