Metadata-Version: 2.1
Name: biomaj-release
Version: 3.0.2
Summary: BioMAJ release watch service
Home-page: http://biomaj.genouest.org
Author: Olivier Sallou
Author-email: olivier.sallou@irisa.fr
License: UNKNOWN
Download-URL: http://biomaj.genouest.org
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX :: Linux
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: biomaj
Requires-Dist: biomaj-daemon
Requires-Dist: biomaj-cli
Requires-Dist: redis
Requires-Dist: PyYAML
Requires-Dist: flask
Requires-Dist: python-consul
Requires-Dist: prometheus-client
Requires-Dist: influxdb

# 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


