aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bruno/bruno.json9
-rw-r--r--contrib/bruno/environments/warden.bru3
-rw-r--r--contrib/bruno/health-check.bru19
3 files changed, 31 insertions, 0 deletions
diff --git a/contrib/bruno/bruno.json b/contrib/bruno/bruno.json
new file mode 100644
index 0000000..24706f9
--- /dev/null
+++ b/contrib/bruno/bruno.json
@@ -0,0 +1,9 @@
+{
+ "version": "1",
+ "name": "warden",
+ "type": "collection",
+ "ignore": [
+ "node_modules",
+ ".git"
+ ]
+} \ No newline at end of file
diff --git a/contrib/bruno/environments/warden.bru b/contrib/bruno/environments/warden.bru
new file mode 100644
index 0000000..d4a366c
--- /dev/null
+++ b/contrib/bruno/environments/warden.bru
@@ -0,0 +1,3 @@
+vars {
+ WARDEN_API_HOST: http://localhost:2210
+}
diff --git a/contrib/bruno/health-check.bru b/contrib/bruno/health-check.bru
new file mode 100644
index 0000000..0ef5178
--- /dev/null
+++ b/contrib/bruno/health-check.bru
@@ -0,0 +1,19 @@
+meta {
+ name: health-check
+ type: http
+ seq: 1
+}
+
+get {
+ url: {{WARDEN_API_HOST}}
+ body: none
+ auth: inherit
+}
+
+assert {
+ res.status: eq 200
+}
+
+settings {
+ encodeUrl: true
+}