Guest User

Untitled

a guest
Dec 29th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1. # Secret key
  2. # ~~~~~
  3. # The secret key is used to secure cryptographics functions.
  4. # If you deploy your application to several instances be sure to use the same key!
  5. application.secret="_DDEH^KLY6Gs@8_0j`yn^3kt4VEtpxSgUrcBhQ47NuETXMC5T3e08V/E0P;m8vJh"
  6.  
  7. # Router
  8. # ~~~~~
  9. # Define the Router object to use for this application.
  10. # This router will be looked up first when the application is starting up,
  11. # so make sure this is the entry point.
  12. # Furthermore, it's assumed your route file is named properly.
  13. # So for an application router like `my.application.Router`,
  14. # you may need to define a router file `conf/my.application.routes`.
  15.  
  16. # Default to Routes in the root package (and conf/routes)
  17. play.http.router=baile.Routes
  18.  
  19. play.modules.enabled += "com.sentrana.mmcore.BaileModule"
  20. akka {
  21. // loglevel = "DEBUG"
  22.  
  23. actor {
  24. provider = "akka.cluster.ClusterActorRefProvider"
  25. }
  26.  
  27.  
  28. //Minimal 1-node cluster configuration to make Flows sharding work
  29. remote.enabled-transports = ["akka.remote.netty.tcp"]
  30. // remote.netty.tcp.port=0 //default is 2552, 0 means random
  31. remote.netty.tcp.hostname="127.0.0.1"
  32. // remote.log-remote-lifecycle-events = on
  33. cluster {
  34. seed-nodes = [
  35. "akka.tcp://application@127.0.0.1:2552"
  36. ]
  37. }
  38.  
  39. //we can restore Flow state from Mongo, so in-memory storage is enough
  40. persistence.journal.plugin = "akka.persistence.journal.inmem"
  41. }
  42.  
  43.  
  44. //akka.persistence.snapshot-store.plugin = "akka.persistence.snapshot-store.local"
  45. play.http.filters = "com.sentrana.mmcore.Filters"
  46. play.http.errorHandler = "com.sentrana.mmcore.BaileHttpErrorHandler"
  47.  
  48. # Application context
  49. application.version = "v1.4"
  50. play.http.context=/api/insilico/${application.version}
  51.  
  52. # The application languages
  53. # ~~~~~
  54. application.langs="en"
  55.  
  56. #R Server Config. Values are for R script; Use C underscores, not camel-case
  57. rserv.config.host.address="10.46.33.187"
  58.  
  59. # Root logger:
  60. logger.root=ERROR
  61.  
  62. # Logger used by the framework:
  63. logger.play=INFO
  64.  
  65. # Logger provided to your application:
  66. logger.application=DEBUG
  67.  
  68. #Set Max file size ~ 2GB
  69. play.http.parser.maxDiskBuffer=2048MB
  70. parsers.anyContent.maxLength=2048MB
  71. baile.configurationManager.fileSizeLimit=2048
  72. baile.cache.datasetCountLifetime=120 m
  73.  
  74. # MongoDB-based metadata repository
  75. # ~~~~~
  76. # Provides the configuration for the MongoDB-based metadata repository.
  77. # This setting is only necessary if a database MDR is being used
  78. insilico.use-mongodb-mdr = "true"
  79.  
  80. # mail server
  81. play.mailer {
  82. host = "email-smtp.us-east-1.amazonaws.com"
  83. port = 587
  84. user = "AKIAJIFD34DK4HITOYJQ"
  85. password = "At1hZUToyP08Mc3JFk8mzDrO56dBsiS2onwZwUl7VoHD"
  86. }
  87.  
  88. EmailSenderName = "Sentrana"
  89. SupportEmail = "support@sentrana.com"
  90.  
  91. # Task planner specific settings
  92. tp.use-source-expression = "false"
  93. tp.callback-ip-address = "10.46.34.60"
  94.  
  95. # application specific
  96. application_id=12
  97. unrestricted_admin_id=6
  98. um.datafilter.schema="PCS_SCHEMA"
  99. um.password.times.not.allowed=3
  100. um.password.valid.days=30
  101. um.password.regular.expression="^\\S*(?=\\S{8,})(?=\\S*[a-z])(?=\\S*[A-Z])(?=\\S*[\\d])(?=\\S*[\\W])\\S*$"
  102. um.password.minimum.password.length=8
  103. um.password.maximum.password.length=16
  104.  
  105. # Data set preview limit
  106. data.preview.rowlimit=1000
  107. data.error.rowlimit=1000
  108. table.surrogate.key.suffix="sk"
  109.  
  110. # Data import related.
  111. staging.column.size=1024
  112.  
  113. # Samba server location
  114. samba {
  115. urls {
  116. train = ${samba.urls.location}"/train"
  117. predict = ${samba.urls.location}"/model/"
  118. status = ${samba.urls.location}"/status/"
  119. model = ${samba.urls.location}"/model/"
  120. }
  121. }
  122. samba.polling-interval="5"
  123. samba.polling-max-attempts="2300"
  124.  
  125. # MARKETMOVER-SPECIFIC SETTINGS
  126. # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  127. # File-based metadata repository
  128. # ~~~~~
  129. # Provides the configuration for the file-based metadata repository
  130. # for the MarketMover platform. The path for each category of file is
  131. # set here. This setting is only necessary if a database MDR is not being used.
  132. //mm.file-mdr {
  133. // schema = "/schemas.json"
  134. // entity = "/schemaEntities.json"
  135. // mapping = "/schemaMappings.json"
  136. //}
  137.  
  138.  
  139. # MarketMover platform schema
  140. # ~~~~~
  141. # Specifies the MarketMover abstraction layer schema to be used for the application
  142. // mm.schema = "ydixit"
  143.  
  144. # core service end point
  145. //core_service.dsl_query="http://10.46.8.121:9000/select"
  146.  
  147. #Proxy to um
  148. //services.url.um="http://10.46.33.73:9002/api"
  149.  
  150. aw.dataset.preview.rows="1000"
  151.  
  152. aw.storage.format.is.file=false
  153.  
  154. aw.spark.master="local[2]"
  155. aw.spark.appname="inSilico"
  156. spark.lib.path = "./lib/"
  157.  
  158. aw.parquet.path="/tmp"
  159.  
  160. #CORS
  161. play.filters {
  162. # CORS filter configuration
  163. cors {
  164.  
  165. # The path prefixes to filter.
  166. pathPrefixes = ["/"]
  167.  
  168. # The allowed origins. If null, all origins are allowed.
  169. allowedOrigins = null
  170.  
  171. # The allowed HTTP methods. If null, all methods are allowed
  172. allowedHttpMethods = ["GET", "POST", "OPTIONS", "PUT", "DELETE"]
  173.  
  174. }
  175. }
Add Comment
Please, Sign In to add comment