WhereHows前后端配置文件
前端:
# This is the main configuration file for the application.
# ~~~~~ # Secret key
# ~~~~~
# The secret key is used to secure cryptographics functions.
#
# This must be changed for production, but we recommend not changing it in this file.
#
# See http://www.playframework.com/documentation/latest/ApplicationSecret for more details.
play.crypto.secret = "xxx" #必须改不能用changeme
#play.crypto.secret = ${?WHZ_SECRET} # The application languages
# ~~~~~
play.i18n.langs = [ "en" ] # Play http parser settings
#
# Increase default buffer size to handle large post request
play.http.parser.maxMemoryBuffer = 10MB # 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 = my.application.Routes # Database configuration
# ~~~~~
# You can declare as many datasources as you want.
# By convention, the default datasource is named `default`
#
# db.default.driver=org.h2.Driver
# db.default.url="jdbc:h2:mem:play"
# db.default.username=sa
# db.default.password="" # Evolutions
# ~~~~~
# You can disable evolutions if needed
# play.evolutions.enabled=false # You can disable evolutions for a specific datasource if necessary
# play.evolutions.db.default.enabled=false app.version = "1" datasets.tree.name = "/var/tmp/wherehows/resource/dataset.json"
#datasets.tree.name = ${?DATASETS_TREE_NAME}
flows.tree.name = "/var/tmp/wherehows/resource/flow.json"
#flows.tree.name = ${?FLOWS_TREE_NAME} database.opensource.username = "wherehows"
database.opensource.password = "wherehows"
database.opensource.url = "jdbc:mysql://10.8.2.115/wherehows?charset=utf8&zeroDateTimeBehavior=convertToNull" search.engine = "elasticsearch"
#search.engine = ${?YOUR_SEARCH_ENGINE}
elasticsearch.dataset.url = "http://10.8.2.115:9200/wherehows/dataset/_search"
elasticsearch.metric.url = "http://10.8.2.115:9200/wherehows/metric/_search"
elasticsearch.flow.url = "http://10.8.2.115:9200/wherehows/flow_jobs/_search"
#elasticsearch.dataset.url = "http://10.8.2.115:9200/wherehows"
#elasticsearch.flow.url = "http://10.8.2.115:9200/wherehows/flow_jobs/_mapping" authentication.ldap.context_factory_class = "com.sun.jndi.ldap.LdapCtxFactory"
authentication.ldap.url = "ldap://10.254.10.62:389"
authentication.principal.domain = "@baidu.cn"
authentication.ldap.search.base = "dc=baidu,dc=cn" dataset.hdfs_browser.link = "http://10.8.2.223:8888/filebrowser/#"
#dataset.hdfs_browser.link = ${?YOUR_HDFS_BROWSER_LINK} lineage.look.back.time = 60
#lineage.look.back.time = ${?LINEAGE_LOOK_BACK_TIME} tracking.piwik.siteid = "0000"
tracking.piwik.url = "10.8.2.115"
后端:
# This is the main configuration file for the application.
# ~~~~~ # Secret key
# ~~~~~
# The secret key is used to secure cryptographics functions.
#
# This must be changed for production, but we recommend not changing it in this file.
#
# See http://www.playframework.com/documentation/latest/ApplicationSecret for more details.
play.crypto.secret = "xxx"#必须改不能用changeme
#play.crypto.secret = ${?WHZ_SECRET} # The application languages
# ~~~~~
play.i18n.langs = [ "en" ] # Play http parser settings
#
# Increase default buffer size to handle large post request
play.http.parser.maxMemoryBuffer = 10MB # Global object class
# ~~~~~
# Define the Global object class for this application.
# Default to Global in the root package.
application.global=shared.Global # 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 = my.application.Routes # Database configuration
# ~~~~~
# You can declare as many datasources as you want.
# By convention, the default datasource is named `default`
#
# connection to wherehows mysql database
db.wherehows.driver = "com.mysql.jdbc.Driver"
#db.wherehows.driver = ${?WHZ_DB_DRIVER}
db.wherehows.url = "jdbc:mysql://10.8.2.115/wherehows"
db.wherehows.username = "wherehows"
db.wherehows.password = "wherehows" # You can expose this datasource via JNDI if needed (Useful for JPA)
# db.default.jndiName=DefaultDS # Evolutions
# ~~~~~
# You can disable evolutions if needed
# play.evolutions.enabled=false # You can disable evolutions for a specific datasource if necessary
# play.evolutions.db.default.enabled=false # if does not have this variable, every job will run
# if have this varialbe, only the id in this list will be scheduled
scheduler.check.interval = 5
#scheduler.check.interval=${?WHZ_SCHEDULER_CHECK_INTERVAL} etl.jobs.dir = "/var/tmp/jobs"
etl.temp.dir = "/var/tmp/wherehows"
etl.max.concurrent.jobs = 2
WhereHows前后端配置文件的更多相关文章
- Maven多模块,Dubbo分布式服务框架,SpringMVC,前后端分离项目,基础搭建,搭建过程出现的问题
现互联网公司后端架构常用到Spring+SpringMVC+MyBatis,通过Maven来构建.通过学习,我已经掌握了基本的搭建过程,写下基础文章为而后的深入学习奠定基础. 首先说一下这篇文章的主要 ...
- 快速web开发中的前后端框架选型最佳实践
这个最佳实践是我目前人在做的一个站点,主要功能: oauth登录 发布文章(我称为"片段"),片段可以自定义一些和内容有关的指标,如“文中人物:12”.支持自定义排版.插图.建立相 ...
- SpringMVC前后端数据交互总结
控制器 作为控制器,大体的作用是作为V端的数据接收并且交给M层去处理,然后负责管理V的跳转.SpringMVC的作用不外乎就是如此,主要分为:接收表单或者请求的值,定义过滤器,跳转页面:其实就是ser ...
- 前后端分离之前端项目构建(grunt+require+angular)
前言 前段时间做了一个项目,前端开发页面,然后把代码给到后端同学,后端同学通过vm再来渲染页面.后来才发现,这种方式简直是太low了,因为前端代码在服务端同学那里,每次前端需要更改的时候都需要去到服务 ...
- 利用grunt-contrib-connect和grunt-connect-proxy搭建前后端分离的开发环境
前后端分离这个词一点都不新鲜,完全的前后端分离在岗位协作方面,前端不写任何后台,后台不写任何页面,双方通过接口传递数据完成软件的各个功能实现.此种情况下,前后端的项目都独立开发和独立部署,在开发期间有 ...
- 【转】从MVC到前后端分离
1. 理解MVC MVC是一种经典的设计模式,全名为Model-View-Controller,即模型-视图-控制器. 其中,模型是用于封装数据的载体,例如,在Java中一般通过一个简单的POJO(P ...
- 前后端分离--构建前端Mock Server--windows部署rap
mock:模拟的,虚假的 mock server:模拟服务,模拟请求,模拟虚假数据 为了前后端更好的分工,接口文档是必须的,前后端都根据接口文档写代码,然后对接接口就行了. 但是,后端跟不上前端节奏, ...
- 从MVC到前后端分离
摘要:MVC模式早在上个世纪70年代就诞生了,直到今天它依然存在,可见生命力相当之强.MVC模式最早用于Smalltalk语言中,最后在其它许多开发语言中都得到了很好的应用,例如,Java中的Stru ...
- 【开源.NET】 分享一个前后端分离的轻量级内容管理框架
开发框架要考虑的面太多了:安全.稳定.性能.效率.扩展.整洁,还要经得起实践的考验,从零开发一个可用的框架,是很耗时费神的工作.网上很多开源的框架,为何还要自己开发?我是基于以下两点: 没找到合适的: ...
随机推荐
- java sftp 报错 Permission denied (没有权限;拒绝访问)
解决办法: 1.检查账号密码是否错误 2.检查freeSSHD是否是以管理员身份运行的 3.检查sftp路劲有没有配置错误,java通过sftp将图片文件传输到指定文件夹,如果这个文件夹在配置的当前目 ...
- 软工实践——结对作业2【wordCount进阶需求】
附录: 队友的博客链接 本次作业的博客链接 同名仓库项目地址 一.具体分工 我负责撰写爬虫爬取信息以及代码整合测试,队友子恒负责写词组词频统计功能的代码. 二.PSP表格 PSP2.1 Persona ...
- 实验吧—Web——WP之 因缺思汀的绕过
首先打开解题链接查看源码: 查看源码后发现有一段注释: <!--source: source.txt-->这点的意思是:原来的程序员在写网页时给自己的一个提醒是源码在这个地方,我们要查看时 ...
- AtCoder Grand Contest 031 B - Reversi
https://atcoder.jp/contests/agc031/tasks/agc031_b B - Reversi Time Limit: 2 sec / Memory Limit: 1024 ...
- 《DSP using MATLAB》Problem 6.9
9月9日,我们怀念毛主席! 代码: %% +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ...
- mysql将某数据库的全部权限赋给某用户,提示1044错误Access denied
mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix'; ERROR 1044 (4 ...
- nginx启动重启与升级以及检测配置文件
查看nginx的主进程号 ps -ef|grep nginx 从容停止nginx kill - QUIT nginx主进程号 或者 kill - QUIT nginx的pid文件所在,例如我的 [ro ...
- SQL相关语句
1.分类 数据定义语言(DDL),用来定义数据库.表 列 ,用到的关键字:create.alter.drop. 数据操作语言(DML),数据库进行更行的操作, insert.delete.update ...
- immutable-styles 新的css style 开发模式
immutable-styles 是一个开源的library,可以方便我们开发强壮以及可预测的web 界面,不用担心其他css 的影响 特性 编译时错误提示 防止css 覆盖 分离破坏点 严格继承 重 ...
- debezium sql server 集成
debezium 是一个方便的cdc connector 可以帮助我们解决好多数据实时变更处理.数据分析.微服务的数据通信 从上次跑简单demo到现在,这个工具是有好多的变更,添加了好多方便的功能,支 ...