diff options
author | Leif Johansson <leifj@sunet.se> | 2014-09-30 13:28:19 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-09-30 13:28:19 +0200 |
commit | 49e25d2d079efeb58cb3ba13264e0265a0ce342f (patch) | |
tree | 4189cd3e80e50adafb28fa72b14e73cd142b3a71 | |
parent | 44695cd77e18e36472c7da50b797b29113991e64 (diff) |
pyff pipeline
-rw-r--r-- | mdx.fd | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -0,0 +1,35 @@ +- when normalize: + - xslt: + stylesheet: tidy.xsl + - break +- when update: + - load: + - /opt/swamid-metadata/swamid-2.0 as swamid-registered-ops + - /opt/swamid-metadata/externals.xrd via normalize as swamid-externals + #- http://md.registry.swamid.se/role/sp.xml via normalize as swamid-registered-peer + - fork: + - select as /md/swamid-2.0.xml + - swamid-registered-ops + - swamid-externals + - swamid-registered-peer + - break +- when request: + - select + - pipe: + - when accept application/xml: + - xslt: + stylesheet: tidy.xsl + - first + - finalize: + cacheDuration: PT5H + validUntil: P10D + - sign: + key: default.key + cert: default.crt + - emit application/xml + - break + - when accept application/json: + - xslt: + stylesheet: discojson.xsl + - emit application/json: + - break |