From ef5ac16e81ddfbb2e5553769aac53c268944e8b9 Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Thu, 12 Jul 2018 08:52:20 +0200 Subject: Revert "Adding handler and binding when services.xml has -field" --- container-integration-test/.gitignore | 31 -------- container-integration-test/OWNERS | 1 - container-integration-test/README | 1 - container-integration-test/pom.xml | 44 ------------ .../com/yahoo/search/query/gui/GUIHandlerTest.java | 84 ---------------------- 5 files changed, 161 deletions(-) delete mode 100644 container-integration-test/.gitignore delete mode 100644 container-integration-test/OWNERS delete mode 100644 container-integration-test/README delete mode 100644 container-integration-test/pom.xml delete mode 100644 container-integration-test/src/test/java/com/yahoo/search/query/gui/GUIHandlerTest.java (limited to 'container-integration-test') diff --git a/container-integration-test/.gitignore b/container-integration-test/.gitignore deleted file mode 100644 index 7f4ebc3a7c6..00000000000 --- a/container-integration-test/.gitignore +++ /dev/null @@ -1,31 +0,0 @@ -.classpath -.project -.settings -/.cache -/.classpath -/.emacs.desktop -/.nbintdb -/.project -/.settings -/.version -/QueryAccessLog* -/accessLog.log -/build -/bundles -/libexec -/nbproject -/pom.xml.build -/prelude.iml -/prelude.ipr -/prelude.iws -/staging -/target -/temp -/testLogFileG.txt -/testLogs -/test_yapache_access_log -/testlogsG -/testng.out.log -/tmp -null.log -tmp diff --git a/container-integration-test/OWNERS b/container-integration-test/OWNERS deleted file mode 100644 index 6faef1015fb..00000000000 --- a/container-integration-test/OWNERS +++ /dev/null @@ -1 +0,0 @@ -gjoranv \ No newline at end of file diff --git a/container-integration-test/README b/container-integration-test/README deleted file mode 100644 index c10341c3d8e..00000000000 --- a/container-integration-test/README +++ /dev/null @@ -1 +0,0 @@ -Test for JDisc-components diff --git a/container-integration-test/pom.xml b/container-integration-test/pom.xml deleted file mode 100644 index 4b4d5de21eb..00000000000 --- a/container-integration-test/pom.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - 4.0.0 - - com.yahoo.vespa - parent - 6-SNAPSHOT - ../parent/pom.xml - - container-integration-test - jar - 6-SNAPSHOT - - - com.yahoo.vespa - container-search-gui - ${project.version} - test - - - com.yahoo.vespa - application - ${project.version} - test - - - junit - junit - test - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - - \ No newline at end of file diff --git a/container-integration-test/src/test/java/com/yahoo/search/query/gui/GUIHandlerTest.java b/container-integration-test/src/test/java/com/yahoo/search/query/gui/GUIHandlerTest.java deleted file mode 100644 index 5fd73afe800..00000000000 --- a/container-integration-test/src/test/java/com/yahoo/search/query/gui/GUIHandlerTest.java +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.search.query.gui; - -import com.yahoo.application.Networking; -import com.yahoo.application.container.JDisc; -import com.yahoo.application.container.handler.Request; -import com.yahoo.application.container.handler.Response; - -import org.junit.After; -import org.junit.Before; -import org.junit.Test; -import java.io.IOException; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; - - -/** - * @author Henrik Høiness - */ - -public class GUIHandlerTest { - - private JDisc container; - - @Before - public void startContainer() { - container = JDisc.fromServicesXml(servicesXml(), Networking.disable); - } - - @After - public void stopContainer() { - /* - try { - Thread.sleep(100_000); - } catch (InterruptedException e) { - e.printStackTrace(); - }*/ - container.close(); - } - - @Test - public void testRequest() throws Exception { - assertResponse("/querybuilder/", "