From 9b6f548970524e6eddfd73fd74c753defa076913 Mon Sep 17 00:00:00 2001 From: jamesagnew Date: Wed, 29 Jun 2016 08:08:42 -0400 Subject: [PATCH] Work on term service, and allow child classes when serializing --- hapi-fhir-base-test-mindeps-server/pom.xml | 12 + .../java/ca/uhn/fhir/parser/BaseParser.java | 70 ++++- .../java/ca/uhn/fhir/parser/JsonParser.java | 12 +- .../java/ca/uhn/fhir/parser/XmlParser.java | 39 +-- .../main/java/ca/uhn/fhir/util/XmlUtil.java | 22 ++ .../fhir/jpa/term/BaseHapiTerminologySvc.java | 22 +- .../jpa/term/HapiTerminologySvcDstu3.java | 69 ++++- .../java/ca/uhn/fhir/jpa/dao/BaseJpaTest.java | 9 + .../fhir/jpa/dao/dstu3/BaseJpaDstu3Test.java | 4 + .../FhirResourceDaoDstu3TerminologyTest.java | 88 +++++++ .../fhir/jpa/term/TerminologySvcImplTest.java | 50 +++- .../ca/uhn/fhir/parser/FooMessageHeader.java | 48 ++++ .../uhn/fhir/parser/JsonParserDstu3Test.java | 23 ++ .../uhn/fhir/parser/XmlParserDstu3Test.java | 240 ++++++++++++------ .../ca/uhn/fhir/util/XmlUtilDstu3Test.java | 90 +++++++ src/changes/changes.xml | 4 + 16 files changed, 675 insertions(+), 127 deletions(-) create mode 100644 hapi-fhir-structures-dstu3/src/test/java/ca/uhn/fhir/parser/FooMessageHeader.java create mode 100644 hapi-fhir-structures-dstu3/src/test/java/ca/uhn/fhir/util/XmlUtilDstu3Test.java diff --git a/hapi-fhir-base-test-mindeps-server/pom.xml b/hapi-fhir-base-test-mindeps-server/pom.xml index ecc67a60d34..b805560eccb 100644 --- a/hapi-fhir-base-test-mindeps-server/pom.xml +++ b/hapi-fhir-base-test-mindeps-server/pom.xml @@ -25,6 +25,18 @@ slf4j-simple 1.7.7 + + org.slf4j + slf4j-simple + 1.7.7 + + + + + org.apache.commons + commons-lang3 + 3.2 +