application.yml 2.97 KB
Newer Older
1
2
3
4
5
6
7
8
9
spring:
  config:
    import: 'optional:configserver:'
    name: faidare

  cloud:
    config:
      uri: ${SPRING_CONFIG_URI:http://localhost:8888}

10
11
data:
  elasticsearch:
12
13
    host: 127.0.0.1
    port: 9200
14
15
16
17
18
19
20
21
22
23

management:
  endpoint:
    health:
      show-details: 'always'
  endpoints:
    web:
      exposure:
        include: '*'

24
25
26
27
28
29
30
logging:
  level:
    root: ERROR
    org.springframework:
      boot.web.embedded.tomcat.TomcatWebServer: INFO
      web.client.RestTemplate: DEBUG
    fr.inra: DEBUG
31

32
faidare:
33
34
  elasticsearch-indexing-template:
    faidare_{documentType}_dev
35

36
  elasticsearch-xref-index-name:
Maud Marty's avatar
Maud Marty committed
37
    faidare_xref_dev
38

39
  cropOntology-repository-url:
40
    https://urgi.versailles.inrae.fr/files/ephesis/trait-ontology/data_16.3/ontology-repository.json
41

42
  # Provides access to user group WS used to query private data ES aliases
43
44
  security-user-group-ws-url:
  security-user-group-ws-token:
45

46
47
  search-url: https://urgi.versailles.inrae.fr/faidare/search

48
  # TODO: Update URIs to match URL (update in generated JSON document too)
49
  # Warning! URIs should match with FAIDARE datadiscovery 'schema:includedInDataCatalog' field value
50
51
  data-sources:
  # URGI GnpIS
52
53
  - uri: https://urgi.versailles.inrae.fr/gnpis
    url: https://urgi.versailles.inrae.fr/gnpis
54
    name: URGI GnpIS
55
    image: https://urgi.versailles.inrae.fr/files/faidare/logo/GnpIS.png
56
  # WUR EU-SOL BreeDB
57
58
  - uri: https://www.eu-sol.wur.nl
    url: https://www.eu-sol.wur.nl
59
    name: WUR EU-SOL BreeDB
60
    image: https://urgi.versailles.inrae.fr/files/faidare/logo/EU-SOL.png
61
  # VIB PIPPA
62
  - uri: http://pippa.psb.ugent.be
63
64
    url: http://pippa.psb.ugent.be
    name: VIB PIPPA
65
    image: https://urgi.versailles.inrae.fr/files/faidare/logo/VIB.png
66
  # IBET BioData
67
  - uri: https://biodata.pt
68
69
    url: https://biodata.pt
    name: IBET BioData
70
    image: https://urgi.versailles.inrae.fr/files/faidare/logo/biodata.png
71
  # NIB PISA
72
  - uri: http://www.pisa.nib.si
73
74
    url: http://www.pisa.nib.si
    name: NIB PISA
75
    image: https://urgi.versailles.inrae.fr/files/faidare/logo/NIB.png
76
  # CIRAD TropGENE
77
  - uri: http://tropgenedb.cirad.fr
78
79
    url: http://tropgenedb.cirad.fr
    name: CIRAD TropGENE
80
    image: https://urgi.versailles.inrae.fr/files/faidare/logo/CIRAD.jpg
81
  # EVA/ENA
82
83
84
  - uri: https://www.ebi.ac.uk/eva
    url: https://www.ebi.ac.uk/eva
    name: EBI European Nucleotide Archive
85
    image: https://urgi.versailles.inrae.fr/files/faidare/logo/EVA.png
86
87
88
89
  # TERRA-REF
  - uri: https://terraref.org
    url: https://terraref.org
    name: TERRA-REF
90
    image: https://urgi.versailles.inrae.fr/files/faidare/logo/TERRAREF.png
91

92
server:
93
94
95
96
97
98
99
  compression:
    enabled: true
    mime-types:
      - application/json
      - application/javascript
      - text/html
      - text/css
100
      - text/markdown
Jean-Baptiste Nizet's avatar
Jean-Baptiste Nizet committed
101
      - text/plain
102
  port: 8380
103
  servlet:
104
    context-path: /faidare-dev
105

106
107
---
spring:
108
109
110
111
112
113
114
115
116
  config:
    activate:
      on-profile:
        dev
  web:
    resources:
      static-locations:
        - classpath:/static/
        - file:./web/build/dist/