55 lines
2.1 KiB
Properties
55 lines
2.1 KiB
Properties
spring.profiles.active = dev,openaire
|
|
|
|
server.public_url =
|
|
server.public_desc = API Base URL
|
|
|
|
#logging.level.root=DEBUG
|
|
|
|
maven.pom.path = /META-INF/maven/eu.dnetlib.dhp/dhp-broker-public-application/effective-pom.xml
|
|
|
|
management.endpoints.web.exposure.include = prometheus,health
|
|
management.endpoints.web.base-path = /
|
|
management.endpoints.web.path-mapping.prometheus = metrics
|
|
management.endpoints.web.path-mapping.health = health
|
|
|
|
spring.datasource.url=jdbc:postgresql://localhost:5432/oa_broker
|
|
spring.datasource.username=oa_broker
|
|
spring.datasource.password=
|
|
|
|
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
|
|
|
|
# Hibernate ddl auto (create, create-drop, validate, update)
|
|
spring.jpa.hibernate.ddl-auto = validate
|
|
spring.jpa.properties.hibernate.hbm2dll.extra_physical_table_types = MATERIALIZED VIEW
|
|
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation = true
|
|
spring.jpa.open-in-view = true
|
|
spring.jpa.properties.hibernate.show_sql = false
|
|
spring.jpa.properties.hibernate.use_sql_comments = false
|
|
spring.jpa.properties.hibernate.format_sql = false
|
|
|
|
lbs.database.url = ${spring.datasource.url}
|
|
|
|
lbs.hadoop.opendoar.events.path = /user/michele.artini/broker_events/eventsByOpendoarId
|
|
|
|
# for development server
|
|
#lbs.elastic.clusterNodes = broker1-dev-dnet.d4science.org:9300
|
|
#lbs.elastic.homepage = http://broker1-dev-dnet.d4science.org:9200/_plugin/hq
|
|
|
|
# for localhost
|
|
lbs.elastic.clusterNodes = 127.0.0.1:9200
|
|
lbs.elastic.homepage = http://
|
|
lbs.elastic.socketTimeout = 30000
|
|
lbs.elastic.connectionTimeout = 30000
|
|
lbs.elastic.eventsIndexName = oa_events_beta
|
|
lbs.elastic.notificationsIndexName = oa_notifications_beta
|
|
|
|
lbs.queues.maxReturnedValues = 1000
|
|
|
|
lbs.task.deleteOldEvents.cron = 0 0 4 1/1 * ?
|
|
lbs.task.deleteOldNotifications.cron = 0 0 5 1/1 * ?
|
|
lbs.task.subscriptionEventsMatcher.cron = 0 0 6 1/1 * ?
|
|
|
|
|
|
|
|
|