Skip to main content

Pacifica Policy Service

Project description

Pacifica Policy API

Build Status Build status Code Climate Test Coverage Issue Count Docker Stars Docker Pulls Docker Automated build

This is the Pacifica Policy API and implements policy decisions for the rest of the Pacifica software.

Installing the Service

Use the docker container

docker pull pacifica/policy

The Docker Compose Way

Build the images from pacifica-metadata.

docker-compose build

Bring up the policy and metadata images.

docker-compose up

The Manual Way

Install the dependencies using pip (or some other similar python way).

pip install -r requirements.txt

Run the code.

python PolicyServer.py

The API

The policy server is split up into endpoints named for their Pacifica project that utilizes them. So the path /uploader is used by the Pacifica Uploader (http://github.com/pacifica/pacifica-uploader) to control its behavior. The idea is that workflow implemented by the various Pacifica projects has some element of site or instance specific policy that can be applied to the running service. The policy is driven by the metadata and thus this project should talk to the metadata service.

The Uploader Policy API

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

pacifica-policy-0.2.0.tar.gz (37.5 kB view hashes)

Uploaded Source

Built Distributions

pacifica_policy-0.2.0-py3-none-any.whl (41.1 kB view hashes)

Uploaded Python 3

pacifica_policy-0.2.0-py2-none-any.whl (41.1 kB view hashes)

Uploaded Python 2

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