From 7dc9c6c81a88eae4a7023f5f4ae731eab0ea3d4f Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Mon, 22 Aug 2022 22:02:59 +0200 Subject: [PATCH] Remove unused test app --- .../src/test/apps/illegalApp2/hosts.xml | 7 --- .../test/apps/illegalApp2/schemas/music.sd | 50 ------------------- .../src/test/apps/illegalApp2/services.xml | 39 --------------- .../server/ApplicationRepositoryTest.java | 1 - 4 files changed, 97 deletions(-) delete mode 100644 configserver/src/test/apps/illegalApp2/hosts.xml delete mode 100644 configserver/src/test/apps/illegalApp2/schemas/music.sd delete mode 100644 configserver/src/test/apps/illegalApp2/services.xml diff --git a/configserver/src/test/apps/illegalApp2/hosts.xml b/configserver/src/test/apps/illegalApp2/hosts.xml deleted file mode 100644 index a515a4e97da6..000000000000 --- a/configserver/src/test/apps/illegalApp2/hosts.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - node1 - - diff --git a/configserver/src/test/apps/illegalApp2/schemas/music.sd b/configserver/src/test/apps/illegalApp2/schemas/music.sd deleted file mode 100644 index f4b11d1e8e4f..000000000000 --- a/configserver/src/test/apps/illegalApp2/schemas/music.sd +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -# A basic search definition - called music, should be saved to music.sd -search music { - - # It contains one document type only - called music as well - document music { - - field title type string { - indexing: summary | index # How this field should be indexed - # index-to: title, default # Create two indexes - weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature - } - - field artist type string { - indexing: summary | attribute | index - # index-to: artist, default - - weight: 25 - } - - field year type int { - indexing: summary | attribute - } - - # Increase query - field popularity type int { - indexing: summary | attribute - } - - field url type uri { - indexing: summary | index - } - - } - - rank-profile default inherits default { - first-phase { - expression: nativeRank(title,artist) + attribute(popularity) - } - - } - - rank-profile textmatch inherits default { - first-phase { - expression: nativeRank(title,artist) - } - - } - -} diff --git a/configserver/src/test/apps/illegalApp2/services.xml b/configserver/src/test/apps/illegalApp2/services.xml deleted file mode 100644 index 3e957a0e2281..000000000000 --- a/configserver/src/test/apps/illegalApp2/services.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - someval - - - - - - - - - diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java index a8439a9061ce..99487230c5de 100644 --- a/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java +++ b/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java @@ -92,7 +92,6 @@ public class ApplicationRepositoryTest { private final static File testAppLogServerWithContainer = new File("src/test/apps/app-logserver-with-container"); private final static File app1 = new File("src/test/apps/cs1"); private final static File app2 = new File("src/test/apps/cs2"); - private final static File illegalApp2 = new File("src/test/apps/illegalapp2"); private final static TenantName tenant1 = TenantName.from("test1"); private final static TenantName tenant2 = TenantName.from("test2");