-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathconfig.yml
136 lines (133 loc) · 3.49 KB
/
config.yml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
server:
port: {{ gn_ogc_api_records.port }}
forward-headers-strategy: FRAMEWORK
instance-id: ${spring.application.name}:${spring.application.instance_id:${spring.cloud.client.ip-address}}:${server.port}
servlet:
encoding:
charset: UTF-8
force-response: true
management:
health.ldap.enabled: false
eureka:
client:
enabled: false
registerWithEureka: false
fetch-registry: false
spring:
profiles: standalone
rabbitmq.host: localhost
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://database:5432/georchestra?currentSchema=geonetwork
username: georchestra
password: georchestra
hikari:
pool-name: ogc-api-records
minimum-idle: 1
maximum-pool-size: 10
jpa:
database-platform: org.hibernate.dialect.PostgreSQLDialect
jpa.generate-ddl: false
jpa.hibernate.ddl-auto: none
cloud:
config:
discovery:
enabled: false
enabled: false
gn:
baseurl: https://georchestra-127-0-0-1.nip.io/geonetwork
legacy.url: https://georchestra-127-0-0-1.nip.io/geonetwork
language:
default: eng
linkToLegacyGN4: true
site:
name: GeoNetwork
organization: opensource
index:
url: http://elasticsearch:9200
records: gn-records
username:
password:
search:
queryFilter: '+isTemplate:n AND -indexingError:true' # only show relevant records
trackTotalHits: true
formats:
- name: html
mimeType: text/html
responseProcessor: JsonUserAndSelectionAwareResponseProcessorImpl
operations:
- root
- collections
- collection
- items
- item
- name: xml
mimeType: application/xml
responseProcessor: XmlResponseProcessorImpl
operations:
- root
- collections
- collection
- items
- item
- name: json
mimeType: application/json
responseProcessor: JsonUserAndSelectionAwareResponseProcessorImpl
operations:
- root
- collections
- collection
- items
- item
- name : gn
mimeType : application/gn+xml
responseProcessor: XsltResponseProcessorImpl
- name: opensearch
mimeType: application/opensearchdescription+xml
operations:
- collection
- name : schema.org
mimeType : application/ld+json
responseProcessor: JsonLdResponseProcessorImpl
operations:
- items
- item
- name: dcat
mimeType: application/rdf+xml
responseProcessor: DcatCatalogResponseProcessorImpl
operations:
- items
- item
- name : dcat_turtle
mimeType : text/turtle
responseProcessor: JsonUserAndSelectionAwareResponseProcessorImpl
operations :
- item
- name : rss
mimeType : application/rss+xml
responseProcessor: RssResponseProcessorImpl
operations:
- items
- name : geojson
mimeType : application/geo+json
responseProcessor: GeoJsonResponseProcessorImpl
operations:
- items
- item
defaultMimeType: text/html
logging:
level:
# geonetwork roots
org.fao.geonet: INFO
org.fao.geonet.ogcapi: INFO
org.fao.geonet.searching: INFO
springfox:
documentation:
swaggerUi:
baseUrl: /openapi
openApi:
v3:
path: /openapi/v3/api-docs
swagger:
v2 :
path: /openapi/v2/api-docs