Skip to content

Commit

Permalink
feat: add test endpoint for monitoring services
Browse files Browse the repository at this point in the history
  • Loading branch information
joewiz committed Jun 28, 2024
1 parent 4bafaf2 commit 795293d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions modules/test.xq
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
xquery version "3.1";

(:
A basic health check endpoint for monitoring services
:)

declare namespace output="http://www.w3.org/2010/xslt-xquery-serialization";

declare option output:method "json";
declare option output:indent "yes";

map {
"status": "ok",
"time": current-dateTime()
}

0 comments on commit 795293d

Please sign in to comment.