用于配置和监视XBus的Web应用

xbus.monitor的Python项目详细描述


xbus.monitor

此软件包提供监视和管理XBus<;http://xbus.io>;的工具。

监视器提供一个rest api;它还包括一个backbone.js客户端应用程序:

xbus

Xbus是一种企业服务总线。因此,它旨在帮助IT部门 通过提供 使IT系统城市化。

城市化的目标是:

  • high coherence
  • low coupling

有关XBus的详细信息:

安装

设置虚拟机:

$ mkvirtualenv -p /usr/bin/python3 xbus

安装xbus.monitor软件包:

$ pip install xbus.monitor

配置

按照xbus.broker自述文件进行设置。

Xbus监视器设置在etc/production-example.ini文件中;获取它 来自Bitbucket(例如0.1.2版本):

$ wget https://bitbucket.org/xcg/xbus.monitor/raw/0.1.2/etc/production-example.ini -O monitor.ini

编辑文件中的注释。

本地化:

Edit the “pyramid.default_locale_name” variable. Note: Only “en_US” and “fr_FR” are supported for now.

运行

作为常规金字塔程序运行:

$ pserve monitor.ini

运行测试

nosetests

发展

为开发目的运行监视器时,建议停用配置文件中的cookie.secure选项:

cookie.secure = false

生成翻译模板

pip install Babel lingua
python setup.py extract_messages

其他翻译任务

请参见<;http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/i18n.html>;。

python setup.py [init_catalog -l en_US] [update_catalog] [compile_catalog]

谢谢

monitor使用以下外部项目;非常感谢他们各自的作者:

贡献者

按提交日期排序:

更改日志

0.2.1(2016-07-04)

  • Fix inclusion of the monitor_js client-side app into the package.

0.2.0(2016-06-27)

  • Add new consumer event type settings (related to optional data lookup” / clearing features).
  • Resolve aiozmq endpoints beforehand.
  • Safer consumer getter.
  • Log Xbus requests by default in the example configuration file.
  • Simplified deployment; this application now includes a default client.
  • Reworked the login system to apply on the whole client app instead of triggering on specific JS requests.
  • Adapt to message tracking changes done in xbus.broker.

0.1.4(2015-05-25)

  • Event types: Allow setting the “immediate reply” flag.
  • Update requirements.

0.1.3(2015-05-18)

  • Define required package versions in setup.py and document why some are frozen.

0.1.2初始发布(2015-05-12)

  • Initial implementation of the Xbus monitor.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Java游戏socket网络路由器问题   使用Java构造函数初始化。newInstance(args),为什么会出现“args数错误”错误?   javascript当处理Java模式转换为Java脚本模式时,我的3D对象不会显示   java Memcached与Hibernate的集成   servlets如何在java中作为对象访问HttpServletResponse   由于NoClassDefFoundError,java XStream无法反序列化XML   性能远程Neo4j在JavaTinkerpop3Bolt设置中随时间变慢   不能使用java。util。正则表达式。模式,即使我在eclipse中使用jre8   带局部变量的selenium java流比较列表   java能否获得Android或iOS移动设备屏幕的实际尺寸?   java如何解决org。阿帕奇。hadoop。木卫一。无法将LongWritable强制转换为组织。阿帕奇。hadoop。木卫一。文本   java无法用字符串(变量)验证文本,不管它如何在静态文本“测试”中正常工作   如果使用java RandomAccessFile,如何更新数据   Java聚合中面临空指针异常   java查找类中定义的接口   java如何在Spring AMQP中侦听现有队列?   java有可能与PDO建立JDBC连接吗?   java使用ajax填充servelet的下拉列表   使用Azure java sdk更新用户和组属性   java找不到符号:LoggingEvent将log4j 1.2升级到2.8