summaryrefslogtreecommitdiff
path: root/metadata/fidus-prod.fd
blob: 243b32cc532f66924dea31e66ebc8bc8d0033421 (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
50
51
52
- when clean:
    - xslt:
       stylesheet: tidy.xsl
    - check_xml_namespaces
    - break
- when update:
    - load:
        - /opt/metadata/fidus-interfederations-prod 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
           - https://skolverket.eduid.se/dnp/sp/
        - break
    - fork:
        - select as discovery
        - 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/
             - first
             - finalize:
                 baseURL: https://md.fidus.skolverket.se/
                 cacheDuration: PT5H
                 validUntil: P10D
             - sign:
                 key: http://pyff_luna_1:8000/fidus/fidus
                 cert: /etc/credentials/fidus.crt
             - emit application/xml
             - break
        - when accept application/json:
             - discojson
             - emit application/json:
             - break