examples/met.mdx

Summary

Maintainability
Test Coverage
- when update:
   - load:
      - "http://mds.edugain.org/"
      - "http://metadata.aai.switch.ch/metadata.switchaai.xml"
      - "http://eduid.at/md/aconet-registered.xml"
      - "https://md.aaf.edu.au/aaf-metadata.xml"
      - "https://ds.cafe.rnp.br/metadata/cafe-metadata.xml"
      - "http://www.carsi.edu.cn/carsimetadata/carsifed-metadata.xml"
      - "https://www.aai.dfn.de/fileadmin/metadata/DFN-AAI-metadata.xml"
      - "https://metadata.eduid.cz/entities/eduid"
      - "https://www.rediris.es/sir/shibsir1metadata.xml"
      - "https://haka.funet.fi/metadata/haka-metadata.xml"
      - "https://services-federation.renater.fr/metadata/renater-metadata.xml"
      - "https://md.aai.grnet.gr/aggregates/grnet-metadata.xml"
      - "http://metadata.eduid.hu/current/href.xml"
      - "https://edugate.heanet.ie/edugate-federation-metadata-signed.xml"
      - "http://www.garr.it/idem-metadata/idem-metadata-sha256.xml"
      - "https://metadata.gakunin.nii.ac.jp/gakunin-metadata.xml"
      - "https://laife.lanet.lv/metadata/laife-metadata.xml"
      - "https://mds.swamid.se/md/swamid-2.0.xml"
      - "http://md.incommon.org/InCommon/InCommon-metadata.xml"
      - "https://ds.aai.arnes.si/metadata/aai.arnes.si.sha256.xml"
      - "https://directory.tuakiri.ac.nz/metadata/tuakiri-metadata-signed.xml"
      - "https://caf-shib2ops.ca/CoreServices/caf_metadata_signed_sha256.xml"
      - "https://federation.belnet.be/federation-metadata.xml"
      - "http://metadata.ukfederation.org.uk/ukfederation-metadata.xml"
      - "https://engine.surfconext.nl/authentication/proxy/idps-metadata"
      - "http://metadata-rctsaai.fccn.pt/metadata/RCTSaai_metadata.xml"
      - "https://login.aaiedu.hr/edugain/module.php/aggregator/?id=aaieduhr_edugain"
      - "https://metadata.feide.no/feide-edugain-metadata.xml"
      - "http://parichay.inflibnet.ac.in/metadata/infed.xml"
      - "http://cofre.reuna.cl/metadata/cofre-md.xml"
      - "https://taeva.taat.edu.ee/module.php/janus/aggregator.php?id=prod-idp"
      - "http://www.fedurus.ru/metadata.fedurus.xml"
      - "https://discovery.litnet.lt/simplesaml/module.php/aggregator/?id=litnetexport&mimetype=text/plain"
      - "https://gridp.garr.it/metadata/gridp.xml"
      - "https://wayf.wayf.dk/saml2/idp/metadata.php"
      - "https://www.marwan.ma/eduidm-federation.xml"
      #- "http://colfire.co/metadata/colfire-metadata.xml"
      - "https://aai.pionier.net.pl/pionier.xml"
      - "https://iif.iucc.ac.il/sp/saml2/idp/metadata.php"
- when request:
    - select
    - pipe:
        - when accept application/samlmetadata+xml application/xml:
             - xslt:
                 stylesheet: tidy.xsl
             - pubinfo:
                 publisher: http://www.swamid.se/
             - first
             - finalize:
                 cacheDuration: PT5H
                 validUntil: P10D
             - sign:
                 key: default.key
                 cert: default.crt
             - emit application/samlmetadata+xml
             - break
        - when accept application/json:
             - xslt:
                 stylesheet: discojson.xsl
             - emit application/json:
             - break