From 61adf61fc0ca35ff0980525f869c4fe572808b6b Mon Sep 17 00:00:00 2001 From: "jelmer.terwal" Date: Tue, 22 Oct 2019 13:58:32 +0200 Subject: [PATCH] Remove no longer needed stuff --- hapi-kotlin-test/pom.xml | 176 ------------------ .../kotlin/ca/uhn/fhir/rest/server/Server.kt | 15 -- .../rest/server/resources/ExtendedPatient.kt | 22 --- 3 files changed, 213 deletions(-) delete mode 100644 hapi-kotlin-test/pom.xml delete mode 100644 hapi-kotlin-test/src/main/kotlin/ca/uhn/fhir/rest/server/Server.kt delete mode 100644 hapi-kotlin-test/src/main/kotlin/ca/uhn/fhir/rest/server/resources/ExtendedPatient.kt diff --git a/hapi-kotlin-test/pom.xml b/hapi-kotlin-test/pom.xml deleted file mode 100644 index 2ecc4d98617..00000000000 --- a/hapi-kotlin-test/pom.xml +++ /dev/null @@ -1,176 +0,0 @@ - - - - hapi-fhir - ca.uhn.hapi.fhir - 4.1.0-SNAPSHOT - - 4.0.0 - - hapi-kotlin-test - - HAPI FHIR - Kotlin tests - - - - - ca.uhn.hapi.fhir - hapi-fhir-jaxrsserver-base - ${project.version} - - - - - - - - - - - - - ca.uhn.hapi.fhir - org.hl7.fhir.dstu3 - ${fhir_core_version} - - - javax.ws.rs - javax.ws.rs-api - 2.0.1 - provided - - - - - - - - - - org.eclipse.jetty - jetty-server - ${jetty_version} - - - org.eclipse.jetty - jetty-servlet - ${jetty_version} - - - org.jboss.resteasy - resteasy-jaxrs - - - org.jboss.resteasy - resteasy-client - - - ch.qos.logback - logback-classic - - - ca.uhn.hapi.fhir - hapi-fhir-test-utilities - ${project.version} - test - - - - - ca.uhn.hapi.fhir - hapi-fhir-base - ${project.version} - - - - - ca.uhn.hapi.fhir - hapi-fhir-server - ${project.version} - - - - - ca.uhn.hapi.fhir - hapi-fhir-testpage-overlay - ${project.version} - war - provided - - - ca.uhn.hapi.fhir - hapi-fhir-testpage-overlay - ${project.version} - classes - provided - - - - org.jetbrains.kotlin - kotlin-maven-allopen - ${kotlin.version} - - - org.jetbrains.kotlin - kotlin-maven-noarg - ${kotlin.version} - - - - - - - org.jetbrains.kotlin - kotlin-maven-plugin - ${kotlin.version} - - - compile - compile - - - ${project.basedir}/src/main/kotlin - ${project.basedir}/src/main/java - - - - - test-compile - test-compile - - - ${project.basedir}/src/test/kotlin - ${project.basedir}/src/test/java - - - - - - - no-arg - all-open - - - - - org.apache.felix - maven-bundle-plugin - true - - - - ca.uhn.hapi.fhir.hapi-fhir-base - - - - - - - - - true - 1.3.50 - - diff --git a/hapi-kotlin-test/src/main/kotlin/ca/uhn/fhir/rest/server/Server.kt b/hapi-kotlin-test/src/main/kotlin/ca/uhn/fhir/rest/server/Server.kt deleted file mode 100644 index ab030221cf7..00000000000 --- a/hapi-kotlin-test/src/main/kotlin/ca/uhn/fhir/rest/server/Server.kt +++ /dev/null @@ -1,15 +0,0 @@ -package ca.uhn.fhir.rest.server - -import ca.uhn.fhir.rest.server.resources.ExtendedPatient -import ca.uhn.fhir.jaxrs.server.AbstractJaxRsResourceProvider -import org.hl7.fhir.instance.model.api.IAnyResource - -class Server : BaseResource() { - override fun getResourceType(): Class? = ExtendedPatient::class.java -} - -abstract class BaseResource: AbstractJaxRsResourceProvider() - -fun main() { - -} diff --git a/hapi-kotlin-test/src/main/kotlin/ca/uhn/fhir/rest/server/resources/ExtendedPatient.kt b/hapi-kotlin-test/src/main/kotlin/ca/uhn/fhir/rest/server/resources/ExtendedPatient.kt deleted file mode 100644 index 70ab2e347b8..00000000000 --- a/hapi-kotlin-test/src/main/kotlin/ca/uhn/fhir/rest/server/resources/ExtendedPatient.kt +++ /dev/null @@ -1,22 +0,0 @@ -package ca.uhn.fhir.rest.server.resources - -import ca.uhn.fhir.model.api.annotation.Child -import ca.uhn.fhir.model.api.annotation.Extension -import ca.uhn.fhir.model.api.annotation.ResourceDef -import org.hl7.fhir.dstu3.model.CodeableConcept -import org.hl7.fhir.dstu3.model.Patient -import org.hl7.fhir.instance.model.api.IBaseResource - -import java.util.Collections.emptyList - -@ResourceDef(name = "Patient") -class ExtendedPatient : Patient() { - - @Child(name = "status") - @Extension( - url = "http://some.url", - definedLocally = false, - isModifier = false - ) - var status: List = emptyList() -}