Package org.qubership.atp.mia.repo.impl
Class ProcessStatusRepository
java.lang.Object
org.qubership.atp.mia.repo.impl.ProcessStatusRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparseLogMarkers(ProcessStatus processStatus, Command command) Pass markers from command to processStatus with evaluation it according to FlowData.voidparseLogStatus(ExecutionResponse executionResponse) Update process status according to log and markers.voidparseLogStatus(ExecutionResponse executionResponse, int linesAmount) Update process status according to log and markers.voidParses rest response and setsStatuses.FAILif there is unexpected code in response.
-
Constructor Details
-
ProcessStatusRepository
public ProcessStatusRepository()
-
-
Method Details
-
parseLogMarkers
Pass markers from command to processStatus with evaluation it according to FlowData.- Parameters:
processStatus- processStatuscommand- command
-
parseLogStatus
Update process status according to log and markers. -
parseLogStatus
Update process status according to log and markers.- Parameters:
executionResponse- response.linesAmount- amount of last lines to show in case if there is no markers.
-
parseReturnCodeAndUpdateStatus
Parses rest response and setsStatuses.FAILif there is unexpected code in response. In case if flag 'Check Status Code' turned off this funciton skipped.- Parameters:
response- http response
-