# Logging settings
logging:

  loggers:
    org.apache.shiro: INFO

  # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
  level: INFO

# HTTP-specific options.
server:
  applicationConnectors:
    - type: http
      port: 8081
      idleTimeout: 10 seconds

  adminConnectors:
    - type: http
      port: 8082

shiro:
  iniConfigs: ["classpath:shiro_allow_all.ini"]

dataSourceFactory:
  driverClass: com.mysql.jdbc.Driver
  user: MYSQL_USER
  password: MYSQl_PASSWORD
  url: jdbc:mysql://127.0.0.1:3306/MYSQL_DB_NAME

flywayFactory:
  locations: ["classpath:db.migration.common", "classpath:db.migration.mysql"]

# The URL to the Presto coordinator.
prestoCoordinator: http://presto-coordinator-url.com

# Logging settings
logging:

  loggers:
    org.apache.shiro: INFO

  # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
  level: INFO

# HTTP-specific options.
server:
  # Must disable gzip as Jersey/gzip will buffer SSE events rather than send them to clients immediately
  # Future: Integrate changes via enabling 'syncFlush' fix
  # from https://github.com/dropwizard/dropwizard/issues/1673
  gzip:
    enabled: false

  applicationConnectors:
    - type: http
      port: 8081
      idleTimeout: 10 seconds

  adminConnectors:
    - type: http
      port: 8082

shiro:
  iniConfigs: ["classpath:shiro_allow_all.ini"]

dataSourceFactory:
  driverClass: com.mysql.jdbc.Driver
  user: MYSQL_USER
  password: MYSQl_PASSWORD
  url: jdbc:mysql://127.0.0.1:3306/MYSQL_DB_NAME

flywayFactory:
  locations: ["classpath:db.migration.common", "classpath:db.migration.mysql"]

# The URL to the Presto coordinator.
prestoCoordinator: http://presto-coordinator-url.com

Disable server side gzip encoding. SSE events get inappropriately buffered.
Disable server side gzip encoding.  SSE events get inappropriately buffered.

Upon later dropwizard upgrade we should consider a more fine tuned
approach using 'syncFlush=true' fix from dropwizard/dropwizard#1673.
