summaryrefslogtreecommitdiffstats
path: root/documentapi/src
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-01-28 13:09:33 +0100
committerJon Marius Venstad <venstad@gmail.com>2021-01-28 13:09:33 +0100
commit04436e6600aa66d6ef500565d799083aa652412f (patch)
treebaea8bf008eb6f528ab4f24182afd48c22fa6c81 /documentapi/src
parent393145ec4ff274d7510a0a88573db4511c039158 (diff)
Move config to other module
Diffstat (limited to 'documentapi/src')
-rw-r--r--documentapi/src/main/resources/configdefinitions/document-protocol-policies.def25
1 files changed, 25 insertions, 0 deletions
diff --git a/documentapi/src/main/resources/configdefinitions/document-protocol-policies.def b/documentapi/src/main/resources/configdefinitions/document-protocol-policies.def
new file mode 100644
index 00000000000..ace4f254821
--- /dev/null
+++ b/documentapi/src/main/resources/configdefinitions/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