Adding configurations for sparky UI
[aai/test-config.git] / sparky / appconfig / suggestive-search.properties
diff --git a/sparky/appconfig/suggestive-search.properties b/sparky/appconfig/suggestive-search.properties
new file mode 100644 (file)
index 0000000..8e48746
--- /dev/null
@@ -0,0 +1,27 @@
+######################################################################################\r
+############################## Suggestive Search Config ##############################\r
+######################################################################################\r
+\r
+# Indexes to be taken into account when generating suggestion entries\r
+suggestion.indexes=elasticsearch.autosuggestIndexname,elasticsearch.indexName\r
+# List of stop words to be used during suggestive search\r
+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\r
+# Assigns which class, within sparky, will process the searches related to an assosiated index\r
+suggestion.routing=elasticsearch.autosuggestIndexname:SearchServiceWrapper,elasticsearch.indexName:VnfSearchService\r
+\r
+############################## Pairings ##############################\r
+#\r
+# "called" pairings, keys reference types within the OXM, and the value\r
+# is the suggestion term used for matches with any of the "called" keys.\r
+# e.g. "x called vserver-id" (but actual value of vserver-id)\r
+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\r
+suggestion.pairing.called.value=called\r
+#\r
+# Exact same explanation as the "called" pairings above.\r
+# e.g. "x at ipv4-oam-address"\r
+suggestion.pairing.at.key=street1,street2,postal-code,ipv4-oam-address,network-policy-fqdn\r
+suggestion.pairing.at.value=at\r
+#\r
+# Default pairing values for any OXM types that aren't part of the the other\r
+# pairing lists.\r
+suggestion.pairing.default.value=with
\ No newline at end of file