Skip to content

CSCfi/DataCopierCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataCopierCore

API of the https://github.com/CSCfi/DataCopierEngine

This project uses Quarkus.

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

mvn compile quarkus:dev

Packaging and running the application

The application can be packaged using:

mvn package

It 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" } } }

Creating a native executable

You can create a native executable using:

./mvn package -Pnative

and the docker file is in src/main/docker directory and the native case use the native one which contains further build instructions

Provided Code

Config

is in src/main/resources directory

Author

Pekka Järveläinen

Releases

No releases published

Packages

 
 
 

Contributors

Languages