Service - Search Results: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


https://bitbucket.org/stb_vit/searchresult_main/src/master/
https://bitbucket.org/stb_vit/searchresult_main/src/master/
= searchType config =
<syntaxhighlight lang="JavaScript">
{
"configKey": "searchType",
"configTag": {eg: sellOffer/Product/etc..}
"configValue": {
"complexFilterServiceName": {service name of complex filter that handles this type}
"searchResultHandlerServiceName": {service name used to create function/queue names etc.}
"requireProperties": [
.. {properties that must be sent with the request}
],
childSearchResult: {
child_search_type: {searchType of child searchResult},
setRequiredData: [
.. {hardcodes the requiredData to be sent to the searchResult request}
],
passOnParentToChild: [
.. {properties to pass on to the child searchResult}
]
}
}
},
</syntaxhighlight>


= Working documents =
= Working documents =

Revision as of 13:59, 16 December 2020

Overview

Service that handles search result requests, feeding work to Service - Search Result (handlers).

Repository

https://bitbucket.org/stb_vit/searchresult_main/src/master/

searchType config

{
	"configKey": "searchType",
	"configTag": {eg: sellOffer/Product/etc..}
	"configValue": {
		"complexFilterServiceName": {service name of complex filter that handles this type}
		"searchResultHandlerServiceName": {service name used to create function/queue names etc.}
		"requireProperties": [
			.. {properties that must be sent with the request}
		],
		childSearchResult: {
			child_search_type: {searchType of child searchResult},
			setRequiredData: [
				.. {hardcodes the requiredData to be sent to the searchResult request}
			],
			passOnParentToChild: [
				.. {properties to pass on to the child searchResult}
			]
		}		
	}
},

Working documents

Working_documents - Search Result Main