前端:

# 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=falseapp.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

转载于:https://www.cnblogs.com/wpcnblog/p/9562376.html

WhereHows前后端配置文件相关推荐

  1. 前后端分离必备工具:Swagger快速搞定(整合SpringBoot详细教程)

    本文根据狂神教学视屏同步所做笔记 目录 一.Swagger简介 1. 前后端分离 2. Swagger引入 二.SpringBoot集成Swagger 1. 新建springboot项目 2. 导入S ...

  2. 移动端开发者眼中的前端开发流程变迁与前后端分离

    写在最开始 这是一篇面向移动端开发者的科普性文章,从前端开发的最初流程开始,结合示范代码,讨论开发流程的演变过程,希望能覆盖一部分前端开发技术栈,从而对前端开发的相关概念形成初步的认识. 本文会提供一 ...

  3. 前后端分离的思考与实践(三)

    Midway-ModelProxy - 轻量级的接口配置建模框架 前言 使用Node做前后端分离的开发模式带来了一些性能及开发流程上的优势(见<前后端分离的思考与实践 一>), 但同时也面 ...

  4. 实战:一键生成前后端代码,Mybatis-Plus代码生成器让我舒服了

    前言 在日常的软件开发中,程序员往往需要花费大量的时间写CRUD,不仅枯燥效率低,而且每个人的代码风格不统一.MyBatis-Plus 代码生成器,通过 AutoGenerator 可以快速生成 En ...

  5. Spring Boot + Vue.js 实现前后端分离(附源码)

    点击上方"方志朋",选择"设为星标" 回复"666"获取新整理的面试文章 作者: 梁小生0101 链接:juejin.im/post/5c6 ...

  6. centos7.9 配置nginx实现前后端分离

    工作中经常会遇到需要部署前后端分离的项目,今天来给大家介绍一下. 实验目的: 实现前后端分离配置,即nginx做代理,前端需要跳转到本地目录访问,后端需要跳转到后端程序. 服务器:CentOS Lin ...

  7. java spring 传大数据类型_Spring MVC前后端数据交互总结

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

  8. 前后端分离djangorestframework—— 在线视频平台接入第三方加密防盗录视频

    加密视频 在以后的开发项目中,很可能有做在线视频的,而在线视频就有个问题,因为在线播放,就很有可能视频数据被抓包,如果这个在线视频平台有付费视频的话,这样就会有人做点倒卖视频的生意了,针对这个问题,目 ...

  9. 笔记合并_.NET Core开发实战(第23课:静态文件中间件:前后端分离开发合并部署骚操作)学习笔记(上)...

    23 | 静态文件中间件:前后端分离开发合并部署骚操作 我们先来看一下静态文件中间件有哪些能力 1.支持指定相对路径 2.支持目录的浏览 3.支持设置默认文档 4.支持多目录映射 源码链接: http ...

  10. 前后端API交互如何保证数据安全性?

    本文转载自公众号: 猿天地 1.前言 前后端分离的开发方式,我们以接口为标准来进行推动,定义好接口,各自开发自己的功能,最后进行联调整合.无论是开发原生的APP还是webapp还是PC端的软件,只要是 ...

最新文章

  1. 浅谈公司形象网站的设计流程
  2. HDU1862 EXCEL排序
  3. UITextView实现图文混排效果
  4. 操作软件_如何提升办公软件的操作能力
  5. android 1396x750设计图,移动端的适配|切图|标注
  6. Java:使用Toxiproxy模拟各种连接问题
  7. 服务器系统gho系统怎么安装系统,GHOST怎么重装系统?GHO文件安装系统教程
  8. android xml 列表展示,Android中ListView实现展示列表数据
  9. BZOJ.4500.矩阵(差分约束 SPFA判负环 / 带权并查集)
  10. 关于扫描枪输入英文乱码问题
  11. 惠普微型计算机主机拆卸,HP 惠普 Pavilion Wave 台式主机 拆机
  12. ngro_k服务器搭建(本地电脑与微信交互)
  13. 蓝桥杯 2014-2 切面条
  14. matlab中除法的使用,错误使用 / 矩阵维度必须一致
  15. 如何知道计算机显示器尺寸,电脑显示器尺寸怎么看(电脑显示器常见参数详解)...
  16. 大学电路题目怎么搜_电路,中国大学MOOC(慕课)答案公众号搜题
  17. Win10优化2 REG文件
  18. 软件测试是背锅,测试如何少背锅”
  19. 大三菜鸡Java面试凉经
  20. 微盟“删库”144小时:痛的不是股价,是信任

热门文章

  1. nginx启动报错:Failed to start The nginx HTTP and reverse proxy server.
  2. php中使用sftp教程,php 中的sftp 使用教程_PHP教程
  3. 计算机组成与设计 笔记(一)
  4. 0代码实现接口自动化测试-RF框架实践
  5. 张宇1000题高等数学 第十、十一、十二章 一元函数积分学的应用——几何应用、积分等式与积分不等式、物理应用
  6. 张宇真题全解(纯题目)
  7. 简单迅速解决windows电脑下载windows应用商店(Microsoft Store)
  8. SQL Server 2008R2密钥
  9. 常用的monkey命令
  10. 最新即时通讯聊天安卓APP源码+全开源/Uniapp内核