summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2019-01-14 13:34:11 +0100
committerLeif Johansson <leifj@sunet.se>2019-01-14 13:34:11 +0100
commit5fc8d3018647ea0e9dc6f9bc538fea41cddea054 (patch)
tree73d97bdd5d0b6e2869e496ad082a45314a14f858
parentea0884ad8a2ad6c900ccb0e558d17f17df86c3ed (diff)
-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