diff --git a/modules/test.xq b/modules/test.xq new file mode 100644 index 00000000..17e01474 --- /dev/null +++ b/modules/test.xq @@ -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() +}