Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.90 KB | None | 0 0
  1.  
  2. api {
  3. application {
  4. domain = "wf"
  5. port = 8081
  6. address = "0.0.0.0"
  7. ssl = false
  8. validDomains = [
  9. "wf",
  10. "workflow",
  11. "localhost"
  12. ]
  13. }
  14.  
  15. rest {
  16. controllingPort = 8082
  17. eventsPort = 8123
  18. address = "0.0.0.0"
  19. ssl = false
  20. }
  21. }
  22.  
  23. ssh {
  24. port = 50001
  25. address = "0.0.0.0"
  26. username = "admin"
  27. password = "admin"
  28. }
  29.  
  30. database {
  31.  
  32. runtime {
  33. //change driver to sniffy:jdbc:p6spy:postgresql to turn on sql query logging with in-place parameter values (p6spy)
  34. //and sql query count assertions (sniffy)
  35. driver = "jdbc:postgresql"
  36. // driver = "sniffy:jdbc:p6spy:postgresql"
  37. //!!!!!!!!!!!!!!!!!!!CAREFUL - teiid.internalDb possibly contains the same db connection, if you change it here, you have to change it there also!!!!!!!!!!!!!!!!!!!!
  38. database = "workflow"
  39. hostname = "localhost"
  40. username = "postgres"
  41. password = "postgres"
  42. dialect = "PostgreSQL9Dialect"
  43. }
  44. ref {
  45. driver = "jdbc:postgresql"
  46. database = "workflow"
  47. hostname = "localhost"
  48. username = "postgres"
  49. password = "postgres"
  50. dialect = "PostgreSQL9Dialect"
  51. }
  52. test {
  53. driver = "sniffy:jdbc:p6spy:postgresql"
  54. database = "workflowtest"
  55. hostname = "localhost"
  56. username = "postgres"
  57. password = "postgres"
  58. dialect = "PostgreSQL9Dialect"
  59. }
  60. showSql = true
  61. formatSql = true
  62. }
  63.  
  64.  
  65. teiid {
  66.  
  67. runEmbeddedServer = false
  68.  
  69. //Only for runEmbeddedServer = false..:
  70. adminUsername = "admin"
  71. adminPassword = "heslo"
  72.  
  73. clientUsername = "teiid"
  74. clientPassword = "teiid"
  75.  
  76. // This is postgresql connection, because teiid can run on different server so different hostname etc.
  77. internalDb {
  78. port = 5432
  79. hostname = "localhost"
  80. username = "postgres"
  81. password = "postgres"
  82. database = "workflow"
  83. }
  84.  
  85. //Primary teiid server.
  86. primaryServer {
  87. address = "localhost"
  88. port = 31000
  89. adminPort = 9990
  90. }
  91.  
  92. //TODO teiid SSL config.
  93.  
  94. //Fail-over server
  95. alternativeServers [
  96.  
  97. ]
  98. }
  99.  
  100. mail {
  101. imap {
  102. host = "mail.mathesio.com"
  103. port = 993
  104. address = "workflow@mtho.eu"
  105. login = "workflow@mtho.eu"
  106. password = "wreDuG_7B3"
  107. //SSL or STARTTLS
  108. securityType = "SSL"
  109. encoding = "UTF-8"
  110. }
  111.  
  112. smtp {
  113. host = "mail.mathesio.com"
  114. port = 465
  115. address = "workflow@mtho.eu"
  116. login = "workflow@mtho.eu"
  117. password = "wreDuG_7B3"
  118. //SSL or STARTTLS
  119. securityType = "SSL"
  120. encoding = "utf-8"
  121. }
  122.  
  123. imapClient {
  124. // Set whether email should be deleted after processing or not
  125. delete = false
  126. // Set the interval of pooling the mail (use default 60000 for per minute).
  127. // NOTE: Reading email is a small action. Choosing a shorter delay then the email processing takes can end up in a
  128. // continuing email processing even after the timer cancelation until all the email processings are done.
  129. delay = 10000
  130. // Search just for emails marked as unseen
  131. unseen = true
  132. connectionString = "imaps://mail.mathesio.com?username=wfdev%40mtho.eu&password=86gTlOBKeMcm%40&dummyTrustManager=true"
  133. }
  134. }
  135.  
  136. runtime {
  137. modules {
  138. "com.mathesio.workflow.api.ApiVerticle" {}
  139. "com.mathesio.workflow.console.ConsoleVerticle" {}
  140. "com.mathesio.workflow.core.security.SecurityVerticle" {}
  141. "com.mathesio.workflow.core.security.acl.AclVerticle" {}
  142. "com.mathesio.workflow.core.analytics.AnalyticsVerticle" {}
  143. "com.mathesio.workflow.core.engine.modeler.ModelerVerticle" {}
  144. "com.mathesio.workflow.core.enums.EnumsVerticle" { instances = 3 }
  145. "com.mathesio.workflow.core.client.teamcity.impl.TeamCityApiVerticle" {}
  146. "com.mathesio.workflow.core.settings.ClientSettingsVerticle" {}
  147. "com.mathesio.workflow.core.menu.MenuVerticle" {}
  148. "com.mathesio.workflow.core.engine.EngineVerticle" {}
  149. "com.mathesio.workflow.core.chat.ChatVerticle" {}
  150. "com.mathesio.workflow.core.groups.GroupsVerticle" {}
  151. "com.mathesio.workflow.core.templates.TemplateVerticle" {}
  152. "com.mathesio.workflow.core.dataSource.DataSourceVerticle" {}
  153. "com.mathesio.workflow.core.dataObject.DataObjectVerticle" {}
  154. "com.mathesio.workflow.core.screenBuilder.ScreenBuilderVerticle" {}
  155. "com.mathesio.workflow.core.formBuilder.FormBuilderVerticle" {}
  156. "com.mathesio.workflow.core.client.ClientVerticle" {}
  157. "com.mathesio.workflow.core.externalEvent.ExternalEventVerticle" {}
  158. "com.mathesio.workflow.core.files.FileManagerVerticle" {}
  159. "com.mathesio.workflow.core.mail.MailVerticle" {}
  160. "com.mathesio.workflow.core.mail.client.ImapClientVerticle" {}
  161. "com.mathesio.workflow.api.rest.RestVerticle" {}
  162. "com.mathesio.workflow.core.scheduler.SchedulerVerticle" {}
  163. "com.mathesio.workflow.core.connectionManager.ConnectionManagerVerticle" {}
  164. "com.mathesio.workflow.core.dummy.data.DummyDataVerticle" {}
  165. "com.mathesio.workflow.core.rest.RestVerticle" {}
  166. }
  167. defaultOptions {
  168. instances = 1
  169. multiThreaded = false
  170. // isolationGroup = "core"
  171. }
  172. }
  173.  
  174. cluster {
  175. config = "./hazelcast.xml"
  176. enabled = false
  177. }
  178.  
  179. filesPath = "files/"
  180.  
  181. uploadsPath = "uploads/"
  182.  
  183. storage {
  184. files = filesPath
  185. compiled = "${filesPath}compiled/"
  186. // Path to default logo, if logo file in db doesn't exists.
  187. defaultLogo = "${filesPath}logo.svg"
  188. globalLess = "styles/skin-blue.less"
  189. globalCss = "${filesPath}lte.css"
  190. }
  191.  
  192.  
  193. debug {
  194. enabled = true
  195.  
  196.  
  197. // // // // LOGGER // // // //
  198. // Feel free to use * as placeholder
  199. // You can also use any string / tag instead class path
  200. // Everything is case insensitive
  201. allowed = [
  202. // "com.mathesio.workflow.core.database.transaction.TransactionJPA",
  203. // "exampleTag"
  204. "*",
  205. ]
  206. // Feel free to use * as placeholder
  207. forbidden = [
  208. "com.mathesio.workflow.core.database.transaction.*",
  209. "com.mathesio.workflow.core.engine.*",
  210. ]
  211. }
  212.  
  213. defaultUsers {
  214. SYSTEM {
  215. username = "SYSTEM"
  216. name = "SYSTEM"
  217. email = "developers@mathesio.com"
  218. password = "jMtDjZmmS2z8MjqassAO"
  219. }
  220. }
  221.  
  222. // Use in case of external server
  223. solr {
  224. url = "http://localhost"
  225. port = 8983
  226. core = "workflow3"
  227. }
  228.  
  229. search {
  230. dateTimeFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
  231. }
  232.  
  233. sentry {
  234. // Sentry off if DSN == null, otherwise provided DSN server is used for logging
  235. dsn = null
  236. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement