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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

VestaRestPackage-1.9.3-py2-none-any.whl (33.5 kB view details)

Uploaded Python 2

File details

Details for the file VestaRestPackage-1.9.3-py2-none-any.whl.

File metadata

  • Download URL: VestaRestPackage-1.9.3-py2-none-any.whl
  • Upload date:
  • Size: 33.5 kB
  • Tags: Python 2
  • 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 VestaRestPackage-1.9.3-py2-none-any.whl
Algorithm Hash digest
SHA256 d0812ea1bab54fdb907756abda6bc7aac76933a43f62b7043313fab0fe9ee054
MD5 be4ec0450062c9081bd6803d0374241a
BLAKE2b-256 a693aa76e9dabbff74349e032f9025a2d5564dee28a17beecab4417692ce67e1

See more details on using hashes here.

Supported by

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