Module

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

BAB - Bought also Bought

VAV - viewed also viewed

temppage/content -> lable -> Badges -> Content& pageType=Expo -> others -> Process
content ->
get the list of modules sort & filter the modules -> lable -> build the selection
input object -> -> p13Nresponse for localcallDisable
-> build the selection input object ->
(pageType.mobile_MYITEMS_SCREEN, ||
pageType. MYITEMS_PAGE.getName() ||
pageType.PURCHASE_HISTORY.getName()

selection input object(selection Engine factory ) ->


candidate loo up(Choice of model) - BAB -CI(complementary item, VAV -SI(single
item) -->
Inflation(item related data) -->
ranking of models ->
ranking od items within the model ->
response generation
------------

class contentAggregator
-final string content-selection-in parallel-engine-
metric="p13selectionengineInparralel";

//CustomerInformation custInformation = null;


if(isPrefileringEnabled(p13nRequest)){
//get userfeatures
custInformation = customerInformationFetcher.getCustomerInformation(p13nRequest,
reqinfo);
}
--->
once information is fetched then
build/create the selection input object is created
//perform the selection
so selectionEngine selectedSelectionENgine =
selectionEngineFactory.getselectionEngine(tenantType.getName());
public selectionEngine getSelectionEngine(String tenant,String pagetype,string
moduletype,string usecase,SelectionInput selectioninput){
abstract class ItemCarouseEngine implements selectionEngine, ProductConstant{
}
class UnifiedItemPageCarousEngine extends ItemCarouseEngine { // select method }
}
call the select method
selectContent = selectedSelectionEngine.select(selectionInput); // entry point
-->modelconfig(which models are enabled)

//keys required for the model coverage(achiritem id)


CandidatecacheUtil.generateCandidate(itemId,catId,searchCandidates,ConfigMap,
storedId, modelBinSizeMap);
===> min 41.50
getpagecandiate(item,category,search)
---> inflation step( item related)
Item Store - static binding (item name, item weight) ==>list of item id send to
item store
IRO - dynamic binding ( item price, discount)

mergeresponse(Item store,IRO)
getmodels(selectioninput, modelcandidatesMap)

-(Selectioninput selectioninput, SelectionConfig selectionconfig)


---outofstock
lowconsideration iterm (glosary item)
depends on the journey rank is selected(different kinds of ranks)-
subranker,metaranker,collectionranker,unifiedranker,
if non of the rank selected go back to generic ranker

AthenaModule

contentcreater

getunifiedresponsetype
--> which type of response is here, identify the response type here
each response generator is use
responsegeneration

//group zone per module type


modelMapper.groupModulesByType

-> p13Nresponse for localcallDisable


===========================================
BAB - Bought also Bought
VAV - viewed also viewed

getauthenaMultipleContent
//basic process
-process content
p13NResponse response = null; -632
response =contentaggregator.processContent(p13NResponse);
---process content --114
processContent(p13nrequest,p13nRequest){ } 114

selectSelectionEngine.select(selectInput) ---entry point


getCustomerInformationMapper - collected here (ready to send content aggregator)

327
347

select the unified

getcustomerInformation(p13nrequest, refinfo);
looked up in parralel in method
- like purchase history,order history,real time browse history
**********=====================**********

You might also like