Skip to content

Commit a07e7bd

Browse files
committed
Merge branch 'release/v2.0.1'
2 parents 7ad7891 + fcf3c1f commit a07e7bd

File tree

10 files changed

+5300
-1902
lines changed

10 files changed

+5300
-1902
lines changed

.github/workflows/main.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on: [push]
7+
8+
env:
9+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
10+
11+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+
jobs:
13+
checkLinks:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Use Node.js
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 14.x
21+
- run: npm i -g markdown-link-check
22+
- run: markdown-link-check ./README.md
23+
buildPage:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: Use Node.js
28+
uses: actions/setup-node@v1
29+
with:
30+
node-version: 14.x
31+
- run: npm ci
32+
- run: npx gh-openapi-docs
33+
- run: bash scripts/update-ghpages.sh

.github/workflows/validate.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
on: [push]
2+
3+
4+
jobs:
5+
test_swagger_editor_validator_remote:
6+
runs-on: ubuntu-latest
7+
name: Swagger Editor Validator Remote
8+
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Validate OpenAPI definition
13+
uses: char0n/[email protected]
14+
with:
15+
definition-file: openapi/openapi.yaml

.spec-docs.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"apiSpecPath": "openapi/openapi.yaml"
3+
}
4+

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
![ga4gh logo](https://github.com/dockstore/dockstore-ui2/raw/develop/src/assets/images/sponsors/coloured/ga4gh.png)
1+
![ga4gh logo](https://raw.githubusercontent.com/dockstore/dockstore-ui2/2.7.4/images/high-res/ga4gh.png)
22

33
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3374001.svg)](https://doi.org/10.5281/zenodo.3374001)
44

55

66
Schemas for the GA4GH Tool Registry API
77
=======================================
88

9-
This repository is the home for the schema for the GA4GH Tool Registry API. The goal of the API is to provide a standardized way to describe the availability of tools and workflows. In this way, we can have multiple repositories that share Docker-based tools and WDL/CWL/Nextflow-based workflows and have a consistent way to interact, search, and retrieve information from these various registries. The end goal is to make it much easier to share scientific tools and workflows, enhancing our ability to make research reproducible, sharable, and transparent.
9+
This repository is the home for the schema for the GA4GH Tool Registry API. The goal of the API is to provide a standardized way to describe the availability of tools and workflows. In this way, we can have multiple repositories that share Docker-based tools and WDL/CWL/Nextflow/Galaxy/Snakemake-based workflows and have a consistent way to interact, search, and retrieve information from these various registries. The end goal is to make it much easier to share scientific tools and workflows, enhancing our ability to make research reproducible, sharable, and transparent.
1010

11-
**See the human-readable [Reference Documentation](https://ga4gh.github.io/tool-registry-service-schemas). You can also explore the specification in the [Swagger Editor](https://editor.swagger.io/?url=https://raw.githubusercontent.com/ga4gh/tool-registry-schemas/develop/openapi/ga4gh-tool-discovery.yaml).** *Manually load the JSON if working from a non-develop branch version.*
11+
**See the human-readable [Reference Documentation](https://ga4gh.github.io/tool-registry-service-schemas). You can also explore the specification in the [Swagger Editor](https://editor.swagger.io/?url=https://raw.githubusercontent.com/ga4gh/tool-registry-schemas/develop/openapi/openapi.yaml).** *Manually load the JSON if working from a non-develop branch version.* Preview documentation from the [gh-openapi-docs](https://github.com/ga4gh/gh-openapi-docs) for the development branch [here](https://ga4gh.github.io/tool-registry-service-schemas/preview/develop/docs/index.html)
1212

1313
The [Global Alliance for Genomics and Health](http://genomicsandhealth.org/) (GA4GH) is an international
1414
coalition, formed to enable the sharing of genomic and clinical data.
@@ -26,7 +26,7 @@ The Containers & Workflows working group is an informal, multi-vendor working gr
2626
What is the Tool Registry API Schema?
2727
-------------------------------------
2828

29-
This is the home of the schema for the GA4GH Tool Registry API. The GA4GH Tool Registry API is a standard for listing and describing available tools (both stand-alone, Docker-based tools as well as workflows in CWL, WDL or Nextflow) in a given registry. This defines a minimal, common API describing tools that we propose for support by multiple tool/workflow registries like [Dockstore](https://www.dockstore.org/), [BioContainers](https://biocontainers.pro), and [Agora](https://github.com/broadinstitute/agora) for the purposes of exchange, indexing, and searching.
29+
This is the home of the schema for the GA4GH Tool Registry API. The GA4GH Tool Registry API is a standard for listing and describing available tools (both stand-alone, Docker-based tools as well as workflows in CWL, WDL, Nextflow, Galaxy or Snakemake) in a given registry. This defines a minimal, common API describing tools that we propose for support by multiple tool/workflow registries like [Dockstore](https://www.dockstore.org/), [BioContainers](https://biocontainers.pro), and [Agora](https://github.com/broadinstitute/agora) for the purposes of exchange, indexing, and searching.
3030

3131
This repo uses the [HubFlow](https://datasift.github.io/gitflow/) scheme which is closely based on [GitFlow](https://nvie.com/posts/a-successful-git-branching-model/). In practice, this means that the master branch contains the last production release of the schema whereas the develop branch contains the latest development changes which will end up in the next production release.
3232
As of July 2019, this means that the 1.0.0 version is described on master whereas the develop branch contains the 2.0.0-beta.3 version which will evolve into the 2.0.0 production release.
@@ -36,7 +36,8 @@ Our current proposal is to start with a read-only API due to potentially differe
3636
Key features of the current API proposal:
3737

3838
* read-only API
39-
* May serve up CWL, WDL or Nextflow to describe a tool or represent a workflow depending on the tool/workflow submitter
39+
* May serve up CWL, WDL, Nextflow, Galaxy or Snakemake to describe a tool or represent a workflow
40+
depending on the tool/workflow submitter
4041
* ID: globally unique across systems and also identifies the system that it came from (ex: [email protected] )
4142

4243

@@ -50,7 +51,7 @@ Outstanding questions:
5051
How to view
5152
------------
5253

53-
See the swagger editor to view our [schema in progress](https://editor.swagger.io/?url=https://raw.githubusercontent.com/ga4gh/tool-registry-schemas/develop/openapi/ga4gh-tool-discovery.yaml).
54+
See the swagger editor to view our [schema in progress](https://editor.swagger.io/?url=https://raw.githubusercontent.com/ga4gh/tool-registry-schemas/develop/openapi/openapi.yaml).
5455

5556

5657
How to contribute changes

openapi/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Instruction for modifying the TRS
22

33
To make changes to the TRS, join the GA4GH organization or ask to join this repository as a collaborator. Then in your branch, modify:
4-
- The swagger yaml file (`ga4gh-tool-discovery.yaml`) with a Swagger 2 definition of the changes.
5-
- This swagger yaml file will be used in the validation server.
6-
- An OpenAPI yaml file (`openapi.yaml`) with an OpenAPI 3 definition of the changes will be auto-generated by swagger2openapi and checked in by an automated TravisCI build
4+
- The openapi.yaml file with an OpenAPI 3 definition of the changes.
5+
- This openapi yaml file will be used in the TRS validation server.
76

7+
The v1 directory should not be modified. It provides backward compatibility support for TRS servers/clients.

0 commit comments

Comments
 (0)