API of the https://github.com/CSCfi/DataCopierEngine
This project uses Quarkus.
You can run your application in dev mode that enables live coding using:
mvn compile quarkus:devThe application can be packaged using:
mvn packageIt produces the quarkus-run.jar file in the target/quarkus-app/ directory.
Be aware that it’s not an über-jar as the dependencies are copied into the ta rget/quarkus-app/lib/ directory.
curl -v -d "@ekatask.json" -H "Content-Type: application/json" http://localhost:8080/v1/copy content of the ekatask.json: { "requester": "arska", "source": { "type": "IDA", "auth": { "token": "puppua" }, "param": { "omistaja": "123", "polku": "foo/bar" } }, "destination": { "type": "ALLAS", "protocol": "S3", "auth": { "accessKey": "puppua2", "secretKey": "puppua3" }, "param": { "omistaja": "bucket_136", "polku": "foo/bar2" } } }
You can create a native executable using:
./mvn package -Pnativeand the docker file is in src/main/docker directory and the native case use the native one which contains further build instructions
is in src/main/resources directory
Pekka Järveläinen