Skip to main content

Code to facilitate creation of Vesta Service Gateway.

Project description

https://travis-ci.org/crim-ca/RESTPackage.svg?branch=master

This package offers helper modules for exposing services working in a distributed Service architecture through a REST interface. The work being executed by these services might be an annotation process or a form of conversion process taking a significant amount of time thereby benefiting from a distributed processing system with a REST interface.

Messages are communicated through a Celery distributed processing queue system.

This package offers basic functionality yet is meant to be wrapped by a higher level package which will offer a full application package.

Known examples of applications which use this package are:

  • Vesta Load Balancer (alias Service Gateway or SG)
  • Multimedia Storage System

Installation of this package can be done as follows:

pip install VestaRestPackage

Release notes

1.9.3

  • Added configurable timeout value for AMQP async calls

1.9.2

  • fixed query for statistics

1.9.1

  • fixed packaging and upgraded flask to 0.12.4

1.9.0

  • switched stats backend to MongoDB instead of sqlite3

1.8.2

  • update flask version and VestaService version

1.8.0

  • Adding a command line tool to call a service in a blocking mode

1.7.9

  • Fix handling of exceptions with messages encoded in utf-8.

1.7.8

  • Configuration directive no_params_needed is now optionnal.

1.7.7

  • Handle error cases for JSON submittal with arguments.

1.7.6

  • Add configuration to service which permits use without any arguments.

1.7.5

  • Bug fix for error handling.

1.7.4

  • AMQP routes are explicitly specified when submitting tasks so that we can have a same task name on diffrent queues.

1.7.3

  • Work-around for PyPi package listing restriction. Functionnaly equivalent.

1.7.2

  • DB schema is now part of distributed package.

1.7.1

  • Log formatting. Default location of database relative to CWD by default.
  • Add default entry point to print default configuration.

1.7.0

  • Packaged and uploaded to PyPi.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for VestaRestPackage, version 1.9.3
Filename, size File type Python version Upload date Hashes
Filename, size VestaRestPackage-1.9.3-py2-none-any.whl (33.5 kB) File type Wheel Python version py2 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page