From 45313bbb719625790bcf3920b90c8c7147c07494 Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Thu, 6 Apr 2017 21:02:52 +0200 Subject: Remove unused apps and fix no longer valid in services.xml --- .../validation/search_content/hosts.xml | 7 --- .../search_content/searchdefinitions/simple.sd | 7 --- .../validation/search_content/services.xml | 29 ----------- .../searchdefinitions/nextgendoc.sd | 8 --- .../cfg/search/data/nextgen-simple-v2/services.xml | 37 -------------- .../data/onlybundles/components/testbundle.jar | Bin 696 -> 0 bytes .../test/cfg/search/data/onlybundles/services.xml | 34 ------------- .../data/v2/onlybundles/components/testbundle.jar | Bin 696 -> 0 bytes .../cfg/search/data/v2/onlybundles/services.xml | 34 ------------- .../search/data/v2/twoFeedTargetClusters/hosts.xml | 7 --- .../searchdefinitions/music.sd | 13 ----- .../data/v2/twoFeedTargetClusters/services.xml | 55 -------------------- .../vespa/model/search/test/SearchClusterTest.java | 25 --------- configserver/src/test/apps/zkapp/services.xml | 56 ++++++--------------- 14 files changed, 14 insertions(+), 298 deletions(-) delete mode 100644 config-model/src/test/cfg/application/validation/search_content/hosts.xml delete mode 100644 config-model/src/test/cfg/application/validation/search_content/searchdefinitions/simple.sd delete mode 100644 config-model/src/test/cfg/application/validation/search_content/services.xml delete mode 100644 config-model/src/test/cfg/search/data/nextgen-simple-v2/searchdefinitions/nextgendoc.sd delete mode 100644 config-model/src/test/cfg/search/data/nextgen-simple-v2/services.xml delete mode 100644 config-model/src/test/cfg/search/data/onlybundles/components/testbundle.jar delete mode 100644 config-model/src/test/cfg/search/data/onlybundles/services.xml delete mode 100644 config-model/src/test/cfg/search/data/v2/onlybundles/components/testbundle.jar delete mode 100644 config-model/src/test/cfg/search/data/v2/onlybundles/services.xml delete mode 100644 config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/hosts.xml delete mode 100755 config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/searchdefinitions/music.sd delete mode 100644 config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/services.xml diff --git a/config-model/src/test/cfg/application/validation/search_content/hosts.xml b/config-model/src/test/cfg/application/validation/search_content/hosts.xml deleted file mode 100644 index e2b97e374e6..00000000000 --- a/config-model/src/test/cfg/application/validation/search_content/hosts.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - node1 - - diff --git a/config-model/src/test/cfg/application/validation/search_content/searchdefinitions/simple.sd b/config-model/src/test/cfg/application/validation/search_content/searchdefinitions/simple.sd deleted file mode 100644 index 3647689de10..00000000000 --- a/config-model/src/test/cfg/application/validation/search_content/searchdefinitions/simple.sd +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -search simple { - document simple { - field foo type raw { } - field bar type raw { indexing: summary } - } -} diff --git a/config-model/src/test/cfg/application/validation/search_content/services.xml b/config-model/src/test/cfg/application/validation/search_content/services.xml deleted file mode 100644 index c415b2aad4c..00000000000 --- a/config-model/src/test/cfg/application/validation/search_content/services.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/config-model/src/test/cfg/search/data/nextgen-simple-v2/searchdefinitions/nextgendoc.sd b/config-model/src/test/cfg/search/data/nextgen-simple-v2/searchdefinitions/nextgendoc.sd deleted file mode 100644 index 461e7123c01..00000000000 --- a/config-model/src/test/cfg/search/data/nextgen-simple-v2/searchdefinitions/nextgendoc.sd +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -search nextgendoc { - document nextgendoc { - field body type string { - indexing: summary | index - } - } -} diff --git a/config-model/src/test/cfg/search/data/nextgen-simple-v2/services.xml b/config-model/src/test/cfg/search/data/nextgen-simple-v2/services.xml deleted file mode 100644 index cce1cf40419..00000000000 --- a/config-model/src/test/cfg/search/data/nextgen-simple-v2/services.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/config-model/src/test/cfg/search/data/onlybundles/components/testbundle.jar b/config-model/src/test/cfg/search/data/onlybundles/components/testbundle.jar deleted file mode 100644 index 69f6e335092..00000000000 Binary files a/config-model/src/test/cfg/search/data/onlybundles/components/testbundle.jar and /dev/null differ diff --git a/config-model/src/test/cfg/search/data/onlybundles/services.xml b/config-model/src/test/cfg/search/data/onlybundles/services.xml deleted file mode 100644 index 427b0c6d23f..00000000000 --- a/config-model/src/test/cfg/search/data/onlybundles/services.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - 15.7 - - - - - - - - - - - - - - - - - - - - diff --git a/config-model/src/test/cfg/search/data/v2/onlybundles/components/testbundle.jar b/config-model/src/test/cfg/search/data/v2/onlybundles/components/testbundle.jar deleted file mode 100644 index 69f6e335092..00000000000 Binary files a/config-model/src/test/cfg/search/data/v2/onlybundles/components/testbundle.jar and /dev/null differ diff --git a/config-model/src/test/cfg/search/data/v2/onlybundles/services.xml b/config-model/src/test/cfg/search/data/v2/onlybundles/services.xml deleted file mode 100644 index 7d5048ba9a2..00000000000 --- a/config-model/src/test/cfg/search/data/v2/onlybundles/services.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - 15.7 - - - - - - - - - - - - - - - - - - - - diff --git a/config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/hosts.xml b/config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/hosts.xml deleted file mode 100644 index 9215f81ad98..00000000000 --- a/config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/hosts.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - node1 - - diff --git a/config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/searchdefinitions/music.sd b/config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/searchdefinitions/music.sd deleted file mode 100755 index 392e19213b1..00000000000 --- a/config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/searchdefinitions/music.sd +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -search music { - document music { - field f1 type string { - indexing: summary | index - # index-to: f1, all - } - field f2 type string { - indexing: summary | index - # index-to: f2, all - } - } -} diff --git a/config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/services.xml b/config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/services.xml deleted file mode 100644 index 8c78597b5b5..00000000000 --- a/config-model/src/test/cfg/search/data/v2/twoFeedTargetClusters/services.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/config-model/src/test/java/com/yahoo/vespa/model/search/test/SearchClusterTest.java b/config-model/src/test/java/com/yahoo/vespa/model/search/test/SearchClusterTest.java index f62cbbd0963..7426db0001b 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/search/test/SearchClusterTest.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/search/test/SearchClusterTest.java @@ -50,31 +50,6 @@ public class SearchClusterTest { @Test public void testSdConfigLogical() throws IOException, SAXException { - String services = "" + - "" + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - ""; - ApplicationPackage app = new VespaModelCreatorWithMockPkg(vespaHosts, services).appPkg; - // sd1 SDDocumentType sdt1=new SDDocumentType("s1"); Search search1 = new Search("s1", null); diff --git a/configserver/src/test/apps/zkapp/services.xml b/configserver/src/test/apps/zkapp/services.xml index aee18cc450a..778b63ce29f 100644 --- a/configserver/src/test/apps/zkapp/services.xml +++ b/configserver/src/test/apps/zkapp/services.xml @@ -10,51 +10,23 @@ - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + 1" + + + - - - - + - - - - + -- cgit v1.2.3