epasmed/src/test/resources/config/application.yml

129 lines
3.8 KiB
YAML

# ===================================================================
# Spring Boot configuration.
#
# This configuration is used for unit/integration tests.
#
# More information on profiles: https://www.jhipster.tech/profiles/
# More information on configuration properties: https://www.jhipster.tech/common-application-properties/
# ===================================================================
# ===================================================================
# Standard Spring Boot properties.
# Full reference is available at:
# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
# ===================================================================
logging:
level:
ROOT: DEBUG
io.github.jhipster: DEBUG
it.cnr.isti.epasmed: DEBUG
spring:
profiles:
# Uncomment the following line to enable tests against production database type rather than H2, using Testcontainers
#active: testcontainer
application:
name: epasmed
jackson:
serialization:
write-durations-as-timestamps: false
mail:
host: localhost
main:
allow-bean-definition-overriding: true
messages:
basename: i18n/messages
task:
execution:
thread-name-prefix: epasmed-task-
pool:
core-size: 1
max-size: 50
queue-capacity: 10000
scheduling:
thread-name-prefix: epasmed-scheduling-
pool:
size: 1
thymeleaf:
mode: HTML
server:
port: 10344
address: localhost
# ===================================================================
# JHipster specific properties
#
# Full reference is available at: https://www.jhipster.tech/common-application-properties/
# ===================================================================
jhipster:
clientApp:
name: 'epasmedApp'
logging:
# To test json console appender
use-json-format: false
logstash:
enabled: false
host: localhost
port: 5000
queue-size: 512
mail:
from: test@localhost
base-url: http://127.0.0.1:8080
security:
remember-me:
# security key (this key should be unique for your application, and kept secret)
key:
metrics:
logs: # Reports metrics in the logs
enabled: true
report-frequency: 60 # in seconds
# ===================================================================
# Application specific properties
# Add your own application properties here, see the ApplicationProperties class
# to have type-safe configuration, like in the JHipsterProperties above
#
# More documentation is available at:
# https://www.jhipster.tech/common-application-properties/
# ===================================================================
application:
datasource-epasmed:
datasource:
#type: com.zaxxer.hikari.HikariDataSource
url: jdbc:h2:file:./target/h2db/db/epasmed;DB_CLOSE_DELAY=-1
username: epasmed
password:
hikari:
poolName: epasmedPool
auto-commit: false
maximum-pool-size: 10
liquibase:
# Remove 'faker' if you do not want the sample data to be loaded automatically
contexts: dev, faker
change-log: classpath:config/liquibase/epasmed/master.xml
enabled: true
datasource-sistemainformativo:
datasource:
url: jdbc:postgresql://sistemainformativo-dev.isti.cnr.it:5432/sistemainformativo
driver-class-name: org.postgresql.Driver
username: epasmed
password:
hikari:
poolName: sistemainformativoPool
auto-commit: false
maximum-pool-size: 10
datasource-epas-rest:
#rest-url: https://epas-demo.devel.iit.cnr.it/rest
rest-url: https://epas.isti.cnr.it/rest
rest-username1: isti_registry_manager
rest-password1:
rest-username2: isti_person_day_reader
rest-password2:
rest-username3: userISTI
rest-password3: