summaryrefslogtreecommitdiff
path: root/metadata/fidus-test.fd
blob: fda4a339e51defc288e32505d2ec2760f1ab763b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
- when clean:
    - xslt:
       stylesheet: tidy.xsl
    - check_xml_namespaces
    - break
- when update:
    - load:
        - /opt/metadata/fidus-interfederations-test cleanup clean
        - /opt/metadata/test-idp cleanup clean
        - /opt/metadata/test-sp cleanup clean
        - /opt/metadata/production-idp cleanup clean
        - /opt/metadata/production-sp cleanup clean
    - select
    - fork:
        - select as downstream:
           - https://fidustest.skolverket.se/shibboleth
           - https://humhub-idp-proxy.sunet.se/sp
           - https://idpproxy.dev.eduid.se/sp
           - https://vfu-test.su.se/Shibboleth.sso
           - https://vfusyd-test.su.se/Shibboleth.sso
           - https://betyg.test.uhr.se/beda-inrapportering
           - https://betyg.uhr.se/beda-inrapportering
        - break
    - fork:
        - select as ds
        - break
    - break
- when request:
    - select
    - pipe:
        - when accept application/xml:
             - xslt:
                 stylesheet: tidy.xsl
             - pubinfo:
                 publisher: https://md.fidus.skolverket.se/test/
             - first
             - finalize:
                 baseURL: https://md.fidus.skolverket.se/test/
                 cacheDuration: PT5H
                 validUntil: P10D
             - sign:
                 key: /etc/credentials/pyff-signing-key.pem
                 cert: /etc/credentials/metadata.crt
             - emit application/xml
             - break
        - when accept application/json:
             - discojson
             - emit application/json:
             - break