前端:

  1. # This is the main configuration file for the application.
  2. # ~~~~~
  3.  
  4. # Secret key
  5. # ~~~~~
  6. # The secret key is used to secure cryptographics functions.
  7. #
  8. # This must be changed for production, but we recommend not changing it in this file.
  9. #
  10. # See http://www.playframework.com/documentation/latest/ApplicationSecret for more details.
  11. play.crypto.secret = "xxx" #必须改不能用changeme
  12. #play.crypto.secret = ${?WHZ_SECRET}
  13.  
  14. # The application languages
  15. # ~~~~~
  16. play.i18n.langs = [ "en" ]
  17.  
  18. # Play http parser settings
  19. #
  20. # Increase default buffer size to handle large post request
  21. play.http.parser.maxMemoryBuffer = 10MB
  22.  
  23. # Router
  24. # ~~~~~
  25. # Define the Router object to use for this application.
  26. # This router will be looked up first when the application is starting up,
  27. # so make sure this is the entry point.
  28. # Furthermore, it's assumed your route file is named properly.
  29. # So for an application router like `my.application.Router`,
  30. # you may need to define a router file `conf/my.application.routes`.
  31. # Default to Routes in the root package (and conf/routes)
  32. # play.http.router = my.application.Routes
  33.  
  34. # Database configuration
  35. # ~~~~~
  36. # You can declare as many datasources as you want.
  37. # By convention, the default datasource is named `default`
  38. #
  39. # db.default.driver=org.h2.Driver
  40. # db.default.url="jdbc:h2:mem:play"
  41. # db.default.username=sa
  42. # db.default.password=""
  43.  
  44. # Evolutions
  45. # ~~~~~
  46. # You can disable evolutions if needed
  47. # play.evolutions.enabled=false
  48.  
  49. # You can disable evolutions for a specific datasource if necessary
  50. # play.evolutions.db.default.enabled=false
  51.  
  52. app.version = "1"
  53.  
  54. datasets.tree.name = "/var/tmp/wherehows/resource/dataset.json"
  55. #datasets.tree.name = ${?DATASETS_TREE_NAME}
  56. flows.tree.name = "/var/tmp/wherehows/resource/flow.json"
  57. #flows.tree.name = ${?FLOWS_TREE_NAME}
  58.  
  59. database.opensource.username = "wherehows"
  60. database.opensource.password = "wherehows"
  61. database.opensource.url = "jdbc:mysql://10.8.2.115/wherehows?charset=utf8&zeroDateTimeBehavior=convertToNull"
  62.  
  63. search.engine = "elasticsearch"
  64. #search.engine = ${?YOUR_SEARCH_ENGINE}
  65. elasticsearch.dataset.url = "http://10.8.2.115:9200/wherehows/dataset/_search"
  66. elasticsearch.metric.url = "http://10.8.2.115:9200/wherehows/metric/_search"
  67. elasticsearch.flow.url = "http://10.8.2.115:9200/wherehows/flow_jobs/_search"
  68. #elasticsearch.dataset.url = "http://10.8.2.115:9200/wherehows"
  69. #elasticsearch.flow.url = "http://10.8.2.115:9200/wherehows/flow_jobs/_mapping"
  70.  
  71. authentication.ldap.context_factory_class = "com.sun.jndi.ldap.LdapCtxFactory"
  72. authentication.ldap.url = "ldap://10.254.10.62:389"
  73. authentication.principal.domain = "@baidu.cn"
  74. authentication.ldap.search.base = "dc=baidu,dc=cn"
  75.  
  76. dataset.hdfs_browser.link = "http://10.8.2.223:8888/filebrowser/#"
  77. #dataset.hdfs_browser.link = ${?YOUR_HDFS_BROWSER_LINK}
  78.  
  79. lineage.look.back.time = 60
  80. #lineage.look.back.time = ${?LINEAGE_LOOK_BACK_TIME}
  81.  
  82. tracking.piwik.siteid = "0000"
  83. tracking.piwik.url = "10.8.2.115"

后端:

  1. # This is the main configuration file for the application.
  2. # ~~~~~
  3.  
  4. # Secret key
  5. # ~~~~~
  6. # The secret key is used to secure cryptographics functions.
  7. #
  8. # This must be changed for production, but we recommend not changing it in this file.
  9. #
  10. # See http://www.playframework.com/documentation/latest/ApplicationSecret for more details.
  11. play.crypto.secret = "xxx"#必须改不能用changeme
  12. #play.crypto.secret = ${?WHZ_SECRET}
  13.  
  14. # The application languages
  15. # ~~~~~
  16. play.i18n.langs = [ "en" ]
  17.  
  18. # Play http parser settings
  19. #
  20. # Increase default buffer size to handle large post request
  21. play.http.parser.maxMemoryBuffer = 10MB
  22.  
  23. # Global object class
  24. # ~~~~~
  25. # Define the Global object class for this application.
  26. # Default to Global in the root package.
  27. application.global=shared.Global
  28.  
  29. # Router
  30. # ~~~~~
  31. # Define the Router object to use for this application.
  32. # This router will be looked up first when the application is starting up,
  33. # so make sure this is the entry point.
  34. # Furthermore, it's assumed your route file is named properly.
  35. # So for an application router like `my.application.Router`,
  36. # you may need to define a router file `conf/my.application.routes`.
  37. # Default to Routes in the root package (and conf/routes)
  38. # play.http.router = my.application.Routes
  39.  
  40. # Database configuration
  41. # ~~~~~
  42. # You can declare as many datasources as you want.
  43. # By convention, the default datasource is named `default`
  44. #
  45. # connection to wherehows mysql database
  46. db.wherehows.driver = "com.mysql.jdbc.Driver"
  47. #db.wherehows.driver = ${?WHZ_DB_DRIVER}
  48. db.wherehows.url = "jdbc:mysql://10.8.2.115/wherehows"
  49. db.wherehows.username = "wherehows"
  50. db.wherehows.password = "wherehows"
  51.  
  52. # You can expose this datasource via JNDI if needed (Useful for JPA)
  53. # db.default.jndiName=DefaultDS
  54.  
  55. # Evolutions
  56. # ~~~~~
  57. # You can disable evolutions if needed
  58. # play.evolutions.enabled=false
  59.  
  60. # You can disable evolutions for a specific datasource if necessary
  61. # play.evolutions.db.default.enabled=false
  62.  
  63. # if does not have this variable, every job will run
  64. # if have this varialbe, only the id in this list will be scheduled
  65. scheduler.check.interval = 5
  66. #scheduler.check.interval=${?WHZ_SCHEDULER_CHECK_INTERVAL}
  67.  
  68. etl.jobs.dir = "/var/tmp/jobs"
  69. etl.temp.dir = "/var/tmp/wherehows"
  70. etl.max.concurrent.jobs = 2

WhereHows前后端配置文件的更多相关文章

  1. Maven多模块,Dubbo分布式服务框架,SpringMVC,前后端分离项目,基础搭建,搭建过程出现的问题

    现互联网公司后端架构常用到Spring+SpringMVC+MyBatis,通过Maven来构建.通过学习,我已经掌握了基本的搭建过程,写下基础文章为而后的深入学习奠定基础. 首先说一下这篇文章的主要 ...

  2. 快速web开发中的前后端框架选型最佳实践

    这个最佳实践是我目前人在做的一个站点,主要功能: oauth登录 发布文章(我称为"片段"),片段可以自定义一些和内容有关的指标,如“文中人物:12”.支持自定义排版.插图.建立相 ...

  3. SpringMVC前后端数据交互总结

    控制器 作为控制器,大体的作用是作为V端的数据接收并且交给M层去处理,然后负责管理V的跳转.SpringMVC的作用不外乎就是如此,主要分为:接收表单或者请求的值,定义过滤器,跳转页面:其实就是ser ...

  4. 前后端分离之前端项目构建(grunt+require+angular)

    前言 前段时间做了一个项目,前端开发页面,然后把代码给到后端同学,后端同学通过vm再来渲染页面.后来才发现,这种方式简直是太low了,因为前端代码在服务端同学那里,每次前端需要更改的时候都需要去到服务 ...

  5. 利用grunt-contrib-connect和grunt-connect-proxy搭建前后端分离的开发环境

    前后端分离这个词一点都不新鲜,完全的前后端分离在岗位协作方面,前端不写任何后台,后台不写任何页面,双方通过接口传递数据完成软件的各个功能实现.此种情况下,前后端的项目都独立开发和独立部署,在开发期间有 ...

  6. 【转】从MVC到前后端分离

    1. 理解MVC MVC是一种经典的设计模式,全名为Model-View-Controller,即模型-视图-控制器. 其中,模型是用于封装数据的载体,例如,在Java中一般通过一个简单的POJO(P ...

  7. 前后端分离--构建前端Mock Server--windows部署rap

    mock:模拟的,虚假的 mock server:模拟服务,模拟请求,模拟虚假数据 为了前后端更好的分工,接口文档是必须的,前后端都根据接口文档写代码,然后对接接口就行了. 但是,后端跟不上前端节奏, ...

  8. 从MVC到前后端分离

    摘要:MVC模式早在上个世纪70年代就诞生了,直到今天它依然存在,可见生命力相当之强.MVC模式最早用于Smalltalk语言中,最后在其它许多开发语言中都得到了很好的应用,例如,Java中的Stru ...

  9. 【开源.NET】 分享一个前后端分离的轻量级内容管理框架

    开发框架要考虑的面太多了:安全.稳定.性能.效率.扩展.整洁,还要经得起实践的考验,从零开发一个可用的框架,是很耗时费神的工作.网上很多开源的框架,为何还要自己开发?我是基于以下两点: 没找到合适的: ...

随机推荐

  1. Linux命令学习之路——变更工作目录:cd

    使用权限:所有角色 使用方式:cd [ targetDir ] 作用:该命令用于在Linux中切换工作目录 注意点: 1.targetDir代表目标目录,可以采用绝对路径或相对路径表示: 2.当tar ...

  2. 2018.10.25 CCSP马拉松摸铜归来

    24号体测跑50+1000米. 50米抢跑被罚重跑???然后老年人就只能吊着一口仙气跑第二次50米.然后跑1000米,然后再到宿舍收拾行李赶往地铁站,然后再冲到火车站...(卒) 宾馆,三人挤入二人房 ...

  3. PTA——最大公约数和最小公倍数

    PTA 7-26 最大公约数和最小公倍数 #include<stdio.h> int main(){ int num1,num2,temp1,temp2,r; scanf("%d ...

  4. python3.x 正则表达式的应用

    正则表达式是我认为比较难的一个东西,今天忽然又学到了这个,想到写下来,以后作为参考手册使用. python如果想使用python需要引用re方法,在文件开始进行引用. import re 接下来说一下 ...

  5. js添加select中option

    1.js代码 $("#year").append("<option value="+value的值+">"+内容+"& ...

  6. AangularJS入门总结一

    CRUD(增加Create.查询Retrieve.更新Update.删除Delete) 一.angularjs是为了克服HTML在构建应用上的不足而设计的: 二.AngularJS的出众之处: 构建一 ...

  7. hibernate中带查询条件的分页

    所谓分页,从数据库中分,则是封装一个分页类.利用分页对象进行分页. 但,分页往往带查询条件. 分页类的三个重要数据:[当前页码数],[数据库中的总记录数],[每页显示的数据的条数] 原理:select ...

  8. fastdfs(https://www.jianshu.com/p/1c71ae024e5e)

    参考 官方网站:https://github.com/happyfish100/ 配置文档:https://github.com/happyfish100/fastdfs/wiki/ 参考资料:htt ...

  9. codeblock设置快捷键

    第一步: 第二步: 第三步:  格式化代码设置: 在代码框里点右键,按Format use Astyle就会自动代码格式化了 但是它默认的风格是大括号另起一行,很不习惯,实际上是可以改的 1.Sett ...

  10. Swift 属性 函数

    如今看cocoachina上得文章越来越有质量了,果断分享一下  原文: http://www.cocoachina.com/newbie/basic/2014/0611/8773.html 函数 函 ...