Sign inSign up

beehivelab/acceleration-service-container

By beehivelab

•Updated over 2 years ago

A docker image of the ELEGANT Acceleration Service.

Image
0

410

beehivelab/acceleration-service-container repository overview

⁠ELEGANT Acceleration Service

A container for the acceleration service of the ELEGANT software stack. The implementation is distributed as open-source software⁠.

⁠How to use?
⁠1. Pull the docker image:
docker pull beehivelab/acceleration-service-container:latest
⁠2. Launch the container via the runner script⁠:
git clone https://github.com/elegant-h2020/Elegant-Acceleration-Service.git
cd Elegant-Acceleration-Service
./docker/launchWithDocker.sh --launch
⁠3. Run an example:

The examples beneath use files that are included in the ELEGANT Acceleration Service repository⁠.

curl -X POST -H "Content-Type: multipart/form-data" -F "codeFile=@examples/inputFiles/customMapFloat.java" -F "jsonFile=@examples/inputFiles/deviceInfoCustomMap.json" http://localhost:8080/ElegantAccelerationService-1.0-SNAPSHOT/api/acceleration/submit
curl http://localhost:8080/ElegantAccelerationService-1.0-SNAPSHOT/api/acceleration/1/retrieve
curl http://localhost:8080/ElegantAccelerationService-1.0-SNAPSHOT/api/acceleration/1/state
curl -X DELETE http://localhost:8080/ElegantAccelerationService-1.0-SNAPSHOT/api/acceleration/clean

Tag summary

Content type

Image

Digest

sha256:6f58effdd…

Size

1.6 GB

Last updated

almost 3 years ago

docker pull beehivelab/acceleration-service-container