forked from CSCfi/rems
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-config.edn
24 lines (24 loc) · 949 Bytes
/
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
{: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-extra-attributes [{:attribute "nickname" :name {:en "Nickname" :fi "Lempinimi"}}
{:attribute "picture"}]
:languages [:en :fi :sv]
:attachment-max-size 10000
:application-expiration {:application.state/draft "P90D"}
:enable-pdf-api true
: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-ega true
:enable-doi true}