diff options
Diffstat (limited to 'configdefinitions/src/vespa/document-protocol-policies.def')
-rw-r--r-- | configdefinitions/src/vespa/document-protocol-policies.def | 25 |
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..e752a542cbd --- /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=messagebus.documentapi + +## +## 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 |