From 33d1baf91e07919e342f433f0649116b2037ac0d Mon Sep 17 00:00:00 2001 From: ARULNA Date: Tue, 13 Jun 2017 09:50:38 -0400 Subject: Adding configurations for sparky UI Change-Id: I320fae5badf1a3da2fe7227b77fd89027a67053f Signed-off-by: ARULNA --- sparky/appconfig/suggestive-search.properties | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sparky/appconfig/suggestive-search.properties (limited to 'sparky/appconfig/suggestive-search.properties') diff --git a/sparky/appconfig/suggestive-search.properties b/sparky/appconfig/suggestive-search.properties new file mode 100644 index 0000000..8e48746 --- /dev/null +++ b/sparky/appconfig/suggestive-search.properties @@ -0,0 +1,27 @@ +###################################################################################### +############################## Suggestive Search Config ############################## +###################################################################################### + +# Indexes to be taken into account when generating suggestion entries +suggestion.indexes=elasticsearch.autosuggestIndexname,elasticsearch.indexName +# List of stop words to be used during suggestive search +suggestion.stopwords=a,an,and,are,as,at,be,but,by,called,for,if,in,into,is,it,no,not,of,on,or,such,that,the,their,then,there,these,they,this,to,was,will,with +# Assigns which class, within sparky, will process the searches related to an assosiated index +suggestion.routing=elasticsearch.autosuggestIndexname:SearchServiceWrapper,elasticsearch.indexName:VnfSearchService + +############################## Pairings ############################## +# +# "called" pairings, keys reference types within the OXM, and the value +# is the suggestion term used for matches with any of the "called" keys. +# e.g. "x called vserver-id" (but actual value of vserver-id) +suggestion.pairing.called.key=volume-group-id,volume-group-name,physical-location-id,data-center-code,complex-name,tenant-id,tenant-name,vserver-id,vserver-name,vserver-name2,hostname,pserver-name2,pserver-id,global-customer-id,subscriber-name,service-instance-id,service-instance-name,link-name,vpn-id,vpn-name,vpe-id,vnf-id,vnf-name,vnf-name2,vnfc-name,network-id,network-name,network-policy-id,vf-module-id,vf-module-name,vnf-id2,pnf-name,circuit-id +suggestion.pairing.called.value=called +# +# Exact same explanation as the "called" pairings above. +# e.g. "x at ipv4-oam-address" +suggestion.pairing.at.key=street1,street2,postal-code,ipv4-oam-address,network-policy-fqdn +suggestion.pairing.at.value=at +# +# Default pairing values for any OXM types that aren't part of the the other +# pairing lists. +suggestion.pairing.default.value=with \ No newline at end of file -- cgit 1.2.3-korg