Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pditommaso/nf-sandbox
https://github.com/pditommaso/nf-sandbox
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pditommaso/nf-sandbox
- Owner: pditommaso
- License: apache-2.0
- Created: 2018-05-24T21:48:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-24T20:03:51.000Z (over 6 years ago)
- Last Synced: 2024-10-15T09:56:12.984Z (2 months ago)
- Language: Java
- Size: 486 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NF SANDBOX
Sandbox for a [GA4GH](https://github.com/ga4gh/workflow-execution-service-schemas/) back-end implementation.
Service model was generated using the following swagger definition:
https://raw.githubusercontent.com/ga4gh/workflow-execution-service-schemas/0f20538/swagger/proto/workflow_execution.swagger.json
To update the model:
1) Go to https://editor.swagger.io
2) Use the menu command "File > Import URL"
3) Then use the command "Generate Client > jaxrs-cfx-client"
4) Unzip the downloaded package and copy the model classes## Get started
To run unit tests use
```
./gradlew test
```To run the local server use:
```
make run
```Default port is 8080. To change check the file `src/main/resources/application.groovy`
The fun part is at these files:
```
./src/main/groovy/ga4gh/WesController.groovy
./src/test/groovy/ga4gh/WesControllerTest.groovy
```## Hot reloading
To automatically reload class, resources changes without having to stop, compile and relaunch
the application use the command `make hotreload`, after `make run`.For details see [Micronaut reloading](https://docs.micronaut.io/latest/guide/index.html#reloading).