FI-2354: bump core validator library to 6.2.8 #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR bumps the internal hl7 validator library version to the latest - 6.2.8. The main driver for this is US Core 7 support.
There were a few minor changes needed:
VersionUtil
andFhirPathEngine
BaseValidator
constructor now requires that the "context" passed in not be null, so I passed in the context from a ValidatorEngine instance we already had. The BaseValidator is not actually used anywhere, it's just necessary to have an instance to get access to the ValidationControl internal class, so there should be no impact to this.FilesystemPackageCacheManager
now uses a Builder instead of public constructors. The boolean parameter before was for "userMode" which determined the cache directory used : https://github.com/hapifhir/org.hl7.fhir.core/blob/6.0.21/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java#L123Now the default is to use the user directory https://github.com/hapifhir/org.hl7.fhir.core/blob/6.2.8/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java#L122
Testing Guidance
The US Core 7 package can be downloaded from https://build.fhir.org/ig/HL7/US-Core/downloads.html
Place this in the
./igs
folder and start the server, validate some resources, confirm it all works