server.port=8480

server.public_url = http://localhost:8480
server.public_desc = API Base URL

spring.profiles.active=dev

maven.pom.path = /META-INF/maven/eu.dnetlib.dhp/dnet-orgs-database-application/effective-pom.xml

spring.main.banner-mode = off

logging.level.root      = INFO
#logging.level.org.springframework = DEBUG

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_organizations
spring.datasource.username=oa_organizations
spring.datasource.password=

# Hibernate ddl auto (create, create-drop, validate, update)
spring.jpa.hibernate.ddl-auto = validate
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
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

# the ICM private network 
openaire.api.valid.subnet = 10.19.65.0/24
openaire.api.https.proxy = 10.19.65.35

# spring.security.oauth2.client.registration.oidc.provider      = oidc
# spring.security.oauth2.client.registration.oidc.client-id     = 964b69cd-4658-4251-a153-edfadfaf15aa
# spring.security.oauth2.client.registration.oidc.client-secret = ALsqw6oBp7J0JOYmWExlT6PMN3R8-j413KOipsDZJVOPv1EfMwHfiDhvsa96gkiU8YmIpGmJgLDkDycvQp30QiE
# spring.security.oauth2.client.registration.oidc.scope         = openid,email
# #spring.security.oauth2.client.registration.oidc.redirect-uri  = https://beta.orgs.openaire.eu/login/oauth2/code/oidc

# spring.security.oauth2.client.provider.oidc.issuer-uri        = http://localhost:8080/openid-connect-server-webapp/
# spring.security.oauth2.client.provider.oidc.authorization-uri = http://localhost:8080/openid-connect-server-webapp/authorize
# spring.security.oauth2.client.provider.oidc.jwk-set-uri       = http://localhost:8080/openid-connect-server-webapp/jwk
# spring.security.oauth2.client.provider.oidc.token-uri         = http://localhost:8080/openid-connect-server-webapp/token
# spring.security.oauth2.client.provider.oidc.user-info-uri     = http://localhost:8080/openid-connect-server-webapp/userinfo

openorgs.support.pages = { "Ask a question": "https://www.openaire.eu/support/helpdesk?view=ticket&layout=open", "FAQ": "https://www.openaire.eu/faqs" }

openaire.override.logout.url = 

openaire.explore.organization.baseurl = https://explore.openaire.eu/search/organization?organizationId=%s
