Skip to content

Commit

Permalink
#53 - Change query of monitoring service
Browse files Browse the repository at this point in the history
- remove level 2 connection of resource CHD7
- include Orphacode 635 in the default monitoring query
- remove sex filter in the default monitoring query
  • Loading branch information
vabishaa committed Apr 5, 2024
1 parent 702e9df commit 3c8091b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,12 @@ private static BeaconRequestBodyQuerySection getDefaultQuerySection() {
BeaconRequestBodyQuerySection querySection = new BeaconRequestBodyQuerySection();
List<BeaconRequestBodyFilter> filters = new ArrayList<>();
BeaconRequestBodyOntologyFilter filter = new BeaconRequestBodyOntologyFilter();
filter.setId(Collections.singletonList("Orphanet_730"));
List<String> ids = new ArrayList<>();
ids.add("Orphanet_730");
ids.add("Orphanet_635");
filter.setId(ids);
filters.add(filter);
filters.add(buildSexFilter(Arrays.asList(Sex.values())));
//filters.add(buildSexFilter(Arrays.asList(Sex.values())));
filters.add(buildMinAgeFilter(0));
filters.add(buildMaxAgeFilter(100));
filters.add(buildMinSymptomOnsetFilter(0));
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/static/resources.txt
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
},
{
"resourceName": "CHD7",
"resourceAddress": "https://mutatiedatabases.molgeniscloud.org/api/beacon/individuals",
"resourceAddress": "",
"resourceHomePage": "",
"email": "[email protected]",
"resourceDescription": "",
Expand All @@ -357,7 +357,7 @@
"specsURL": "",
"logo": "",
"resourceContentType": "",
"queryable": true,
"queryable": false,
"queryType": ["BEACON_INDIVIDUALS"],
"theme": []
},
Expand Down

0 comments on commit 3c8091b

Please sign in to comment.