summaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-01-28 10:00:33 +0100
committerJon Marius Venstad <venstad@gmail.com>2021-01-28 10:00:33 +0100
commita98afa0ef18128afee927f7d4e8bc71cd37d5395 (patch)
treef85292804e66aefd6cfd36c85dabef38241c599e /configdefinitions
parent9e5ae1833e4f9638efd8736e2257690eb77e826b (diff)
Revert "Move .def to relevant module"
This reverts commit 823c34b6b8ab549359b1a35716df94bc31ec5f21.
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/document-protocol-policies.def25
1 files changed, 25 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/document-protocol-policies.def b/configdefinitions/src/vespa/document-protocol-policies.def
new file mode 100644
index 00000000000..ace4f254821
--- /dev/null
+++ b/configdefinitions/src/vespa/document-protocol-policies.def
@@ -0,0 +1,25 @@
+# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+namespace=documentapi.messagebus.protocol
+
+##
+## Super config for all policies in the document protocol, keyed by content cluster ids.
+## Note: ContentPolicy also uses the "distribution" config.
+##
+
+#
+# Config used by MessageTypeRouteSelectorPolicy
+#
+# Default route if no override is set for a type.
+cluster{}.defaultRoute string
+
+# The name of the route.
+cluster{}.route[].name string
+
+# The document protocol message type triggering this route.
+cluster{}.route[].messageType int
+
+#
+# Config used by DocumentRouteSelectorPolicy
+#
+# The document selector for this cluster route.
+cluster{}.selector string