Pacifica Policy Service
Project description
Pacifica Policy API
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pacifica_policy-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6d9767d4136b44a19094ae6c6955365534393c6181a837b01cb164e380a9406 |
|
MD5 | 9913cc4ba529d7846c084fa43e44591a |
|
BLAKE2b-256 | e44bf2b565730633f7f2acc55864aad847b3d1659a5cc4e46335664e1337fba7 |
Hashes for pacifica_policy-0.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7ff804ad6a42ca4bb24fb732c4331cf5444c23a2c38b81018ede91dc37ee918 |
|
MD5 | a31905fb436b68ef37b29b460abe62a0 |
|
BLAKE2b-256 | 2c1f9dc645e1c5f363d407bec823d88bf145adc6f51d345f57fa0d3044053317 |