Class LogbookService
java.lang.Object
fr.gouv.vitam.functionaltest.cucumber.service.LogbookService
Logbook service containing common code for logbook
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheckFinalStatusLogbook
(AccessExternalClient accessClient, int tenantId, String contractId, String applicationSessionId, String operationId, String status) check on logbook if the global status is OK (status of the last event, if last event is correct)getLogbookOperation
(AccessExternalClient accessClient, int tenantId, String contractId, String applicationSessionId, String operationId) Get a Logbook operation by its id
-
Constructor Details
-
LogbookService
public LogbookService()
-
-
Method Details
-
getLogbookOperation
public RequestResponse<LogbookOperation> getLogbookOperation(AccessExternalClient accessClient, int tenantId, String contractId, String applicationSessionId, String operationId) throws VitamClientException Get a Logbook operation by its id- Parameters:
accessClient
- access clienttenantId
- tenant idcontractId
- access contract idapplicationSessionId
- application session idoperationId
- logbook operation id- Returns:
- RequestResponse
- Throws:
VitamClientException
- exception
-
checkFinalStatusLogbook
public LogbookEventOperation checkFinalStatusLogbook(AccessExternalClient accessClient, int tenantId, String contractId, String applicationSessionId, String operationId, String status) throws VitamClientException check on logbook if the global status is OK (status of the last event, if last event is correct)- Parameters:
accessClient
- access clienttenantId
- tenant idcontractId
- access contract idapplicationSessionId
- application session idoperationId
- logbook operation idstatus
- expected status- Throws:
VitamClientException
- exception
-