Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
f19a991
Update gradle version to match evs-explore
bcarlsenca Jun 6, 2025
4cd0fff
update flags/indexes separately
Jun 9, 2025
991b228
static stuff
Jun 9, 2025
e19ae92
fix scoping
Jun 9, 2025
1e493fb
standardize some whitespace
Jun 9, 2025
7f8e7a3
add version to logging
Jun 9, 2025
ca074e6
add a fake terminology to index reconciliation
Jun 9, 2025
37503d4
move reconciliation to early on in main
Jun 9, 2025
376626c
make the reconcile catch more explicit
Jun 9, 2025
78ad554
add trivy-scan to transition develop branches
Jun 9, 2025
70e64f3
Merge branch 'develop' into develop-2.3
bcarlsenca Jun 10, 2025
4523a73
EVSRESTAPI-608: fhir history calls and related JUnit tests (#368)
shapirod2 Jun 10, 2025
b48805b
Merge branch 'develop-2.3' into pva/EVSRESTAPI-596-reconcile-at-end
peter-va Jun 10, 2025
ab562c8
Merge branch 'develop' into develop-2.3
bcarlsenca Jun 11, 2025
365283f
merging non-ncit hotfix into develop-2.3 (#373)
peter-va Jun 12, 2025
f7464a6
Small fix to script to let run properly on mac
bcarlsenca Jun 14, 2025
e0eca32
Merge branch 'develop' into pva/EVSRESTAPI-596-reconcile-at-end
bcarlsenca Jun 16, 2025
8480a45
Merge pull request #370 from NCIEVS/pva/EVSRESTAPI-596-reconcile-at-end
peter-va Jun 16, 2025
98bff4d
fix bugs with mapset removal
Jun 17, 2025
261261b
CVE-2025-48988 fix
Jun 18, 2025
3420a2a
add test for removed mapset
Jun 18, 2025
1c650d6
Merge branch 'develop' into develop-2.3
bcarlsenca Jun 20, 2025
89eefeb
Merge pull request #377 from NCIEVS/PVA/EVSRESTAPI-613-verify-mapset-…
peter-va Jun 21, 2025
8ec5f61
Dss/evsrestapi 619 instance url param (#378)
shapirod2 Jun 23, 2025
17c6c73
Merge branch 'develop' into develop-2.3
bcarlsenca Jun 24, 2025
f081a8f
change filename for medrt devreset
Jun 25, 2025
52fac32
fix test for new version
Jun 25, 2025
d5a9ef5
Merge branch 'develop' into develop-2.3
bcarlsenca Jun 27, 2025
6ac9b11
Spotless formatting
bcarlsenca Jun 27, 2025
1a900ad
sampling and test fixes
Jun 30, 2025
f52f3f0
change devreset link
Jun 30, 2025
a187536
Dss/evsrestapi 622 conceptmap translate (#381)
shapirod2 Jun 30, 2025
ab78700
Merge pull request #382 from NCIEVS/EVSRESTAPI-627-update-unittestdat…
peter-va Jun 30, 2025
35823b8
Merge branch 'develop-2.3' into PVA/EVSRESTAPI-628-update-unittestdat…
peter-va Jun 30, 2025
3036a1c
Dss/evsrestapi 621 valueset performance (#385)
shapirod2 Jul 2, 2025
e021fc6
Merge pull request #383 from NCIEVS/PVA/EVSRESTAPI-628-update-unittes…
peter-va Jul 3, 2025
66cd98a
EVSRESTAPI-620: update parameter setting on valueset expands endpoint…
shapirod2 Jul 3, 2025
3261ed5
Dss/evsrestapi 623 fhir clientsdk tests (#384)
shapirod2 Jul 3, 2025
a9ca0d7
Dss/evsrestapi 558 fhir dates (#386)
shapirod2 Jul 3, 2025
0770b07
change to new filename
Jul 3, 2025
93070c7
update file refs in devreset and load.sh
Jul 3, 2025
8ad6ec3
Merge branch 'develop-2.3' into PVA/EVSRESTAPI-631-update-unittestdat…
Jul 4, 2025
0b757f7
fix a couple issues with -d
Jul 7, 2025
7714713
CLEANUP: warnings and formatting
bcarlsenca Jul 7, 2025
51ce6b3
fix canmed devreset
Jul 8, 2025
5997eab
fix load canmed
Jul 8, 2025
7489f02
edit hgnc sample test
Jul 8, 2025
7e78a04
add default cumulative history
Jul 8, 2025
687c539
Merge branch 'PVA/EVSRESTAPI-631-update-unittestdata-hgnc' into PVA/E…
Jul 8, 2025
a7ff33c
change filename
Jul 8, 2025
5f06db0
edit sample test
Jul 8, 2025
895a547
edit sampling for go
Jul 9, 2025
5e11617
edit filename for chebi
Jul 9, 2025
f1ca587
fix chebi sample tests
Jul 9, 2025
d143ad0
Merge pull request #387 from NCIEVS/PVA/EVSRESTAPI-631-update-unittes…
peter-va Jul 9, 2025
07b9b4c
Merge branch 'develop-2.3' into PVA/EVSRESTAPI-630-update-unittestdat…
Jul 9, 2025
adef7e2
Merge pull request #388 from NCIEVS/PVA/EVSRESTAPI-630-update-unittes…
peter-va Jul 9, 2025
0b3f417
Merge pull request #389 from NCIEVS/PVA/EVSRESTAPI-629-update-unittes…
peter-va Jul 9, 2025
f45de80
CLEANUP: imports and small efficiency thing
bcarlsenca Jul 9, 2025
1e96452
Merge branch 'develop-2.3' of github.com:NCIEVS/evsrestapi into devel…
bcarlsenca Jul 9, 2025
af3fff3
Dss/evsrestapi 626 conceptmap date (#391)
shapirod2 Jul 11, 2025
73b8b55
move to searchable
Jul 13, 2025
4e791c2
remove reliance on localhost running in local reindex
Jul 13, 2025
ea99307
reconcile graphdb/elasticsearch in reindex
Jul 13, 2025
0ab89cc
tweaks
Jul 14, 2025
f8e5218
Dss/evsrestapi 626 conceptmap date (#394)
shapirod2 Jul 14, 2025
ff22ba7
Merge pull request #392 from NCIEVS/PVA/EVSRESTAPI-639-move-ncit-maps…
peter-va Jul 14, 2025
da18fd6
Merge pull request #393 from NCIEVS/PVA/EVSRESTAPI-573-reconcile-grap…
peter-va Jul 14, 2025
fdd50c8
change locations for consistency
Jul 14, 2025
01d3dda
new samples
Jul 14, 2025
e20790a
change message in reindex
Jul 14, 2025
24d0801
Merge branch 'develop-2.3' into PVA/EVSRESTAPI-632-update-unittestdat…
Jul 14, 2025
2e8581b
fix merge issue with develop-2.3
Jul 14, 2025
d13710d
change filenames
Jul 14, 2025
3a7b434
partial test change
Jul 15, 2025
4411700
remove logging
Jul 15, 2025
ba48395
fix some tests based on terminology version
Jul 15, 2025
bda57fd
spotless stuff
Jul 15, 2025
189cfe9
fix a test
Jul 15, 2025
9a6dd36
Merge branch 'PVA/EVSRESTAPI-632-update-unittestdata-ncit' of https:/…
Jul 15, 2025
046e96c
fix a few more tests
Jul 15, 2025
4474f47
fix more tests
Jul 15, 2025
2959a83
add history file
Jul 16, 2025
b7459fe
Merge branch 'PVA/EVSRESTAPI-642-fix-normname-processing-in-history-c…
Jul 17, 2025
00b5adc
edits to ncit samples
Jul 17, 2025
2d42fe5
exclude synonyms from update
Jul 17, 2025
75c87d2
fix tests
Jul 17, 2025
de49c34
add more fix to WriteOnlyProperty issues
Jul 18, 2025
ce6228e
tune the fields that we're using WriteOnlyProperties for
Jul 18, 2025
c96c4ef
Merge branch 'develop' into PVA/EVSRESTAPI-632-update-unittestdata-ncit
Jul 21, 2025
edfc38d
Merge pull request #395 from NCIEVS/PVA/EVSRESTAPI-632-update-unittes…
peter-va Jul 21, 2025
2c7c55a
Merge branch 'develop-2.3' into PVA/EVSRESTAPI-575-improve-term-form-…
Jul 21, 2025
f519ac7
change tests to work with configs set
Jul 22, 2025
24846be
escape hatch env var
Jul 22, 2025
5e30b9f
add one more test to the config checking
Jul 22, 2025
9f95aa3
add more tests
Jul 22, 2025
3a2b8aa
some of these tests aren't actually integration tests
Jul 22, 2025
952ffcb
tests don't do anything because of the mock bean, removing
Jul 22, 2025
a8e2594
revert last bit of those tests
Jul 22, 2025
f48a286
Merge branch 'develop' into develop-2.3
bcarlsenca Jul 23, 2025
eec4eb3
fix filepaths
Jul 23, 2025
b28f5ec
syntax error
Jul 23, 2025
04aee63
remove writeonlyproperty + add test
Jul 23, 2025
c6d9d99
Merge branch 'develop-2.3' into PVA/EVSRESTAPI-643-review-writeonlypr…
Jul 23, 2025
f231e31
edit how the config checker works based on env variables
Jul 23, 2025
2c4bfd4
tweaks from feedback
Jul 23, 2025
84d8d13
Dss/evsrestapi 620 valueset expand tests (#397)
shapirod2 Jul 25, 2025
30e177d
EVSRESTAPI: update canmed testing version (#396)
shapirod2 Jul 25, 2025
212be0c
Merge pull request #401 from NCIEVS/PVA/EVSRESTAPI-643-review-writeon…
peter-va Jul 28, 2025
fa28b15
add sourceTerminologyVersion for all mappings
Jul 28, 2025
38008e6
add filepaths for welcomeText
Jul 29, 2025
c7cdc20
changing how we handle building mapping data
Jul 30, 2025
b69d141
Add comments at the top of the text explaining comments from the gith…
bcarlsenca Jul 30, 2025
9205608
bail on integration tests when configs not set
Jul 31, 2025
07c11ec
remove GDC-specific sentence
Jul 31, 2025
f57e50b
some changes to loading metadata for non-indexed mappings
Jul 31, 2025
f1937e2
Small fixes for UnitTestData alignment
bcarlsenca Jul 31, 2025
cbb3ae5
EVSREsTAPI-651: ensure mapset loader handles first line properly (#404)
bcarlsenca Aug 1, 2025
ae3f2f9
add test for ncit_maps_to properties
Aug 1, 2025
c88cfb0
Merge pull request #405 from NCIEVS/PVA/EVSRESTAPI-548-sourceTerminol…
peter-va Aug 2, 2025
c568a37
EVSRESTAPI-650: avoid static assignment of fhirUri/Publisher (#403)
bcarlsenca Aug 4, 2025
e41c2f2
Merge pull request #400 from NCIEVS/PVA/EVSRESTAPI-575-improve-term-f…
peter-va Aug 4, 2025
684a22f
Merge branch 'develop' into develop-2.3
bcarlsenca Aug 5, 2025
078a41c
fix some sample tests
Aug 6, 2025
4f78881
some fixes to indexing
Aug 7, 2025
5094ab6
single out owl:deprecated to support new chebi
Aug 8, 2025
71b7305
fix unit test data pathing
Aug 15, 2025
3254c12
edit qualifier model to show code
Aug 15, 2025
9d71c05
edit indexing to add code to qualifiers
Aug 15, 2025
779c9d8
clear out more removing-code lines
Aug 15, 2025
2ba967b
add test for viewable qualifier codes
Aug 18, 2025
2ffdf5e
spotless
Aug 18, 2025
5616790
one more qualifier code check
Aug 18, 2025
780028b
remove unused clearHidden functions
Aug 19, 2025
b6c7c80
add qualifier sample to ncit.txt
Aug 19, 2025
45c71e7
Merge pull request #406 from NCIEVS/PVA/EVSRESTAPI-641-update-for-new…
peter-va Aug 19, 2025
2c6963c
EVSRESTAPI-407: handling part of NCIM update (#407)
bcarlsenca Aug 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- develop
- develop-*
- master

workflow_dispatch: # Allows manual runs from the GitHub UI
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ spotless {
}

// # for this, the cuis with listed sources will have hierarchies computed
// ./gradlew rrfSample -Pterminology=NCIMTH,ICD10CM,ICD9CM,SNOMEDCT_US,RXNORM,LNC,MDR,RADLEX -PlistFile=src/main/resources/cuis.txt -PinputPath=../data/NCIM
// ./gradlew rrfSample -Pterminology=NCIMTH,MDR,ICD10CM,ICD9CM,LNC,SNOMEDCT_US,RADLEX,PDQ,ICD10,HL7V3.0 -PlistFile=src/main/resources/cuis-202508.txt -PinputPath=../data/NCIM
tasks.register('rrfSample', JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = "gov.nih.nci.evs.api.service.SamplingApplication"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
40 changes: 20 additions & 20 deletions src/main/bin/devreset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ $help == 1 ] || [ ${#arr[@]} -ne 1 ]; then
fi
dir=${arr[0]}
# Hardcode the history file
historyFile=$dir/cumulative_history_21.06e.txt
historyFile=$dir/NCIT/cumulative_history_25.06e.txt


databases=("NCIT2" "CTRP")
Expand Down Expand Up @@ -78,41 +78,41 @@ fi

# Check NCIM
echo " check NCIM"
ct=`ls $dir/NCIM | grep RRF | wc -l`
if [[ $ct -le 20 ]]; then
echo "ERROR: unexpectedly small number of NCIM/*RRF files = $ct"
ct=`ls $dir/NCIM | egrep "(AUI|COLS|CONSO|CUI|DEF|DOC|FILES|HIER|MAP|RANK|REL|SAB|SAT|STY)*RRF" | wc -l`
if [[ ! $ct -eq 14 ]]; then
echo "ERROR: unexpectedly missing NCIM/*RRF files = $dir/NCIM"
exit 1
fi
# Check NCIt weekly
echo " check NCIt weekly"
if [[ ! -e "$dir/ThesaurusInferred_+1weekly.owl" ]]; then
if [[ ! -e "$dir/NCIT/ThesaurusInferred_+1weekly.owl" ]]; then
echo "ERROR: unexpectedly ThesaurusInferred_+1weekly.owl file"
exit 1
fi
# Check NCIt monthly
echo " check NCIt monthly"
if [[ ! -e "$dir/ThesaurusInferred_monthly.owl" ]]; then
if [[ ! -e "$dir/NCIT/ThesaurusInferred_monthly.owl" ]]; then
echo "ERROR: unexpectedly ThesaurusInferred_monthly.owl file"
exit 1
fi
# Check GO monthly
echo " check GO monthly"
if [[ ! -e "$dir/GO/go.2022-07-01.owl" ]]; then
echo "ERROR: unexpectedly missing GO/go.2022-07-01.owl file"
if [[ ! -e "$dir/GO/GO.20250601.owl" ]]; then
echo "ERROR: unexpectedly missing GO/GO.20250601.owl file"
exit 1
fi

# Check HGNC monthly
echo " check HGNC monthly"
if [[ ! -e "$dir/HGNC/HGNC_202209.owl" ]]; then
echo "ERROR: unexpectedly missing HGNC/HGNC_202209.owl file"
if [[ ! -e "$dir/HGNC/HGNC.202507.owl" ]]; then
echo "ERROR: unexpectedly missing HGNC/HGNC.202507.owl file"
exit 1
fi

# Check ChEBI monthly
echo " check ChEBI monthly"
if [[ ! -e "$dir/ChEBI/chebi_213.owl" ]]; then
echo "ERROR: unexpectedly missing ChEBI/chebi_213.owl file"
if [[ ! -e "$dir/ChEBI/chebi_241.owl" ]]; then
echo "ERROR: unexpectedly missing ChEBI/chebi_241.owl file"
exit 1
fi

Expand Down Expand Up @@ -290,15 +290,15 @@ load_terminology_data(){
}

load_data(){
load_terminology_data CTRP http://NCI_T_weekly ThesaurusInferred_+1weekly.owl
load_terminology_data CTRP http://NCI_T_monthly ThesaurusInferred_monthly.owl
load_terminology_data NCIT2 http://NCI_T_monthly ThesaurusInferred_monthly.owl
load_terminology_data NCIT2 http://GO_monthly GO/go.2022-07-01.owl
load_terminology_data NCIT2 http://HGNC_monthly HGNC/HGNC_202209.owl
load_terminology_data NCIT2 http://ChEBI_monthly ChEBI/chebi_213.owl
load_terminology_data CTRP http://NCI_T_weekly NCIT/ThesaurusInferred_+1weekly.owl
load_terminology_data CTRP http://NCI_T_monthly NCIT/ThesaurusInferred_monthly.owl
load_terminology_data NCIT2 http://NCI_T_monthly NCIT/ThesaurusInferred_monthly.owl
load_terminology_data NCIT2 http://GO_monthly GO/GO.20250601.owl
load_terminology_data NCIT2 http://HGNC_monthly HGNC/HGNC.202507.owl
load_terminology_data NCIT2 http://ChEBI_monthly ChEBI/chebi_241.owl
load_terminology_data NCIT2 http://UmlsSemNet UmlsSemNet/umlssemnet.owl
load_terminology_data NCIT2 http://MEDRT MED-RT/medrt.owl
load_terminology_data NCIT2 http://Canmed CanMed/canmed.owl
load_terminology_data NCIT2 http://Canmed CanMed/CANMED.202506.owl
load_terminology_data NCIT2 http://MEDRT MED-RT/MEDRT.2025-06-02.owl
load_terminology_data NCIT2 http://CTCAE CTCAE/ctcae5.owl
load_terminology_data NCIT2 http://DUO_monthly DUO/duo_Feb21.owl
load_terminology_data NCIT2 http://DUO_monthly DUO/iao_Dec20.owl
Expand Down
34 changes: 17 additions & 17 deletions src/main/bin/load.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi
dir=${arr[0]}

# Hardcode the history file
historyFile=$dir/cumulative_history_21.06e.txt
historyFile=$dir/NCIT/cumulative_history_25.06e.txt


databases=("NCIT2" "CTRP")
Expand Down Expand Up @@ -64,34 +64,34 @@ echo " Check prerequisites"

# Check NCIt weekly
echo " check NCIt weekly"
if [[ ! -e "$dir/ThesaurusInferred_+1weekly.owl" ]]; then
if [[ ! -e "$dir/NCIT/ThesaurusInferred_+1weekly.owl" ]]; then
echo "ERROR: unexpectedly ThesaurusInferred_+1weekly.owl file"
exit 1
fi
# Check NCIt monthly
echo " check NCIt monthly"
if [[ ! -e "$dir/ThesaurusInferred_monthly.owl" ]]; then
if [[ ! -e "$dir/NCIT/ThesaurusInferred_monthly.owl" ]]; then
echo "ERROR: unexpectedly ThesaurusInferred_monthly.owl file"
exit 1
fi
# Check GO monthly
echo " check GO monthly"
if [[ ! -e "$dir/GO/go.2022-07-01.owl" ]]; then
echo "ERROR: unexpectedly missing GO/go.2022-07-01.owl file"
if [[ ! -e "$dir/GO/GO.20250601.owl" ]]; then
echo "ERROR: unexpectedly missing GO/GO.20250601.owl file"
exit 1
fi

# Check HGNC monthly
echo " check HGNC monthly"
if [[ ! -e "$dir/HGNC/HGNC_202209.owl" ]]; then
echo "ERROR: unexpectedly missing HGNC/HGNC_202209.owl file"
if [[ ! -e "$dir/HGNC/HGNC.202507.owl" ]]; then
echo "ERROR: unexpectedly missing HGNC/HGNC.202507.owl file"
exit 1
fi

# Check ChEBI monthly
echo " check ChEBI monthly"
if [[ ! -e "$dir/ChEBI/chebi_213.owl" ]]; then
echo "ERROR: unexpectedly missing ChEBI/chebi_213.owl file"
if [[ ! -e "$dir/ChEBI/chebi_241.owl" ]]; then
echo "ERROR: unexpectedly missing ChEBI/chebi_241.owl file"
exit 1
fi

Expand Down Expand Up @@ -177,15 +177,15 @@ load_terminology_data(){
}

load_data(){
load_terminology_data CTRP http://NCI_T_weekly ThesaurusInferred_+1weekly.owl
load_terminology_data CTRP http://NCI_T_monthly ThesaurusInferred_monthly.owl
load_terminology_data NCIT2 http://NCI_T_monthly ThesaurusInferred_monthly.owl
load_terminology_data NCIT2 http://GO_monthly GO/go.2022-07-01.owl
load_terminology_data NCIT2 http://HGNC_monthly HGNC/HGNC_202209.owl
load_terminology_data NCIT2 http://ChEBI_monthly ChEBI/chebi_213.owl
load_terminology_data CTRP http://NCI_T_weekly NCIT/ThesaurusInferred_+1weekly.owl
load_terminology_data CTRP http://NCI_T_monthly NCIT/ThesaurusInferred_monthly.owl
load_terminology_data NCIT2 http://NCI_T_monthly NCIT/ThesaurusInferred_monthly.owl
load_terminology_data NCIT2 http://GO_monthly GO/GO.20250601.owl
load_terminology_data NCIT2 http://HGNC_monthly HGNC/HGNC.202507.owl
load_terminology_data NCIT2 http://ChEBI_monthly ChEBI/chebi_241.owl
load_terminology_data NCIT2 http://UmlsSemNet UmlsSemNet/umlssemnet.owl
load_terminology_data NCIT2 http://MEDRT MED-RT/medrt.owl
load_terminology_data NCIT2 http://Canmed CanMed/canmed.owl
load_terminology_data NCIT2 http://MEDRT MED-RT/MEDRT.2025-06-02.owl
load_terminology_data NCIT2 http://Canmed CanMed/CANMED.202506.owl
load_terminology_data NCIT2 http://CTCAE CTCAE/ctcae5.owl
load_terminology_data NCIT2 http://DUO_monthly DUO/duo_Feb21.owl
load_terminology_data NCIT2 http://DUO_monthly DUO/iao_Dec20.owl
Expand Down
Loading