http-api

RESTful HTTP-API for the B2STAGE service inside the EUDAT project

View the Project on GitHub EUDAT-B2STAGE/http-api

Development documentation

Pre-requisites

Before starting please make sure that you have installed on your system:

Coding Style

Primarily all code has to adhere to PEP8 rules.

Quick start

If you need to jump in as soon as possible:

# Clone repo
git clone https://github.com/EUDAT-B2STAGE/http-api.git
# Then run the final services
./do DEVELOPMENT
### Develop from here!

# You may also create another shell to mimic the API client
./do client_shell
/ # http GET http://apiserver/api/status

Enable only the iRODS server

Note: if you want to use normal irods instead of B2safe service, change the image name inside docker-compose.yml.

Then:

# Clone repo
git clone ...
# Bring up only irods and postgres
docker-compose up -d icat