Skip to content

Commit

Permalink
Merge pull request #11 from elixir-europe/minor_fixes
Browse files Browse the repository at this point in the history
release 1.0.7 - Minor fixes
  • Loading branch information
gcornut authored Feb 5, 2019
2 parents 0bbfbd3 + 759855e commit cb5aa25
Show file tree
Hide file tree
Showing 46 changed files with 1,266 additions and 919 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ celerybeat-schedule
# virtualenv
.venv/
venv/
venv-py/
ENV/

# Spyder project settings
Expand Down
259 changes: 0 additions & 259 deletions config/extract-brapi.json

This file was deleted.

1 change: 1 addition & 0 deletions config/extract-brapi/entities/contact.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
27 changes: 27 additions & 0 deletions config/extract-brapi/entities/germplasm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"list": {
"call": [
{
"method": "GET",
"path": "germplasm",
"page-size": 500
},
{
"method": "GET",
"path": "germplasm-search",
"page-size": 500
},
{
"method": "POST",
"path": "germplasm-search",
"page-size": 500
}
]
},
"detail": {
"call": {
"method": "GET",
"path": "germplasm/{germplasmDbId}"
}
}
}
18 changes: 18 additions & 0 deletions config/extract-brapi/entities/location.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"list": {
"call": [
{
"method": "GET",
"path": "locations",
"page-size": 500
}
]
},
"detail": {
"skip-if-in-store": true,
"call": {
"method": "GET",
"path": "locations/{locationDbId}"
}
}
}
28 changes: 28 additions & 0 deletions config/extract-brapi/entities/observationUnit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"-list": {
"call": [
{
"method": "POST",
"path": "phenotypes-search",
"page-size": 500
}
]
},
"links": [
{
"type": "internal",
"entity": "study",
"json-path": "."
},
{
"type": "internal",
"entity": "germplasm",
"json-path": "."
},
{
"type": "internal",
"entity": "observationVariable",
"json-path": ".observations.observationVariableDbId"
}
]
}
23 changes: 23 additions & 0 deletions config/extract-brapi/entities/observationVariable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"list": {
"call": [
{
"method": "GET",
"path": "variables",
"page-size": 500
},
{
"method": "POST",
"path": "variables-search",
"page-size": 500
}
]
},
"links": [
{
"type": "internal",
"entity": "ontology",
"json-path": "."
}
]
}
11 changes: 11 additions & 0 deletions config/extract-brapi/entities/ontology.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"list": {
"call": [
{
"method": "GET",
"path": "ontologies",
"page-size": 500
}
]
}
}
Loading

0 comments on commit cb5aa25

Please sign in to comment.