diff --git a/cpa-repo/src/main/kotlin/no/nav/emottak/cpa/Routes.kt b/cpa-repo/src/main/kotlin/no/nav/emottak/cpa/Routes.kt index f58c4adb..f4c7f28f 100644 --- a/cpa-repo/src/main/kotlin/no/nav/emottak/cpa/Routes.kt +++ b/cpa-repo/src/main/kotlin/no/nav/emottak/cpa/Routes.kt @@ -173,11 +173,6 @@ fun Route.postCpa(cpaRepository: CPARepository) = post("/cpa") { } } -fun loadOverrideCPA(): CollaborationProtocolAgreement { - val cpaString = String(object {}::class.java.classLoader.getResource("cpa/nav_qass_30823_modified.xml").readBytes()) - return xmlMarshaller.unmarshal(cpaString, CollaborationProtocolAgreement::class.java) -} - fun Route.validateCpa(cpaRepository: CPARepository) = post("/cpa/validate/{$CONTENT_ID}") { val validateRequest = call.receive(ValidationRequest::class) try {