xbus.monitor
This package provides tools to monitor and administer Xbus <http://xbus.io>.
The monitor serves a REST API; it also includes a backbone.js client app:
xbus_monitor_js <https://bitbucket.org/xcg/xbus_monitor_js>: Single-page JavaScript Backbone application that communicates with xbus.monitor via its REST API.
Xbus
Xbus is an Enterprise service bus. As such it aims to help IT departments achieve a better application infrastructure layout by providing a way to urbanize the IT systems.
The goals of urbanization are:
high coherence
low coupling
More information about Xbus:
Documentation: <http://xbusbroker.readthedocs.org/>
Website: <http://xbus.io/>
Presentation: <http://bit.ly/1AYtQa6>
Installing
Set up a virtualenv:
$ mkvirtualenv -p /usr/bin/python3 xbus
Install the xbus.monitor package:
$ pip install xbus.monitor
Configuring
Follow the xbus.broker README file to set it up.
Xbus monitor settings are within the etc/production-example.ini file; grab it from bitbucket (eg for the 0.1.2 version):
$ wget https://bitbucket.org/xcg/xbus.monitor/raw/0.1.2/etc/production-example.ini -O monitor.ini
Edit the file following comments written inside.
Localization:
Edit the “pyramid.default_locale_name” variable. Note: Only “en_US” and “fr_FR” are supported for now.
Running
Run as a regular Pyramid program:
$ pserve monitor.ini
Run tests
nosetests
Development
When running the monitor for development purposes, it is recommended to deactivate the cookie.secure option in the configuration file:
cookie.secure = false
Generate the translation template
pip install Babel lingua python setup.py extract_messages
Other translation tasks
See <http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/i18n.html>.
python setup.py [init_catalog -l en_US] [update_catalog] [compile_catalog]
Thanks
xbus.monitor uses the following external projects; thanks a lot to their respective authors:
pyramid <http://docs.pylonsproject.org/projects/pyramid/en/latest/>
pyramid_httpauth <https://github.com/tarzanjw/pyramid_httpauth>
Contributors
Sorted by commit date:
Jérémie Gavrel, <jeremie.gavrel@xcg-consulting.fr>
Florent Aide, <florent.aide@xcg-consulting.fr>
Houzéfa Abbasbhay, <houzefa.abba@xcg-consulting.fr>
Alexandre Brun, <alexandre.brun@xcg-consulting.fr>
Brendan Masson, <brendan.masson@xcg-consulting.fr>
Changelog
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 Initial release (2015-05-12)
Initial implementation of the Xbus monitor.
Release files for xbus.monitor 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | |
|---|---|---|---|
| xbus.monitor-0.2.1.zip | 12.9 MB | Details | |
| xbus.monitor-0.2.1.tar.gz | 11.9 MB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xbus.monitor-0.2.1-py3.4.egg | Legacy Egg format | - | - | Details |
| xbus.monitor-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.6 MB
Release files / xbus.monitor-0.2.1.zip
| Download URL | xbus.monitor-0.2.1.zip |
|---|---|
| Size | 12.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c9b44b13654eca91cb9a9f73722c711a2e784315963b65e3f132b0aa6d61448
|
|
BLAKE2b-256 checksum How to use checksums |
8644c33aab32187431044747b3fda9959bb03c9aaa34b48e19293bb13b2242b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / xbus.monitor-0.2.1.tar.gz
| Download URL | xbus.monitor-0.2.1.tar.gz |
|---|---|
| Size | 11.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec8e359d315c1dcec4c0b2f3b667ec1454165fabebe7f156e903a09975ab441b
|
|
BLAKE2b-256 checksum How to use checksums |
ba2e87c5b0d8f08d7ce6484994d1e95ce8d94ac3710fd974b0842937c8df4c6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / xbus.monitor-0.2.1-py3.4.egg
| Download URL | xbus.monitor-0.2.1-py3.4.egg |
|---|---|
| Size | 12.9 MB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
945d9d7e28d3f42e8a493133ce65de2aac557ca052a5ba678f330352a5e5c918
|
|
BLAKE2b-256 checksum How to use checksums |
25604626eb9f548cb6308fb0a87727c8a6acf34ee9f8efd78bef957ef2471d8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / xbus.monitor-0.2.1-py3-none-any.whl
| Download URL | xbus.monitor-0.2.1-py3-none-any.whl |
|---|---|
| Size | 12.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b5b17e99a06f699af00d92ee69f07513501dd9c78a882e26855fffde4ea507a
|
|
BLAKE2b-256 checksum How to use checksums |
ab08fc26a86ad7dcf94041ac489d8c2326765c5e17e4e91007e53deff0cf48a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |