BioMAJ release watch service
Project description
# About
Biomaj remote bank release watcher
Scan every day remote banks release modifications and send stats to prometheus and influxdb about new release detection. When a new release is detected, according to minimal delay configuration (in global or bank properties), a new bank update is sent.
If influxdb is available and updated with bank updates, minimal delay will also be computed based on mean workflow duration. In any case, minimal duration is 1 day.
Properties in global.properties and/or your bank property file:
schedule.delay=3 # minimal 3 days between checks schedule.auto=true # Default=true, if false, auto scan is disabled
Program will try to increase delay between updates when no new release is detected and to decrease it when a new release occurs.
# Requirements
redis
# Development
flake8 –ignore E501 biomaj-release
# Prometheus metrics
Endpoint:
/metrics /api/release/schedule/bank : schedule checks for all banks /api/release/schedule/bank/<bank> : schedule check for bank
# Run
python bin/biomaj_release.py
- 3.0.1:
Start internal web server even if consul is not declared
- 3.0.0:
Micro service to watch remote bank releases
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file biomaj_release-3.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: biomaj_release-3.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0df9593bd462c4c927853358b0c4aae27c57404775f0c07c75b6698580ca328 |
|
MD5 | 5874a7446c00da0fae14b8487afd1a02 |
|
BLAKE2b-256 | 390380f4c1dc91aa26ec64a85f5d6a5ff27a2eb2ea1be73387078372b2ec862c |