Open brsolomon-deloitte opened 1 year ago
For awareness, we are wrapping our HAPI FHIR restful servlet in a Spring app. We've had no issue with this using HAPI FHIR 6.6.2.
package redacted.redacted.redacted.redacted;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
/**
* ServerApplication wraps the HAPI FHIR RestfulServer into a Spring Boot application.
*/
@ServletComponentScan("redacted.redacted.redacted.redacted")
@SpringBootApplication
public class ServerApplication {
public static void main(String[] args) {
SpringApplication.run(ServerApplication.class, args);
}
}
This breakage went away when we removed ca.uhn.hapi.fhir:hapi-fhir-testpage-overlay
. My guess is that is due to the recent inclusion of ca.uhn.hapi.fhir:hapi-fhir-jpaserver-hfql
as a dependency of ca.uhn.hapi.fhir:hapi-fhir-testpage-overlay
. However, that isn't exactly an acceptable workaround for us since we'd like to use the testpage-overlay with our plain server implementation.
Upgrading from HAPI FHIR 6.6.2 to 6.8.0 in pom.xml, with no other changes, breaks our FHIR server tests and install.
Current, using HAPI FHIR 6.6.2:
Upgrade HAPI FHIR dependencies:
After the change:
mvn clean test
with full output here:https://gist.github.com/brsolomon-deloitte/37ecf55049587d04d3a9d07020701234
Short version:
Environment (please complete the following information):