forked from Luke-Sikina/picsure-search-refinement
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/release' into ALS-7694
- Loading branch information
Showing
48 changed files
with
993 additions
and
132 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## Docker commands for local development | ||
### Docker build | ||
```bash | ||
docker build --no-cache --build-arg SPRING_PROFILE=bdc-dev -t weights:latest . | ||
``` | ||
|
||
### Docker run | ||
You will need a local weights.csv file. | ||
```bash | ||
docker run --rm -t --name dictionary-weights --network=host -v ./weights.csv:/weights.csv weights:latest | ||
``` |
9 changes: 9 additions & 0 deletions
9
dictionaryweights/src/main/resources/application-bdc-dev.properties
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,9 @@ | ||
spring.application.name=dictionaryweights | ||
spring.main.web-application-type=none | ||
|
||
spring.datasource.url=jdbc:postgresql://localhost:5432/dictionary_db?currentSchema=dict | ||
spring.datasource.username=username | ||
spring.datasource.password=password | ||
spring.datasource.driver-class-name=org.postgresql.Driver | ||
|
||
weights.filename=/weights.csv |
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,7 @@ | ||
concept_node.DISPLAY,2 | ||
concept_node.CONCEPT_PATH,2 | ||
dataset.FULL_NAME,1 | ||
dataset.DESCRIPTION,1 | ||
parent.DISPLAY,1 | ||
grandparent.DISPLAY,1 | ||
concept_node_meta_str,1 |
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,16 @@ | ||
# curl 'https://dev.picsure.biodatacatalyst.nhlbi.nih.gov/picsure/proxy/dictionary-api/concepts?page_number=1&page_size=1' | ||
# -H 'origin: https://dev.picsure.biodatacatalyst.nhlbi.nih.gov' | ||
# -H 'referer: https://dev.picsure.biodatacatalyst.nhlbi.nih.gov/' | ||
# --data-raw '{"facets":[],"search":"","consents":[]}' | ||
POST http://localhost:80/concepts?page_number=0&page_size=100 | ||
Content-Type: application/json | ||
|
||
{"facets":[],"search":"lipid triglyceride"} | ||
|
||
### | ||
|
||
POST http://localhost:80/search | ||
Content-Type: application/json | ||
|
||
{"@type":"GeneralQueryRequest","resourceCredentials":{},"query":{"searchTerm":"throat sore acute #8","includedTags":[], | ||
"excludedTags":[],"returnTags":"true","offset":0,"limit":100000},"resourceUUID":null} |
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
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
1 change: 0 additions & 1 deletion
1
src/main/java/edu/harvard/dbmi/avillach/dictionary/concept/model/ConceptShell.java
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
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.