From ed325d5b3ba692f485234cbddb72ecea5ab9f2f1 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Wed, 5 Sep 2018 11:45:56 +0200 Subject: Move ranking-constants.def to configdefinitions --- searchcore/src/apps/verify_ranksetup/verify_ranksetup.cpp | 2 +- .../src/main/java/com/yahoo/vespa/config/search/package-info.java | 7 ------- .../proton/proton_config_fetcher/proton_config_fetcher_test.cpp | 2 +- .../src/tests/proton/proton_configurer/proton_configurer_test.cpp | 2 +- searchcore/src/vespa/searchcore/config/CMakeLists.txt | 2 -- searchcore/src/vespa/searchcore/config/ranking-constants.def | 6 ------ searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp | 2 +- .../src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp | 2 +- 8 files changed, 5 insertions(+), 20 deletions(-) delete mode 100644 searchcore/src/main/java/com/yahoo/vespa/config/search/package-info.java delete mode 100644 searchcore/src/vespa/searchcore/config/ranking-constants.def (limited to 'searchcore') diff --git a/searchcore/src/apps/verify_ranksetup/verify_ranksetup.cpp b/searchcore/src/apps/verify_ranksetup/verify_ranksetup.cpp index f60863ef0b0..4f2720718ff 100644 --- a/searchcore/src/apps/verify_ranksetup/verify_ranksetup.cpp +++ b/searchcore/src/apps/verify_ranksetup/verify_ranksetup.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include @@ -11,7 +12,6 @@ #include #include #include -#include #include #include #include diff --git a/searchcore/src/main/java/com/yahoo/vespa/config/search/package-info.java b/searchcore/src/main/java/com/yahoo/vespa/config/search/package-info.java deleted file mode 100644 index 0e739ec238c..00000000000 --- a/searchcore/src/main/java/com/yahoo/vespa/config/search/package-info.java +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. - -@ExportPackage -package com.yahoo.vespa.config.search; - -import com.yahoo.osgi.annotation.ExportPackage; - diff --git a/searchcore/src/tests/proton/proton_config_fetcher/proton_config_fetcher_test.cpp b/searchcore/src/tests/proton/proton_config_fetcher/proton_config_fetcher_test.cpp index 2817ddb1b85..f2e5fa7c152 100644 --- a/searchcore/src/tests/proton/proton_config_fetcher/proton_config_fetcher_test.cpp +++ b/searchcore/src/tests/proton/proton_config_fetcher/proton_config_fetcher_test.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include @@ -17,7 +18,6 @@ #include #include #include -#include #include #include #include diff --git a/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp b/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp index dfb1268aaa6..e42016c9577 100644 --- a/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp +++ b/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include @@ -18,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/searchcore/src/vespa/searchcore/config/CMakeLists.txt b/searchcore/src/vespa/searchcore/config/CMakeLists.txt index 3d62309161c..186c9b68d34 100644 --- a/searchcore/src/vespa/searchcore/config/CMakeLists.txt +++ b/searchcore/src/vespa/searchcore/config/CMakeLists.txt @@ -9,6 +9,4 @@ vespa_generate_config(searchcore_fconfig fdispatchrc.def) install_config_definition(fdispatchrc.def vespa.config.search.core.fdispatchrc.def) vespa_generate_config(searchcore_fconfig proton.def) install_config_definition(proton.def vespa.config.search.core.proton.def) -vespa_generate_config(searchcore_fconfig ranking-constants.def) -install_config_definition(ranking-constants.def vespa.config.search.core.ranking-constants.def) vespa_generate_config(searchcore_fconfig hwinfo.def) diff --git a/searchcore/src/vespa/searchcore/config/ranking-constants.def b/searchcore/src/vespa/searchcore/config/ranking-constants.def deleted file mode 100644 index 3b55eda3308..00000000000 --- a/searchcore/src/vespa/searchcore/config/ranking-constants.def +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -namespace=vespa.config.search.core - -constant[].name string -constant[].fileref file -constant[].type string diff --git a/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp b/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp index fd1f9f1155d..b9a3d055cd1 100644 --- a/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp @@ -5,12 +5,12 @@ #include #include #include +#include #include #include #include #include #include -#include #include #include #include diff --git a/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp b/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp index f2230215c3d..431f7554416 100644 --- a/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp @@ -3,9 +3,9 @@ #include "documentdbconfigmanager.h" #include "bootstrapconfig.h" #include -#include #include #include +#include #include #include #include -- cgit v1.2.3