Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化host获取,排除127.xxx 0.0.0.0 localhost 等本地IP的注入,从而保证监控中IP的有效性。 #308

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on May 23, 2017

  1. Configuration menu
    Copy the full SHA
    877b092 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2017

  1. 优化环境变量的注入。使其支持环境变量方式改变配置。

    如果通过-D注入的参数为空的话,则检查系统Env变量。并且将.转换为_,如disconf.env转换为disconf_env
    lipangeng committed May 24, 2017
    Configuration menu
    Copy the full SHA
    cdc1bb9 View commit details
    Browse the repository at this point in the history
  2. 获取本地IP时,增加disconf.host(disconf_host)属性获取,用来指定机器host或者IP。

    因为项目依赖问题,无法获取DisClientConfig。遂独立处理该属性。
    lipangeng committed May 24, 2017
    Configuration menu
    Copy the full SHA
    fd27719 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8bd96e1 View commit details
    Browse the repository at this point in the history