Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FI-2354: bump core validator library to 6.2.8 #71

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repositories {
}

dependencies {
implementation("ca.uhn.hapi.fhir", "org.hl7.fhir.validation", "6.0.21")
implementation("ca.uhn.hapi.fhir", "org.hl7.fhir.validation", "6.2.8")

// validator dependency needed for terminology (why can't it get this automatically?)
implementation("com.squareup.okhttp3", "okhttp", "4.9.0")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/mitre/inferno/FHIRPathEvaluator.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.r4.context.SimpleWorkerContext;
import org.hl7.fhir.r4.model.Base;
import org.hl7.fhir.r4.utils.FHIRPathEngine;
import org.hl7.fhir.r4.fhirpath.FHIRPathEngine;

public class FHIRPathEvaluator extends FHIRPathEngine {

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/mitre/inferno/Validator.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public Validator(String igDir, boolean displayIssuesAreWarnings) throws Exceptio
// The two lines below turn off URL resolution checking in the validator.
// This eliminates the need to silence these errors elsewhere in Inferno
// And also keeps contained resources from failing validation based solely on URL errors
ValidationControl vc = new BaseValidator(null, null, false)
ValidationControl vc = new BaseValidator(hl7Validator.getContext(), null, false)
.new ValidationControl(false, IssueSeverity.INFORMATION);
hl7Validator.getValidationControl().put("Type_Specific_Checks_DT_URL_Resolve", vc);

Expand Down Expand Up @@ -106,7 +106,7 @@ public Validator(String igDir, boolean displayIssuesAreWarnings) throws Exceptio
hl7Validator.setDisplayWarnings(displayIssuesAreWarnings);
hl7Validator.prepare();

packageManager = new FilesystemPackageCacheManager(true);
packageManager = new FilesystemPackageCacheManager.Builder().build();
loadedPackages = new HashMap<>();
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/mitre/inferno/rest/Endpoints.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private void createRoutes() {
private static Map<String,String> buildVersionResponse() {
// full package names used here only to make it more obvious what's going on
// since the class names aren't distinct enough
String hl7ValidatorVersion = org.hl7.fhir.validation.cli.utils.VersionUtil.getVersion();
String hl7ValidatorVersion = org.hl7.fhir.utilities.VersionUtil.getVersion();
String wrapperVersion = org.mitre.inferno.Version.getVersion();

Map<String, String> versions = new HashMap<>();
Expand Down
Loading