Skip to main content

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.2:

Allow per service endpoint definition If bank failed, try anyway Add tags for traefik support

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 Distribution

biomaj-release-3.0.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

biomaj_release-3.0.2-py2.py3-none-any.whl (6.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file biomaj-release-3.0.2.tar.gz.

File metadata

  • Download URL: biomaj-release-3.0.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

File hashes

Hashes for biomaj-release-3.0.2.tar.gz
Algorithm Hash digest
SHA256 e6b5c5742c90286b070d4577c643347bea1f3aace0f6818fdc8153392c8dca8a
MD5 7e93c1d57f86958923674cb34ba8d0c5
BLAKE2b-256 68c47c2830728cd55cdb13afd9c78bedba31d4e39dee039f74f1e93275f22369

See more details on using hashes here.

File details

Details for the file biomaj_release-3.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: biomaj_release-3.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

File hashes

Hashes for biomaj_release-3.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c634720b9d0013725360348847d8d36a634a3f4374b3c1813b5f463f7f4ccc2d
MD5 124b6791fd7a0d238e4fea47ea615939
BLAKE2b-256 9d4ad699bab4c5e19eb7953e5f0f6908b3f294e895f9b4c08328d7e1bfb9c831

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page