mirror of
https://github.com/corda/corda.git
synced 2025-06-23 01:19:00 +00:00
ENT-11003: Upgraded Jetty and Jersey. (#7715)
* ENT-11003: Upgraded jetty and jersey. Fixed up simm valuation demo.
This commit is contained in:
@ -200,8 +200,8 @@ dependencies {
|
||||
// Jetty dependencies for NetworkMapClient test.
|
||||
// Web stuff: for HTTP[S] servlets
|
||||
testImplementation "org.hamcrest:hamcrest-library:2.1"
|
||||
testImplementation "org.eclipse.jetty:jetty-servlet:${jetty_version}"
|
||||
testImplementation "org.eclipse.jetty:jetty-webapp:${jetty_version}"
|
||||
testImplementation "org.eclipse.jetty.ee10:jetty-ee10-servlet:${jetty_version}"
|
||||
testImplementation "org.eclipse.jetty.ee10:jetty-ee10-webapp:${jetty_version}"
|
||||
testImplementation "javax.servlet:javax.servlet-api:${servlet_version}"
|
||||
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockito_kotlin_version"
|
||||
testImplementation "com.google.jimfs:jimfs:1.1"
|
||||
@ -211,6 +211,7 @@ dependencies {
|
||||
testImplementation "org.glassfish.jersey.core:jersey-server:${jersey_version}"
|
||||
testImplementation "org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey_version}"
|
||||
testImplementation "org.glassfish.jersey.containers:jersey-container-jetty-http:${jersey_version}"
|
||||
testImplementation "org.glassfish.jersey.inject:jersey-hk2:$jersey_version"
|
||||
|
||||
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junit_vintage_version}"
|
||||
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit_jupiter_version}"
|
||||
|
@ -1,5 +1,13 @@
|
||||
package net.corda.node.utilities.registration
|
||||
|
||||
import jakarta.ws.rs.Consumes
|
||||
import jakarta.ws.rs.GET
|
||||
import jakarta.ws.rs.POST
|
||||
import jakarta.ws.rs.Path
|
||||
import jakarta.ws.rs.PathParam
|
||||
import jakarta.ws.rs.Produces
|
||||
import jakarta.ws.rs.core.MediaType
|
||||
import jakarta.ws.rs.core.Response
|
||||
import net.corda.core.identity.CordaX500Name
|
||||
import net.corda.core.internal.logElapsedTime
|
||||
import net.corda.core.internal.readFully
|
||||
@ -40,9 +48,6 @@ import java.util.concurrent.ConcurrentHashMap
|
||||
import java.util.concurrent.ConcurrentSkipListSet
|
||||
import java.util.zip.ZipEntry
|
||||
import java.util.zip.ZipOutputStream
|
||||
import javax.ws.rs.*
|
||||
import javax.ws.rs.core.MediaType
|
||||
import javax.ws.rs.core.Response
|
||||
|
||||
class NodeRegistrationTest {
|
||||
companion object {
|
||||
|
Reference in New Issue
Block a user