Search in sources :

Example 6 with VertxSliceServer

use of com.artipie.vertx.VertxSliceServer in project maven-adapter by artipie.

the class RepoHeadITCase method setUp.

@BeforeEach
void setUp() throws Exception {
    this.client.start();
    this.server = new VertxSliceServer(RepoHeadITCase.VERTX, new LoggingSlice(new FakeProxy(this.client)));
    this.port = this.server.start();
}
Also used : VertxSliceServer(com.artipie.vertx.VertxSliceServer) LoggingSlice(com.artipie.http.slice.LoggingSlice) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

VertxSliceServer (com.artipie.vertx.VertxSliceServer)6 LoggingSlice (com.artipie.http.slice.LoggingSlice)5 InMemoryStorage (com.artipie.asto.memory.InMemoryStorage)4 BeforeEach (org.junit.jupiter.api.BeforeEach)4 FromStorageCache (com.artipie.asto.cache.FromStorageCache)2 Authentication (com.artipie.http.auth.Authentication)2 JettyClientSlices (com.artipie.http.client.jetty.JettyClientSlices)2 GenericContainer (org.testcontainers.containers.GenericContainer)2 Content (com.artipie.asto.Content)1 Key (com.artipie.asto.Key)1 Storage (com.artipie.asto.Storage)1 Cache (com.artipie.asto.cache.Cache)1 TestResource (com.artipie.asto.test.TestResource)1 BaseSlice (com.artipie.http.BaseSlice)1 Headers (com.artipie.http.Headers)1 Slice (com.artipie.http.Slice)1 Permissions (com.artipie.http.auth.Permissions)1 BasicAuthenticator (com.artipie.http.client.auth.BasicAuthenticator)1 RsHasStatus (com.artipie.http.hm.RsHasStatus)1 RequestLine (com.artipie.http.rq.RequestLine)1