summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metadata/fidus-test.fd39
1 files changed, 39 insertions, 0 deletions
diff --git a/metadata/fidus-test.fd b/metadata/fidus-test.fd
new file mode 100644
index 0000000..b1d0f89
--- /dev/null
+++ b/metadata/fidus-test.fd
@@ -0,0 +1,39 @@
+- when test:
+ - reginfo:
+ authority: https://md.fidus.skolverket.se/test/
+ policy:
+ en: https://fidus.skolverket.se/
+ - break
+- when clean:
+ - xslt:
+ stylesheet: tidy.xsl
+ - check_xml_namespaces
+ - break
+- when update:
+ - load:
+ - /opt/metadata/test-idp cleanup clean via test
+ - /opt/metadata/test-sp cleanup clean via test
+ - break
+- when request:
+ - select
+ - pipe:
+ - when accept application/xml:
+ - xslt:
+ stylesheet: tidy.xsl
+ - pubinfo:
+ publisher: https://md.fidus.skolverket.se/test/
+ - when request mdq:
+ - first
+ - finalize:
+ baseURL: https://md.fidus.skolverket.se/test/
+ cacheDuration: PT5H
+ validUntil: P10D
+ - sign:
+ key: /etc/credentials/metadata.key
+ cert: /etc/credentials/metadata.crt
+ - emit application/xml
+ - break
+ - when accept application/json:
+ - discojson
+ - emit application/json:
+ - break