-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update TES executor to TES API v1.1 (#4195) [ci fast]
Signed-off-by: Ben Sherman <bentshermann@gmail.com> Signed-off-by: Liam Beckman <lbeckman314@gmail.com> Signed-off-by: Venkat Malladi <vmalladi@microsoft.com> Co-authored-by: Liam Beckman <lbeckman314@gmail.com> Co-authored-by: Venkat Malladi <vmalladi@microsoft.com> Co-authored-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
- Loading branch information
1 parent
b9bf641
commit 7b32c2d
Showing
43 changed files
with
2,070 additions
and
1,039 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# GA4GH plugin for Nextflow | ||
|
||
This plugin implements the support for GA4GH APIs for Nextflow. Currently only supports the [Task Execution Service (TES) API](https://github.com/ga4gh/task-execution-schemas). | ||
|
||
## SDK Generation | ||
|
||
[Swagger Codegen](https://github.com/swagger-api/swagger-codegen) was used to generate the Java SDK for TES based on the [TES OpenAPI specification](https://github.com/ga4gh/task-execution-schemas/blob/develop/openapi/task_execution_service.openapi.yaml). | ||
|
||
The easiest way to generate the Java SDK is with the [Docker image](https://github.com/swagger-api/swagger-codegen#swagger-codegen-cli-docker-image): | ||
|
||
```bash | ||
# download the TES OpenAPI spec | ||
wget https://github.com/ga4gh/task-execution-schemas/raw/v1.1/openapi/task_execution_service.openapi.yaml | ||
|
||
# convert the spec to JSON | ||
python3 -c 'import sys, yaml, json; y=yaml.safe_load(sys.stdin.read()); print(json.dumps(y, indent=2, default=str))' \ | ||
< task_execution_service.openapi.yaml \ | ||
> task_execution_service.openapi.json | ||
|
||
# generate the Java SDK | ||
docker run -v ${PWD}:/local swaggerapi/swagger-codegen-cli-v3 generate -i /local/task_execution_service.openapi.json -l java -o /local | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.