summaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-01-09 10:14:42 +0000
committerTor Egge <Tor.Egge@oath.com>2018-01-09 10:14:42 +0000
commit6bc90279ce3c483cf243037572511aeb93e20de4 (patch)
tree7d7482d1289cf6a550f1eabfe0d398895ab68a62 /configdefinitions
parentc9422014ac0fb0e4173fe21b4485ac18bbbc398a (diff)
More Bucketspaces config definition to configdefinitions module in preparation
for it being used outside storage module.
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/CMakeLists.txt2
-rw-r--r--configdefinitions/src/vespa/bucketspaces.def14
2 files changed, 16 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/CMakeLists.txt b/configdefinitions/src/vespa/CMakeLists.txt
index fc9be8ce91b..65b02d7dc05 100644
--- a/configdefinitions/src/vespa/CMakeLists.txt
+++ b/configdefinitions/src/vespa/CMakeLists.txt
@@ -74,3 +74,5 @@ vespa_generate_config(configdefinitions zookeeper-server.def)
install_config_definition(zookeeper-server.def cloud.config.zookeeper-server.def)
vespa_generate_config(configdefinitions zookeepers.def)
install_config_definition(zookeepers.def cloud.config.zookeepers.def)
+vespa_generate_config(configdefinitions bucketspaces.def)
+install_config_definition(bucketspaces.def vespa.config.content.core.bucketspaces.def)
diff --git a/configdefinitions/src/vespa/bucketspaces.def b/configdefinitions/src/vespa/bucketspaces.def
new file mode 100644
index 00000000000..4db107ec1ee
--- /dev/null
+++ b/configdefinitions/src/vespa/bucketspaces.def
@@ -0,0 +1,14 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+namespace=vespa.config.content.core
+
+## This config contains the document types handled by a given content cluster
+## and the bucket space they belong to.
+
+## The name of a document type.
+documenttype[].name string
+
+## The bucket space this document type belongs to.
+documenttype[].bucketspace string
+
+## Switch to enable multiple bucket spaces in content layer and content nodes.
+enable_multiple_bucket_spaces bool default=false