Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #logging:
- # config: /opt/tomcat/config-overrides/subscriptions-logback.xml
- endpoints:
- jmx:
- domain: subscriptions
- spring:
- jmx:
- default-domain: subscriptions
- aop.proxy-target-class: true
- datasource:
- url: jdbc:p6spy:postgresql://mdvmsrv1011:5411/subscriptions
- username: dryad_subscriptions
- password: upstream
- driver-class-name: com.p6spy.engine.spy.P6SpyDriver
- #max-active: 5
- #max-idle: 1
- #min-idle: 1
- #initial-size: 1
- max-wait: 10000
- test-while-idle: true
- validation-query: SELECT 1
- validation-query-timeout: 1
- initSQL: SELECT 1
- jpa:
- database-platform: org.hibernate.dialect.PostgreSQLDialect
- show-sql: false
- properties:
- hibernate.cache.use_second_level_cache: true
- hibernate.cache.region.factory_class: org.hibernate.cache.ehcache.EhCacheRegionFactory
- hibernate.cache.use_query_cache: true
- net.sf.ehcache.configurationResourceName: /subscriptions-ehcache.xml
- hibernate.generate_statistics: true
- rabbitmq:
- addresses: rabbit1
- username: guest
- password: guest
- jackson:
- serialization:
- FAIL_ON_EMPTY_BEANS: false
- WRITE_DATES_AS_TIMESTAMPS: false
- deserialization:
- FAIL_ON_UNKNOWN_PROPERTIES: false
- ADJUST_DATES_TO_CONTEXT_TIME_ZONE: false
- flyway:
- enabled: true
- table: DB_MIGRATION_HISTORY
- sqlMigrationSuffix: .Final.sql
- schemas: subscriptions
- outOfOrder: true
- application:
- rabbitmq:
- rabbit-defs-resource-name: /subscriptions-rabbit-defs.json
- ha-nodes: #rabbit@address1,rabbit@address2
- binding: binding.subscriptions
- queues:
- -
- queue-name: queue.subscriptions.response.node0
- concurrent-consumers: 50
- prefetch-count: 30
- -
- queue-name: queue.subscriptions
- concurrent-consumers: 50
- prefetch-count: 30
- database-schema: subscriptions
- dryad-installation-code: DRD01@subscriptions
- time-zone: Europe/Athens
- retries:
- initialDelayMillis: 500
- exponentialBackOffMultiplier: 2
- maxRetries: 3
- consumers:
- maxAttempts: 4
- health-checks:
- db-query: select * from subscriptions.subscription limit 1;
- node:
- id: node0
- base-url: http://localhost:8000
- metrics:
- web.enabled: true
- endpoints.enabled: true
- graphite:
- enabled: false
- cron: "*/6 * * * * *"
- host: localhost
- port: 2003
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement