Update tester to use DSTU3 server by default

This commit is contained in:
James Agnew 2017-05-24 14:28:37 -04:00
parent 5bdd10c7ab
commit fcc04a8998
1 changed files with 11 additions and 11 deletions

View File

@ -45,16 +45,16 @@ public class FhirTesterConfig {
public TesterConfig testerConfig() {
TesterConfig retVal = new TesterConfig();
retVal
.addServer()
.withId("hapi_dev")
.withFhirVersion(FhirVersionEnum.DSTU2)
.withBaseUrl("http://fhirtest.uhn.ca/baseDstu2")
.withName("UHN/HAPI Server (DSTU2 FHIR)")
.addServer()
.withId("home_21")
.withFhirVersion(FhirVersionEnum.DSTU3)
.withBaseUrl("http://fhirtest.uhn.ca/baseDstu3")
.withName("UHN/HAPI Server (STU3 FHIR)")
.addServer()
.withId("hapi_dev")
.withFhirVersion(FhirVersionEnum.DSTU2)
.withBaseUrl("http://fhirtest.uhn.ca/baseDstu2")
.withName("UHN/HAPI Server (DSTU2 FHIR)")
.addServer()
.withId("home")
.withFhirVersion(FhirVersionEnum.DSTU1)
@ -72,16 +72,16 @@ public class FhirTesterConfig {
// .withBaseUrl("http://fhirtest.uhn.ca/testDataLibraryStu3")
// .withName("Test Data Library (DSTU3 FHIR)")
// .allowsApiKey()
.addServer()
.withId("hi2")
.withFhirVersion(FhirVersionEnum.DSTU2)
.withBaseUrl("http://fhir2.healthintersections.com.au/open")
.withName("Health Intersections (DSTU2 FHIR)")
.addServer()
.withId("hi3")
.withFhirVersion(FhirVersionEnum.DSTU3)
.withBaseUrl("http://fhir3.healthintersections.com.au/open")
.withBaseUrl("http://test.fhir.org/r3")
.withName("Health Intersections (STU3 FHIR)")
.addServer()
.withId("hi2")
.withFhirVersion(FhirVersionEnum.DSTU2)
.withBaseUrl("http://test.fhir.org/r2")
.withName("Health Intersections (DSTU2 FHIR)")
.addServer()
.withId("spark2")
.withFhirVersion(FhirVersionEnum.DSTU2)