Package com.skava.feed.service.impl
Class FindFeedRunHistoryServiceImpl
java.lang.Object
com.skava.feed.service.impl.FindFeedRunHistoryServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<FeedRunHistoryRequestInternal,,FeedRunHistoryDTO> FindFeedRunHistoryService
@Service
public class FindFeedRunHistoryServiceImpl
extends Object
implements FindFeedRunHistoryService
FindFeedRunHistoryServiceImpl class.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>voidinvokeLamdbaFunction(String s3URL, String scheduleId, String delta) This method is used to invoke the lambda function.booleanThis method is used to check if file is in processing state.process(FeedRunHistoryRequestInternal request) This method is used to load single FeedRunHistory based on given FeedRunHistory identifier.voidstoreSummaryDetails(FeedRunHistoryDO feedRunHistoryDO, Map<String, String> propertiesMap, String cdn, String channel) voidupdateFeedRunHistory(FeedRunHistoryDO feedRunHistoryDO) This method is used to update history after lambda triggered.voidvalidateRequest(List<JobParamDTO> scheduleParams, FeedRunHistoryDO feedRunHistoryDO) This method is used to trigger Lambda if the process is in background.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.skava.core.EcommService
getValidateException, getValidator
-
Constructor Details
-
FindFeedRunHistoryServiceImpl
public FindFeedRunHistoryServiceImpl()
-
-
Method Details
-
getValidator
- Specified by:
getValidatorin interfacecom.skava.core.EcommService<FeedRunHistoryRequestInternal,FeedRunHistoryDTO>
-
process
This method is used to load single FeedRunHistory based on given FeedRunHistory identifier.- Specified by:
processin interfacecom.skava.core.EcommService<FeedRunHistoryRequestInternal,FeedRunHistoryDTO>
-
validateRequest
This method is used to trigger Lambda if the process is in background.- Parameters:
scheduleParams- holds the jobParamsfeedRunHistoryDO- holds the Feed Run History DO object.
-
isFileInProcessingState
This method is used to check if file is in processing state.- Parameters:
url- holds the valid URL.- Returns:
- boolean value.
-
invokeLamdbaFunction
This method is used to invoke the lambda function.- Parameters:
s3URL- holds the s3URLscheduleId- holds the valid scheduleIddelta- holds the valid delta value.
-
updateFeedRunHistory
This method is used to update history after lambda triggered.- Parameters:
feedRunHistoryDO- feedRunHistoryDO
-
storeSummaryDetails
public void storeSummaryDetails(FeedRunHistoryDO feedRunHistoryDO, Map<String, String> propertiesMap, String cdn, String channel) - Parameters:
feedRunHistoryDO- holds the feedRunHistory ObjectpropertiesMap- holds the valid propertycdn- holds the cdnUrlchannel- holds the channel
-