Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cscfi/datacopiercore
API of the https://github.com/CSCfi/DataCopierEngine
https://github.com/cscfi/datacopiercore
java-11 maven quarkus
Last synced: 8 days ago
JSON representation
API of the https://github.com/CSCfi/DataCopierEngine
- Host: GitHub
- URL: https://github.com/cscfi/datacopiercore
- Owner: CSCfi
- License: gpl-3.0
- Created: 2021-08-19T07:19:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-31T10:54:54.000Z (about 1 year ago)
- Last Synced: 2024-03-19T06:14:45.323Z (8 months ago)
- Topics: java-11, maven, quarkus
- Language: Java
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DataCopierCore
API of the https://github.com/CSCfi/DataCopierEngineThis project uses Quarkus.
## Running the application in dev modeYou can run your application in dev mode that enables live coding using:
```shell script
mvn compile quarkus:dev
```## Packaging and running the application
The application can be packaged using:
```shell script
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:
```shell script
./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