Octopi
When the application is deployed through Tomcat, complete Swagger API documentation is available at http://(HOST):(PORT)/octopi/api/swagger.json
Deployment
Deploying the Dockerfile
- In octopi/src/main/resources/META-INF/ create a context.xml file based on the context.template.xml file. The databases uri and credentials need to be set there.
- Build the image:
docker image build -t octopi-build:1.0 .
- Run the container:
docker container run -it -p 8080:8080 --name octopi-build octopi-build:1.0
Example Workflows
These workflow diagrams are best used in conjunction with the API documentation.
Inserting a New Layer
Note: the steps after "POST /layers" are in parallel because they can be executed in any order.