From 1a95ba3b6529afdaf81232b82cc303718c0187d6 Mon Sep 17 00:00:00 2001 From: James Agnew Date: Thu, 3 Aug 2017 06:14:01 -0400 Subject: [PATCH] More cleanup --- .../ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java | 4 +- .../auth-server/pom.xml | 108 ------------------ .../src/main/webapp/WEB-INF/crypto-config.xml | 49 -------- .../src/main/webapp/WEB-INF/data-context.xml | 82 ------------- .../main/webapp/WEB-INF/jetty-configure.xml | 11 -- .../src/main/webapp/WEB-INF/jpa-config.xml | 54 --------- .../src/main/webapp/WEB-INF/local-config.xml | 35 ------ .../src/main/webapp/WEB-INF/server-config.xml | 72 ------------ .../main/webapp/WEB-INF/spring-servlet.xml | 36 ------ .../src/main/webapp/WEB-INF/task-config.xml | 36 ------ .../src/main/webapp/WEB-INF/user-context.xml | 54 --------- .../src/main/webapp/WEB-INF/web.xml | 78 ------------- .../segments_1 | Bin 71 -> 0 bytes .../write.lock | 0 .../java/ca/uhn/fhirtest/UhnFhirTestApp.java | 4 +- 15 files changed, 4 insertions(+), 619 deletions(-) delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/auth-server/pom.xml delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/crypto-config.xml delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/data-context.xml delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/jetty-configure.xml delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/jpa-config.xml delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/local-config.xml delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/server-config.xml delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/spring-servlet.xml delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/task-config.xml delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/user-context.xml delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/web.xml delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/ca.uhn.fhir.jpa.entity.ResourceTable/segments_1 delete mode 100644 hapi-fhir-jpaserver-uhnfhirtest/ca.uhn.fhir.jpa.entity.ResourceTable/write.lock diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java index 7cbd323be92..d37b7af5298 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java @@ -84,11 +84,11 @@ public abstract class BaseHapiFhirDao implements IDao { private static final Map ourRetrievalContexts = new HashMap(); private static final String PROCESSING_SUB_REQUEST = "BaseHapiFhirDao.processingSubRequest"; /** - * These are parameters which are supported by {@link BaseHapiFhirResourceDao#searchForIds(Map)} + * These are parameters which are supported by {@link BaseHapiFhirResourceDao#searchForIds(SearchParameterMap)} */ static final Map>> RESOURCE_META_AND_PARAMS; /** - * These are parameters which are supported by {@link BaseHapiFhirResourceDao#searchForIds(Map)} + * These are parameters which are supported by {@link BaseHapiFhirResourceDao#searchForIds(SearchParameterMap)} */ static final Map> RESOURCE_META_PARAMS; public static final String UCUM_NS = "http://unitsofmeasure.org"; diff --git a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/pom.xml b/hapi-fhir-jpaserver-uhnfhirtest/auth-server/pom.xml deleted file mode 100644 index c4ece128109..00000000000 --- a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/pom.xml +++ /dev/null @@ -1,108 +0,0 @@ - - 4.0.0 - - - - ca.uhn.hapi.fhir - hapi-fhir-jpaserver-uhnfhirtest-auth - 1.0 - - war - - HAPI FHIR - fhirtest.uhn.ca Auth Server - - - - org.mitre - openid-connect-common - 1.2.6 - - - org.mitre - openid-connect-server-webapp - war - 1.2.6 - - - - - - - - - org.eclipse.jetty - jetty-maven-plugin - - - / - true - src/main/webapp/WEB-INF/jetty-configure.xml - - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.7 - 1.7 - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - - - [0.4,) - - - - - - - - - - - - - - - - - org.apache.maven.plugins - maven-war-plugin - - - - ${maven.build.timestamp} - - - - - org.mitre - openid-connect-server-webapp - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - hapi-fhir-jpaserver-auth - - - diff --git a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/crypto-config.xml b/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/crypto-config.xml deleted file mode 100644 index 0301caa2f76..00000000000 --- a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/crypto-config.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/data-context.xml b/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/data-context.xml deleted file mode 100644 index 484e71ac487..00000000000 --- a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/data-context.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/jetty-configure.xml b/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/jetty-configure.xml deleted file mode 100644 index a7e350f7b86..00000000000 --- a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/jetty-configure.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - org.eclipse.jetty.server.webapp.WebInfIncludeJarPattern - .*/foo-[^/]*\.jar$ - - - \ No newline at end of file diff --git a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/jpa-config.xml b/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/jpa-config.xml deleted file mode 100644 index 5df98b83c4c..00000000000 --- a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/jpa-config.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/local-config.xml b/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/local-config.xml deleted file mode 100644 index c980446e2b5..00000000000 --- a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/local-config.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - diff --git a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/server-config.xml b/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/server-config.xml deleted file mode 100644 index 2302b19b453..00000000000 --- a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/server-config.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/spring-servlet.xml b/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/spring-servlet.xml deleted file mode 100644 index b3467051ce4..00000000000 --- a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/spring-servlet.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - diff --git a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/task-config.xml b/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/task-config.xml deleted file mode 100644 index 16fb2eee94d..00000000000 --- a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/task-config.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/user-context.xml b/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/user-context.xml deleted file mode 100644 index b45ac48aa20..00000000000 --- a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/user-context.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/web.xml b/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index b8e6dae9200..00000000000 --- a/hapi-fhir-jpaserver-uhnfhirtest/auth-server/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - contextConfigLocation - - /WEB-INF/application-context.xml - - - - - - org.springframework.web.context.ContextLoaderListener - - - - - - springSecurityFilterChain - org.springframework.web.filter.DelegatingFilterProxy - - contextAttribute - org.springframework.web.servlet.FrameworkServlet.CONTEXT.spring - - - - - springSecurityFilterChain - /* - - - - - spring - org.springframework.web.servlet.DispatcherServlet - 1 - - - - spring - / - - - - - *.jsp - true - - - - - /error - - - diff --git a/hapi-fhir-jpaserver-uhnfhirtest/ca.uhn.fhir.jpa.entity.ResourceTable/segments_1 b/hapi-fhir-jpaserver-uhnfhirtest/ca.uhn.fhir.jpa.entity.ResourceTable/segments_1 deleted file mode 100644 index ff1a27c7e7c10af262bcf3fc91fd314f6631f30b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 71 zcmcD&o+HjtoSL4SnpaZHz`(#})$n@L=GhaORF7!*2L^lZVl-rB28x3L6O6%dKx6U? K7)M0@eIo$NJ`j-r diff --git a/hapi-fhir-jpaserver-uhnfhirtest/ca.uhn.fhir.jpa.entity.ResourceTable/write.lock b/hapi-fhir-jpaserver-uhnfhirtest/ca.uhn.fhir.jpa.entity.ResourceTable/write.lock deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/hapi-fhir-jpaserver-uhnfhirtest/src/test/java/ca/uhn/fhirtest/UhnFhirTestApp.java b/hapi-fhir-jpaserver-uhnfhirtest/src/test/java/ca/uhn/fhirtest/UhnFhirTestApp.java index ed48982109e..c8ff3b023fb 100644 --- a/hapi-fhir-jpaserver-uhnfhirtest/src/test/java/ca/uhn/fhirtest/UhnFhirTestApp.java +++ b/hapi-fhir-jpaserver-uhnfhirtest/src/test/java/ca/uhn/fhirtest/UhnFhirTestApp.java @@ -30,13 +30,13 @@ public class UhnFhirTestApp { System.setProperty("fhir.lucene.location.tdl2", "./target/testlucene_tdl2"); System.setProperty("fhir.db.location.tdl3", "./target/testdb_tdl3"); System.setProperty("fhir.lucene.location.tdl3", "./target/testlucene_tdl3"); - System.setProperty("fhir.baseurl.dstu1", base.replace("Dstu2", "Dstu1")); System.setProperty("fhir.baseurl.dstu2", base); + System.setProperty("fhir.baseurl.dstu1", base.replace("Dstu2", "Dstu1")); System.setProperty("fhir.baseurl.dstu3", base.replace("Dstu2", "Dstu3")); System.setProperty("fhir.baseurl.tdl2", base.replace("baseDstu2", "testDataLibraryDstu2")); System.setProperty("fhir.baseurl.tdl3", base.replace("baseDstu2", "testDataLibraryStu3")); System.setProperty("fhir.tdlpass", "aa,bb"); - + Server server = new Server(myPort); WebAppContext root = new WebAppContext();