Added some files for CQL support - more work to be done on this..
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package ca.uhn.fhir.jpa.starter;
|
||||
|
||||
import ca.uhn.fhir.context.FhirContext;
|
||||
import ca.uhn.fhir.cql.provider.CqlProviderLoader;
|
||||
import ca.uhn.fhir.rest.api.CacheControlDirective;
|
||||
import ca.uhn.fhir.rest.api.EncodingEnum;
|
||||
import ca.uhn.fhir.rest.api.MethodOutcome;
|
||||
@@ -34,6 +35,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
{
|
||||
"spring.batch.job.enabled=false",
|
||||
"spring.datasource.url=jdbc:h2:mem:dbr3",
|
||||
"hapi.fhir.cql_enabled=true",
|
||||
"hapi.fhir.fhir_version=dstu3",
|
||||
"hapi.fhir.subscription.websocket_enabled=true",
|
||||
"hapi.fhir.allow_external_references=true",
|
||||
@@ -63,6 +65,15 @@ public class ExampleServerDstu3IT {
|
||||
assertEquals(methodName, pt2.getName().get(0).getFamily());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCQLAvailable() {
|
||||
CqlProviderLoader cqlProviderLoader = null;
|
||||
// FIXME KBD Remove this and put some Unit Test code here
|
||||
for (String resourceType : ourCtx.getResourceTypes()) {
|
||||
System.out.println("resourceType = '" + resourceType + "'");
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testWebsocketSubscription() throws Exception {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user