-
Notifications
You must be signed in to change notification settings - Fork 23
/
test-config.edn
73 lines (73 loc) · 3.12 KB
/
test-config.edn
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{:dev true
:port 3001
:nrepl-port 7001
:public-url "http://localhost:3001/"
:database-url "postgresql://localhost/rems_test?user=rems_test"
:database-lock-timeout "4s"
:database-idle-in-transaction-session-timeout "8s"
:test-database-url "postgresql://localhost/rems_test?user=rems_test"
:search-index-path "target/search-index-test"
:authentication :fake
:oidc-userid-attributes [{:attribute "sub"}]
:oidc-extra-attributes [{:attribute "nickname" :name {:en "Nickname" :fi "Lempinimi"}}
{:attribute "picture"}
{:attribute "organizations"}]
:languages [:en :fi :sv]
:extra-pages [{:id "about"
:translations {:fi {:title "Info"
:filename "about-fi.md"}
:en {:title "About"
:filename "about-en.md"}
:sv {:title "Info"
:filename "about-sv.md"}}}
{:id "footer"
:filename "footer-en.md"
:translations {:fi {:title "Footer"
:filename "footer-fi.md"}
:en {:title "Footer"}
:sv {:title "Footer"
:filename "footer-sv.md"}}
:show-menu false
:show-footer true}
{:id "link"
:translations {:fi {:title "Link"
:filename "link-fi.md"}
:en {:title "Link"
:filename "link-en.md"}
:sv {:title "Link"
:filename "link-sv.md"}}
:show-menu false
:show-footer false}
{:id "mixed"
:heading false
:translations {:fi {:title "Mixed"
:filename "mixed-fi.md"}
:en {:url "https://example.org/en/mixed"}} ; missing sv
:show-menu false
:show-footer false}
{:id "unlocalized"
:url "https://example.org/unlocalized"
:show-menu false
:show-footer false}
{:id "url"
:roles [:logged-in]
:url "https://example.org/"
:translations {:fi {:title "Esimerkki"
:url "https://example.org/fi"}
:en {:title "Example"}
:sv {:title "Exempel"}}
:show-menu true
:show-footer true}]
:extra-pages-path "./test-data/extra-pages"
:attachment-max-size 10000
:enable-permissions-api true
;; example keys from https://tools.ietf.org/html/rfc7517#appendix-A
:ga4gh-visa-private-key "test-data/example-private-key.jwk"
:ga4gh-visa-public-key "test-data/example-public-key.jwk"
:catalogue-is-public false
:accessibility-report true
:enable-doi true
:enable-duo true
:enable-catalogue-tree true
:enable-voting true
:enable-processing-states true}