Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Secret key
- # ~~~~~
- # The secret key is used to secure cryptographics functions.
- # If you deploy your application to several instances be sure to use the same key!
- application.secret="_DDEH^KLY6Gs@8_0j`yn^3kt4VEtpxSgUrcBhQ47NuETXMC5T3e08V/E0P;m8vJh"
- # Router
- # ~~~~~
- # Define the Router object to use for this application.
- # This router will be looked up first when the application is starting up,
- # so make sure this is the entry point.
- # Furthermore, it's assumed your route file is named properly.
- # So for an application router like `my.application.Router`,
- # you may need to define a router file `conf/my.application.routes`.
- # Default to Routes in the root package (and conf/routes)
- play.http.router=baile.Routes
- play.modules.enabled += "com.sentrana.mmcore.BaileModule"
- akka {
- // loglevel = "DEBUG"
- actor {
- provider = "akka.cluster.ClusterActorRefProvider"
- }
- //Minimal 1-node cluster configuration to make Flows sharding work
- remote.enabled-transports = ["akka.remote.netty.tcp"]
- // remote.netty.tcp.port=0 //default is 2552, 0 means random
- remote.netty.tcp.hostname="127.0.0.1"
- // remote.log-remote-lifecycle-events = on
- cluster {
- seed-nodes = [
- "akka.tcp://application@127.0.0.1:2552"
- ]
- }
- //we can restore Flow state from Mongo, so in-memory storage is enough
- persistence.journal.plugin = "akka.persistence.journal.inmem"
- }
- //akka.persistence.snapshot-store.plugin = "akka.persistence.snapshot-store.local"
- play.http.filters = "com.sentrana.mmcore.Filters"
- play.http.errorHandler = "com.sentrana.mmcore.BaileHttpErrorHandler"
- # Application context
- application.version = "v1.4"
- play.http.context=/api/insilico/${application.version}
- # The application languages
- # ~~~~~
- application.langs="en"
- #R Server Config. Values are for R script; Use C underscores, not camel-case
- rserv.config.host.address="10.46.33.187"
- # Root logger:
- logger.root=ERROR
- # Logger used by the framework:
- logger.play=INFO
- # Logger provided to your application:
- logger.application=DEBUG
- #Set Max file size ~ 2GB
- play.http.parser.maxDiskBuffer=2048MB
- parsers.anyContent.maxLength=2048MB
- baile.configurationManager.fileSizeLimit=2048
- baile.cache.datasetCountLifetime=120 m
- # MongoDB-based metadata repository
- # ~~~~~
- # Provides the configuration for the MongoDB-based metadata repository.
- # This setting is only necessary if a database MDR is being used
- insilico.use-mongodb-mdr = "true"
- # mail server
- play.mailer {
- host = "email-smtp.us-east-1.amazonaws.com"
- port = 587
- user = "AKIAJIFD34DK4HITOYJQ"
- password = "At1hZUToyP08Mc3JFk8mzDrO56dBsiS2onwZwUl7VoHD"
- }
- EmailSenderName = "Sentrana"
- SupportEmail = "support@sentrana.com"
- # Task planner specific settings
- tp.use-source-expression = "false"
- tp.callback-ip-address = "10.46.34.60"
- # application specific
- application_id=12
- unrestricted_admin_id=6
- um.datafilter.schema="PCS_SCHEMA"
- um.password.times.not.allowed=3
- um.password.valid.days=30
- um.password.regular.expression="^\\S*(?=\\S{8,})(?=\\S*[a-z])(?=\\S*[A-Z])(?=\\S*[\\d])(?=\\S*[\\W])\\S*$"
- um.password.minimum.password.length=8
- um.password.maximum.password.length=16
- # Data set preview limit
- data.preview.rowlimit=1000
- data.error.rowlimit=1000
- table.surrogate.key.suffix="sk"
- # Data import related.
- staging.column.size=1024
- # Samba server location
- samba {
- urls {
- train = ${samba.urls.location}"/train"
- predict = ${samba.urls.location}"/model/"
- status = ${samba.urls.location}"/status/"
- model = ${samba.urls.location}"/model/"
- }
- }
- samba.polling-interval="5"
- samba.polling-max-attempts="2300"
- # MARKETMOVER-SPECIFIC SETTINGS
- # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- # File-based metadata repository
- # ~~~~~
- # Provides the configuration for the file-based metadata repository
- # for the MarketMover platform. The path for each category of file is
- # set here. This setting is only necessary if a database MDR is not being used.
- //mm.file-mdr {
- // schema = "/schemas.json"
- // entity = "/schemaEntities.json"
- // mapping = "/schemaMappings.json"
- //}
- # MarketMover platform schema
- # ~~~~~
- # Specifies the MarketMover abstraction layer schema to be used for the application
- // mm.schema = "ydixit"
- # core service end point
- //core_service.dsl_query="http://10.46.8.121:9000/select"
- #Proxy to um
- //services.url.um="http://10.46.33.73:9002/api"
- aw.dataset.preview.rows="1000"
- aw.storage.format.is.file=false
- aw.spark.master="local[2]"
- aw.spark.appname="inSilico"
- spark.lib.path = "./lib/"
- aw.parquet.path="/tmp"
- #CORS
- play.filters {
- # CORS filter configuration
- cors {
- # The path prefixes to filter.
- pathPrefixes = ["/"]
- # The allowed origins. If null, all origins are allowed.
- allowedOrigins = null
- # The allowed HTTP methods. If null, all methods are allowed
- allowedHttpMethods = ["GET", "POST", "OPTIONS", "PUT", "DELETE"]
- }
- }
Add Comment
Please, Sign In to add comment