All Downloads are FREE. Search and download functionalities are using the official Maven repository.

proteus-swagger.0.4.5.source-code.application.conf Maven / Gradle / Ivy

The newest version!

application {
 
  env = dev

  version = "1.0"

  name="proteus" 

  path = "/v1"

  host = "localhost"
 
  ports {
    http = 0
   # https = 8443
  }

  charset = UTF-8
 
  fallbackHandler = "io.sinistral.proteus.server.handlers.ServerFallbackHandler"

  defaultResponseListener = "io.sinistral.proteus.server.handlers.ServerDefaultResponseListener"

  tmpdir = ${java.io.tmpdir}/${application.name}

  # path to default favicon file
  favicon = "/io/sinistral/proteus/favicon.ico"
  
}

api.version="v1"

globalHeaders 
{
#  Access-Control-Allow-Origin: "*"
#  Access-Control-Allow-Methods: "*"
#  Access-Control-Allow-Headers: "*"
  Server = ${application.name}
}

assets {
  # the base path assets will be server from
  path = "/public"
  # the directory to load the assets from
  dir = "./assets"
  cache {
    # cache timeout for the assets
    time = 500
  }
 

}





undertow
{
  server {
    enableHttp2 = false
    alwaysSetDate = true
    alwaysSetKeepAlive = false
    recordRequestStartTime = false 
    maxEntitySize = 100M
    bufferPipelinedData = false
  }

  socket {
    backlog = 10000
  }

 
  ssl { 
      enabled=false
      keystorePath="development.jks"
      truststorePath="development.ts"
      keystorePassword="password"
      truststorePassword="password" 
  }

  enableHttp2=false
  # x AvailableProcessors
  ioThreadsMultiplier = 2
  workerThreadMultiplier = 8
  bufferSize = 16K
  directBuffers = true
}
 
 




© 2015 - 2024 Weber Informatics LLC | Privacy Policy