Skip to main content

Code to facilitate creation of Vesta Service Gateway.

Project description

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


  • Added configurable timeout value for AMQP async calls


  • fixed query for statistics


  • fixed packaging and upgraded flask to 0.12.4


  • switched stats backend to MongoDB instead of sqlite3


  • update flask version and VestaService version


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


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


  • Configuration directive no_params_needed is now optionnal.


  • Handle error cases for JSON submittal with arguments.


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


  • Bug fix for error handling.


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


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


  • DB schema is now part of distributed package.


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


  • 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