Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1278 commits
Select commit Hold shift + click to select a range
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
20a3282
EVSRESTAPI-563: update changelog date
bcarlsenca Jun 10, 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
5a28c5d
Cleanup warnings and verify tests (#371)
bcarlsenca Jun 10, 2025
b48805b
Merge branch 'develop-2.3' into pva/EVSRESTAPI-596-reconcile-at-end
peter-va Jun 10, 2025
3d84ac5
Update OPENSEARCH.md info on refresh interval
bcarlsenca Jun 11, 2025
ab562c8
Merge branch 'develop' into develop-2.3
bcarlsenca Jun 11, 2025
4ae5988
reindex hotfix for non-ncit
Jun 12, 2025
0078d74
Merge pull request #372 from NCIEVS/reindex-hotfix
peter-va Jun 12, 2025
e4bb367
add filepath match check to null check
Jun 12, 2025
d4ce244
spotless
Jun 12, 2025
549b23e
Merge pull request #374 from NCIEVS/reindex-hotfix-2
peter-va Jun 12, 2025
365283f
merging non-ncit hotfix into develop-2.3 (#373)
peter-va Jun 12, 2025
a4a63dd
EVSRESTAPI-patch: resolve exception on fhir System Operations tab (#375)
shapirod2 Jun 13, 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
dd919a1
EVSRESTAPI-625: fix issue with swagger baseUrl (#379)
bcarlsenca Jun 19, 2025
1c650d6
Merge branch 'develop' into develop-2.3
bcarlsenca Jun 20, 2025
2d0b5f2
FIX swagger for FHIR to allow the public URL to be the server-side "b…
bcarlsenca Jun 21, 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
a615b6b
Add comments for cacheMills = 0
bcarlsenca Jun 26, 2025
c1acc47
CLEANUP: ensure urls are available with resource providers
bcarlsenca Jun 27, 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
a29d6cb
EVSRESTAPI-636: swagger link fix (#390)
shapirod2 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
dc37cd6
add test cases for childhood neoplasm and change index to update
Jul 16, 2025
0125ad4
Add childhood neoplasm test
bcarlsenca 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
c0788d3
fix WriteOnlyProperties being removed on reindexing concepts
Jul 18, 2025
3c3b133
tweak test
Jul 18, 2025
cfcf5e1
Fix handling of -d vs -history flag to work for both cases
bcarlsenca Jul 21, 2025
3f84e5f
Merge pull request #398 from NCIEVS/PVA/EVSRESTAPI-642-fix-normname-p…
peter-va Jul 21, 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
49d3fe8
EVSRESTAPI-642: small test fixes
bcarlsenca 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
3876c98
Fix to support running reindexing in a shell on the mac
bcarlsenca Aug 5, 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
f791792
EVSRESTAPI-407: prep data for 202508 NCIM sample
bcarlsenca Aug 12, 2025
748f2ae
fix file
bcarlsenca Aug 12, 2025
dce2585
fix cuis files
bcarlsenca Aug 12, 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
e97db02
Merge branch 'bac/EVSRESTAPI-407-ncim-update' into pva/EVSRESTAPI-407…
Aug 19, 2025
ffc6967
sort metadata by code default
Aug 19, 2025
612c2de
spotless
Aug 19, 2025
f3a468b
tests for metadata sort by code
Aug 19, 2025
4814d9b
second ncim reset to update terminology
Aug 20, 2025
fdaece1
fix some mdr tests
Aug 20, 2025
2c6963c
EVSRESTAPI-407: handling part of NCIM update (#407)
bcarlsenca Aug 22, 2025
07444a0
Merge branch 'master' into develop
bcarlsenca Aug 22, 2025
b804526
Merge pull request #409 from NCIEVS/develop-2.3
bcarlsenca Aug 22, 2025
1f33daa
EVSRESTAPI-407: fixes for RRF sampling to better handle tty ranks
bcarlsenca Aug 26, 2025
407cdd2
update ncim sampler
Aug 26, 2025
143a18b
Fix nocode issues
bcarlsenca Aug 26, 2025
36eb32f
too long to properly check
Aug 27, 2025
df198a6
improvements
bcarlsenca Aug 27, 2025
e56c3a9
add comment
bcarlsenca Aug 27, 2025
7117d2c
Update devreset to match the files generated for NCIM/NCIM2
bcarlsenca Aug 27, 2025
5129e4b
Merge pull request #408 from NCIEVS/PVA/EVSRESTAPI-494-default-metada…
peter-va Aug 27, 2025
e73d069
fix vulnerability
Aug 27, 2025
a91dc38
Merge pull request #410 from NCIEVS/bac/EVSRESTAPI-407-rrf-sampling
peter-va Aug 27, 2025
39ef030
Merge branch 'develop' into PVA/EVSRESTAPI-407-update-unittestdata-ncim
Aug 27, 2025
640d2d7
fix mged crash on reindex in roles
Aug 28, 2025
e5dbc53
remove logging
Aug 28, 2025
be9f8d7
Merge pull request #413 from NCIEVS/PVA/EVSRESTAPI-665-mged-crashing-…
peter-va Aug 29, 2025
9c8e9bb
ignore rrf roots for now
Aug 29, 2025
a0e2d32
clean up mdr tests
Aug 29, 2025
21fa76a
cleaned up sample tests
Aug 29, 2025
8a97c92
more fixed terminologies
Aug 29, 2025
16ed458
fix test
Aug 29, 2025
b3a76b5
more fixed terminologies
Aug 29, 2025
8cb4a04
spotless
Aug 29, 2025
032f105
Dss/evsrestapi 640 valueset post mode (#399)
shapirod2 Sep 5, 2025
b8b4cfa
Dss/evsrestapi 658 sort param (#412)
shapirod2 Sep 5, 2025
ec35947
EVSRESTAPI-407: fixes for NCIM sampling
bcarlsenca Sep 5, 2025
aae9587
Merge branch 'develop' of github.com:NCIEVS/evsrestapi into develop
bcarlsenca Sep 5, 2025
855b055
EVSRESTAPI-596: improvements to handling stale and update flags
bcarlsenca Sep 9, 2025
c94cc76
bulk index and wait
bcarlsenca Sep 9, 2025
08c78c0
spotless
bcarlsenca Sep 9, 2025
7f45281
add more changes and samples
Sep 9, 2025
0014241
Merge branch 'PVA/EVSRESTAPI-407-update-unittestdata-ncim' into bac/E…
bcarlsenca Sep 9, 2025
8278c45
Merge pull request #411 from NCIEVS/PVA/EVSRESTAPI-407-update-unittes…
peter-va Sep 9, 2025
e6aa855
Merge branch 'develop' into bac/EVSRESTAPI-596-reconcile-latest
bcarlsenca Sep 9, 2025
4a700bf
Update version to 2.3.0
bcarlsenca Sep 9, 2025
66479ad
fix icd9cm sampling
Sep 9, 2025
fb23074
add comment to icd9cm
Sep 9, 2025
c58a83c
fix pdq and icd10
Sep 9, 2025
09afc08
spotless
Sep 9, 2025
d5eb6f2
Fix to sparql-queries.properties to better handle owl:deprecated
bcarlsenca Sep 12, 2025
6ccd88a
Merge pull request #415 from NCIEVS/PVA/EVSRESTAPI-407-replace-old-sa…
peter-va Sep 12, 2025
933aae6
EVSRESTAPI-596: improvements to reconcile latest
bcarlsenca Sep 15, 2025
3d84987
Merge pull request #417 from NCIEVS/bac/owl-deprecated-fix
bcarlsenca Sep 17, 2025
a3c96b7
Update CDISC form
bcarlsenca Oct 1, 2025
e3437da
Update CDISC form
bcarlsenca Oct 1, 2025
c50054a
Pva/evsrestapi 465 term form file attachment (#419)
peter-va Oct 3, 2025
19ff5f2
Dss/evsrestapi 661 ctcae6 load (#418)
shapirod2 Oct 3, 2025
7ca89de
EVSRESTAPI-465: Finishing work on term form testing (#420)
bcarlsenca Oct 3, 2025
fddb4c1
Fix to remove use of metadataService in EVSUtils
bcarlsenca Oct 7, 2025
ea7b8ad
EVSRESTAPI-661: some small fixes to scripts from CTCAE6 testing
bcarlsenca Oct 7, 2025
97e757d
Dss/evsrestapi 664 improved partial searches (#416)
shapirod2 Oct 10, 2025
db13ade
EVSRESTAPI-465: fix term form api paths
bcarlsenca Oct 10, 2025
515c087
Update swagger to 5.18.2
bcarlsenca Oct 10, 2025
1419f46
Changes to get tests passing (#422)
bcarlsenca Oct 17, 2025
7631e94
fix some tests
Oct 21, 2025
6a5ea74
fix last two tests
Oct 21, 2025
95d36ec
fix most controller tests
Oct 21, 2025
158f401
fix last test with reflection
Oct 22, 2025
eb84666
remove logs
Oct 22, 2025
1e190ec
Dss/evsrestapi fhir test mods (#424)
shapirod2 Oct 29, 2025
ef201eb
Merge pull request #423 from NCIEVS/PVA/fix-termform-tests
peter-va Oct 30, 2025
2b0a97c
Work to get all tests passing. (#425)
bcarlsenca Nov 4, 2025
c10676a
Final changelog updates
bcarlsenca Nov 4, 2025
53e0bad
CLEANUP: remove errant log entry
bcarlsenca Nov 4, 2025
4e8d053
EVSRESTAPI-664: adjust scoring for 'bone cancer'
bcarlsenca Nov 5, 2025
9c8ca19
Small fix to clear 'extraSubsets' in terminology metadata
bcarlsenca Nov 5, 2025
9779d27
Add an exact query match (#426)
bcarlsenca Nov 5, 2025
fd2a82a
unhide extensions in concept (#427)
peter-va Nov 6, 2025
1ae4188
Fix vulnerability in org.opensearch:opensearch-common (#438)
bcarlsenca Dec 4, 2025
2f57eb2
EVSRESTAPI-677: Improve Term Form to use better error messages (#437)
peter-va Dec 5, 2025
6809b7a
Update Changelog
bcarlsenca Dec 5, 2025
5755b3e
remove some term form requirements
Dec 9, 2025
085efb0
remove now-invalid test
Dec 9, 2025
9f1fdaa
Merge pull request #440 from NCIEVS/PVA/EVSRESTAPI-remove-term-form-r…
peter-va Dec 9, 2025
30b3837
EVSRESTAPI-697: small change to handle chebi decimal version (#441)
bcarlsenca Dec 12, 2025
4390c56
EVSRESTAPI-697: Fix duplicate maps now that NCIt maps are both viewab…
bcarlsenca Dec 16, 2025
8468053
EVSRESTAPI-697: Update reindex.sh to handle chebi decimal version
bcarlsenca Dec 18, 2025
fc7a60c
EVSRESTAPI-697: Update reindex.sh to handle chebi decimal version (fi…
bcarlsenca Dec 18, 2025
9595e9f
EVSRESTAPI-700: Improve remove unused indexes agorithm (#446)
bcarlsenca Dec 29, 2025
35376b6
Fix history issue by defaulting historyDir to blank instead of /tmp
bcarlsenca Jan 7, 2026
cb57953
RDFBROWSER-566: fixes to support proper display of NCIt_to_MedDRA_Map…
bcarlsenca Jan 7, 2026
d688cac
NCIM: bump memory for ncim-part.sh for 202602
bcarlsenca Feb 6, 2026
ffe2879
RDFBROWSER-586: Better handling of mapping source/target terminology …
bcarlsenca Feb 18, 2026
ff39e09
EVSRESTAPI-708: support default blank 'mailRecipient' property and us…
bcarlsenca Feb 20, 2026
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
3 changes: 2 additions & 1 deletion .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 Expand Up @@ -61,4 +62,4 @@ jobs:
- name: Output vulnerabilities
if: failure() # Run only if the previous step fails
run: |
jq '.Results[]?.Vulnerabilities[] | select(.Severity == "HIGH" or .Severity == "CRITICAL") | "\(.VulnerabilityID): \(.PkgName) - Severity: \(.Severity) - Fixed Version: \(.FixedVersion)"' trivy_report.json
jq '.Results[]?.Vulnerabilities[] | select(.Severity == "HIGH" or .Severity == "CRITICAL") | "\(.VulnerabilityID): \(.PkgName) - Severity: \(.Severity) - Installed Version: \(.InstalledVersion) - Fixed Version: \(.FixedVersion)"' trivy_report.json
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,25 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.3.0.RELEASE] - 2025-12-20
### Changed
- Various minor bug fixes and typo corrections
- FHIR improvements (resource _history, improved parameter support, POST call support for adhoc value sets, set dates properly on ConceptMap)
- On Reindex, handle "updates" to latest versions only once rather than for each terminology one at a time
- Ensure old mapsets get removed on reindex
- Update unit test data to newer versions and update corresponding sampling files
- Address CodeQL, dependabot, and trivy reported vulnerability issues
- Support viewable maps the NCI Thesaurus mappings
- Bring online support for CTCAE6
- Improve term form to support attachments in the style of the CDISC template (and improve error messages)
- Better handling of NPO complex definitions
- Swagger version update

## [2.2.0.RELEASE] - 2025-06-10
### Changed
- FHIR improvements (improved param support, improved swagger, improved metadata, more tests)
- Improvements to computed childhood neoplasm subsets
- Improved handling of complex defintions
- Improved handling of complex definitions
- Improved handling of NCI Thesaurus cumulative history

## [2.1.1.RELEASE] - 2025-04-30
Expand Down Expand Up @@ -98,7 +112,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- Added an additional "value" parameter that works with "property" and can also work with "term"
- Added "has terminology hierarchy" info to terminology metadata to allow setting hierarchy links for terms that have a valid hierarchy
- Loading/Indexing of the Chebi terminologyI.
- Loading/Indexing of the ChEBI terminology.
- Loading/Indexing of the HGNC terminology.
- Loading/Indexing of the GO terminology.
- Add API endpoint for terminology "welcome text"
Expand All @@ -120,3 +134,5 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [1.5.0-SNAPSHOT and prior]
### No change log for earlier releases


10 changes: 7 additions & 3 deletions OPENSEARCH.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

Information on downloading and using OPENSEARCH with EVSRESTAPI.

Verify the $OS_DIR variable points to the correct path set up in previous steps. If not, set it now: </br>`export set
OS_DIR=c:$dir/opensearch/data`
Verify the $OS_DIR variable points to the correct path set up in previous steps. If not, set it now.

Examples:

- Bash (Git Bash / WSL): `export OS_DIR="$dir/opensearch/data"`
- Windows CMD: `set OS_DIR=%dir%\\opensearch\\data`

See https://github.com/opensearch-project/spring-data-opensearch for setting up the project

Expand Down Expand Up @@ -40,7 +44,7 @@ curl -X PUT $ES/_cluster/settings -H "Content-type: application/json" \
-d '{ "persistent": { "index.refresh_interval": "60s" } }
```

A call like this in AWS needs to be done from a machine with an IAM role l
A call like this in AWS needs to be done from a machine with an IAM role.

```
{
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ Information on the build and deployment process for the EVSRESTAPI project
* Before cloning the repo, make sure that the command `git config core.autocrlf` returns `false`. Change it to `false` using `git config --global core.autocrlf false` if necessary
* Clone the project - [https://github.com/NCIEVS/evsrestapi](https://github.com/NCIEVS/evsrestapi)
* Create a local data directory and set a `$dir` variable in your terminal. This `$dir` variable will be referenced multiple times in upcoming steps.
* `export set dir=C:/Users/carlsenbr/eclipse-workspace/data`
* Bash (Git Bash / WSL): `export dir="/c/Users/carlsenbr/eclipse-workspace/data"`
* Windows CMD: `set dir=C:\Users\carlsenbr\eclipse-workspace\data`
* Execute `mkdir -p $dir/opensearch/data`
* * Set a new variable `$ES_DIR` to the new directory just created. This `$ES_DIR` will be referenced in upcoming steps.
* `export set ES_DIR=$dir/opensearch/data`
- Set a new variable `$ES_DIR` to the new directory just created. This `$ES_DIR` will be referenced in upcoming steps.
* Bash: `export ES_DIR="$dir/opensearch/data"`
* Windows CMD: `set ES_DIR=%dir%\\opensearch\\data`
* Download the "Unit Test Data" folder from <https://drive.google.com/drive/u/1/folders/11RcXLTsbOZ34_7ofKdVxLKHp_8aJGgTI>. Unpack it to your `$dir` folder (so that `$dir/UnitTestData` exists)
* run `prep.sh`

Expand All @@ -36,7 +38,7 @@ Information on the build and deployment process for the EVSRESTAPI project
* MAIL_AUTH=true
* MAIL_TLS=true
* RECAPTCHA_KEY=<SITE_KEY_FROM_RECAPTCHA>
* {RECAPTCHA_SECRET=<SECRET_KEY_FROM_RECAPTCHA>
* RECAPTCHA_SECRET=<SECRET_KEY_FROM_RECAPTCHA>

* Load the UnitTestData set by running `prep.sh`
* Make sure that you can run all programs in `bash`, especially if on Mac which defaults to `zsh`
Expand Down Expand Up @@ -65,7 +67,7 @@ Information on the build and deployment process for the EVSRESTAPI project
* Set the "Main Class" to `gov.nih.nci.evs.api.Application`
* In the "Arguments" tab, add to "VM Arguments" the value `-Dspring.profiles.active=local`
* In the Environment variables add the email credentials and settings for testing:
* e.g. `AUTH=true;MAIL_USER=<testUserEmail@domain.com;TLS=true;MAIL_PASSWORD=#########;RECAPTCHA_KEY:########;RECAPTCHA_SECRET=#######`
* e.g. `AUTH=true;MAIL_USER=<testUserEmail@domain.com>;TLS=true;MAIL_PASSWORD=#########;RECAPTCHA_KEY=########;RECAPTCHA_SECRET=########`
* Test that it's up by looking for swagger docs: [http://localhost:8082/swagger-ui/index.html#/](http://localhost:8082/swagger-ui/index.html#/)

### Run application in IntelliJ
Expand All @@ -80,4 +82,4 @@ Information on the build and deployment process for the EVSRESTAPI project
* Test that it's up by looking for swagger docs: [http://localhost:8082/swagger-ui/index.html#/](http://localhost:8082/swagger-ui/index.html#/)

### Run application from command line
* Run with `java -Xmx4096 -Dspring.profiles.active=local -jar build/libs/evsrestapi*jar`
* Run with `java -Xmx4096 -Dspring.profiles.active=local -jar build/libs/evsrestapi*.jar`
42 changes: 25 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
ext {
springBootVersion = '3.3.11'
springBootVersion = '3.4.12'
// Remove this line to see what version is favored by springBootVersion
// and the version brought in by spring-data-elasticsearch
set('elasticsearch.version', '7.12.1')
Expand All @@ -23,7 +23,7 @@ plugins {
id 'eclipse'
id 'war'
id 'org.springframework.boot' version "${springBootVersion}"
id 'io.spring.dependency-management' version '1.1.6'
id 'io.spring.dependency-management' version '1.1.7'
id 'maven-publish'
// google java format gradle plugin
id "com.diffplug.spotless" version "6.25.0"
Expand All @@ -38,7 +38,8 @@ repositories {
mavenCentral()
}

ext['log4j2.version'] = '2.24.1'
// Avoid specifying version unless needed
// ext['log4j2.version'] = '2.25.0'

// Extra Properties
ext {
Expand All @@ -56,7 +57,7 @@ ext {

/* Version info */
group = "gov.nih.nci.evs.api"
version = "2.2.0.RELEASE"
version = "2.3.0.RELEASE"

sourceCompatibility = 17
targetCompatibility = 17
Expand All @@ -81,19 +82,25 @@ dependencies {

// Use version 2 with spring boot 3
// custom location => springdoc.swagger-ui.path=/swagger-ui/index.html
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0"
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0"

implementation "org.springframework.boot:spring-boot-devtools"
implementation "org.springframework.boot:spring-boot-starter-actuator"
// Explicit patch for spring-core to mitigate CVE-2025-41249
implementation 'org.springframework:spring-core:6.2.11'
implementation "org.springframework.boot:spring-boot-starter-cache"
implementation "org.springframework.boot:spring-boot-properties-migrator"
implementation "org.springframework:spring-aop"

// For vulnerabilities
implementation "org.apache.tomcat.embed:tomcat-embed-core:10.1.42"
// For vulnerabilities - may not be needed with Spring Boot 3.4.10
// implementation "org.apache.tomcat.embed:tomcat-embed-core:10.1.44"

//implementation "org.springframework.data:spring-data-elasticsearch:4.2.12"
implementation "org.opensearch.client:spring-data-opensearch-starter:1.5.3"
implementation "org.opensearch.client:spring-data-opensearch-starter:1.7.1"

// Explicit override for vulnerability still present in spring-data-opensearch-starter:1.7.1
// and spring-data-opensearch-starter:1.8.2, but both use 2.19.x as a basis
implementation "org.opensearch:opensearch-common:2.19.4"

//Java Mail Sender dependency
implementation "org.springframework.boot:spring-boot-starter-mail"
Expand Down Expand Up @@ -164,15 +171,16 @@ dependencies {
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: "net.minidev", module: "json-smart"
}
testImplementation "org.opensearch.client:spring-data-opensearch-test-autoconfigure:1.5.3"
testImplementation "org.junit.jupiter:junit-jupiter-params:5.10.5"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.10.5"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.10.5"
testRuntimeOnly "org.junit.platform:junit-platform-commons:1.10.0"
testRuntimeOnly "org.junit.platform:junit-platform-runner:1.10.0"
// Use spring-boot-starter-test defaults
// testImplementation "org.opensearch.client:spring-data-opensearch-test-autoconfigure:1.6.0"
// testImplementation "org.junit.jupiter:junit-jupiter-params:5.10.5"
// testImplementation "org.junit.jupiter:junit-jupiter-api:5.10.5"
// testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.10.5"
// testRuntimeOnly "org.junit.platform:junit-platform-commons:1.10.0"
// testRuntimeOnly "org.junit.platform:junit-platform-runner:1.10.0"
// (avoid using lombok for now)
//testCompileOnly "org.projectlombok:lombok:1.18.32"
//testAnnotationProcessor "org.projectlombok:lombok:1.18.32"
// testCompileOnly "org.projectlombok:lombok:1.18.32"
// testAnnotationProcessor "org.projectlombok:lombok:1.18.32"

}

Expand Down Expand Up @@ -213,7 +221,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/META
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
81 changes: 61 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,48 @@ 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 -le 14 ]]; then
echo "ERROR: unexpectedly missing NCIM/*RRF files = $dir/NCIM"
exit 1
fi
# Check NCIM2
echo " check NCIM2"
ct=`ls $dir/NCIM2 | 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 @@ -144,6 +151,13 @@ if [[ ! -e "$dir/NDFRT/NDFRT_Public_2018.02.05_Inferred.owl" ]]; then
exit 1
fi

# Check CTCAE6
echo " check CTCAE6"
if [[ ! -e "$dir/CTCAE/ctcae6.owl" ]]; then
echo "ERROR: unexpectedly missing CTCAE/ctcae6.owl file"
exit 1
fi

# check status
check_status() {
local retval=$1
Expand Down Expand Up @@ -243,6 +257,29 @@ reindex_ncim(){
fi
}

# Reindex ncim - individual terminologies
reindex_ncim2(){
echo " Reindexing ncim2 ...`/bin/date`"
for t in MDR ICD10CM ICD9CM LNC SNOMEDCT_US RADLEX PDQ ICD10 HL7V3.0; do
# Keep the NCIM folder around while we run
echo " Load $t (from ncim2 downloaded data) ...`/bin/date`"
src/main/bin/ncim-part.sh --noconfig $dir/NCIM2 --keep --terminology $t > /tmp/x.$$.txt 2>&1
if [[ $? -ne 0 ]]; then
cat /tmp/x.$$.txt | sed 's/^/ /'
echo "ERROR: loading $t"
exit 1
fi
done
# Reindex ncim - must run after the prior section so that maps can connect to loaded terminologies
echo " Reindex ncim from ncim2 ...`/bin/date`"
src/main/bin/ncim-part.sh --noconfig $dir/NCIM2 > /tmp/x.$$.txt 2>&1
if [[ $? -ne 0 ]]; then
cat /tmp/x.$$.txt | sed 's/^/ /'
echo "ERROR: problem running ncim-part.sh"
exit 1
fi
}

drop_databases(){
for db in "${databases[@]}"
do
Expand Down Expand Up @@ -279,6 +316,8 @@ load_terminology_data_in_transaction(){
}

load_terminology_data(){
# e.g. curl -X POST -H 'Content-Type: application/rdf+xml' -T '../data/UnitTestData/UmlsSemNet/umlssemnet.owl' http://localhost:3030/NCIT2/data?graph=http://UmlsSemNet
# e.g. curl -X POST -H 'Content-Type: application/rdf+xml' -T '../data/UnitTestData/Mouse_Anatomy/ma_07_27_2016.owl' http://localhost:3030/NCIT2/data?graph=http://MA
echo " Loading $3 into $1 ...`/bin/date`"
echo " curl -X POST -H 'Content-Type: application/rdf+xml' -T '$dir/$3' http://${GRAPH_DB_HOST}:${GRAPH_DB_PORT}/$1/data?graph=$2"
$curl_cmd -X POST -H "Content-Type: application/rdf+xml" -T "$dir/$3" "http://${GRAPH_DB_HOST}:${GRAPH_DB_PORT}/$1/data?graph=$2" 2> /dev/null > /tmp/x.$$
Expand All @@ -290,16 +329,17 @@ 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://CTCAE6 CTCAE/ctcae6.owl
load_terminology_data NCIT2 http://DUO_monthly DUO/duo_Feb21.owl
load_terminology_data NCIT2 http://DUO_monthly DUO/iao_Dec20.owl
load_terminology_data NCIT2 http://OBI_monthly OBI/obi_2022_07.owl
Expand Down Expand Up @@ -330,6 +370,7 @@ drop_databases
create_databases
remove_elasticsearch_indexes
reindex_ncim
reindex_ncim2
load_data
# This will load maps from github evsrestapi-operations
reindex
Expand Down
Loading
Loading