@Test public void switchIndexesTest() throws LogbookClientServerException, InvalidParseOperationException { final LogbookOperationsClient client = LogbookOperationsClientFactory.getInstance().getClient(); assertNotNull(client.switchIndexes(new SwitchIndexParameters())); }
@Override public JsonNode switchIndexes(SwitchIndexParameters switchIndexParam) throws InvalidParseOperationException, LogbookClientServerException { return ClientMockResultHelper.getSwitchIndexesInfo().toJsonNode(); }
LogbookOperationsClientMock extends AbstractMockClient implements LogbookOperationsClient { @Override public JsonNode switchIndexes(SwitchIndexParameters switchIndexParam) throws InvalidParseOperationException, LogbookClientServerException { return ClientMockResultHelper.getSwitchIndexesInfo().toJsonNode(); } }
LogbookOperationsClientMock extends AbstractMockClient implements LogbookOperationsClient { @Override public JsonNode switchIndexes(SwitchIndexParameters switchIndexParam) throws InvalidParseOperationException, LogbookClientServerException { return ClientMockResultHelper.getSwitchIndexesInfo().toJsonNode(); }  }
LogbookOperationsClientMock extends AbstractMockClient implements LogbookOperationsClient { @Override public JsonNode switchIndexes(SwitchIndexParameters switchIndexParam) throws InvalidParseOperationException, LogbookClientServerException { return ClientMockResultHelper.getSwitchIndexesInfo().toJsonNode(); }  @Override void create(LogbookOperationParameters parameters); @Override void update(LogbookOperationParameters parameters); @Override JsonNode selectOperation(JsonNode select); @Override JsonNode selectOperationSliced(JsonNode select); @Override JsonNode selectOperationById(String id); @Override RequestResponseOK traceability(); @Override void createDelegate(LogbookOperationParameters parameters); @Override void updateDelegate(LogbookOperationParameters parameters); @Override void bulkCreate(String eventIdProc, Iterable<LogbookOperationParameters> queue); @Override void bulkUpdate(String eventIdProc, Iterable<LogbookOperationParameters> queue); @Override void commitCreateDelegate(String eventIdProc); @Override void commitUpdateDelegate(String eventIdProc); @Override void close(); @Override RequestResponseOK traceabilityLfcUnit(); @Override RequestResponseOK traceabilityLfcObjectGroup(); @Override JsonNode reindex(IndexParameters indexParam); @Override JsonNode switchIndexes(SwitchIndexParameters switchIndexParam); @Override void traceabilityAudit(int tenant, AuditLogbookOptions options); @Override LogbookCheckResult checkLogbookCoherence(); @Override LifecycleTraceabilityStatus checkLifecycleTraceabilityWorkflowStatus(String operationId); }
LogbookOperationsClientMock extends AbstractMockClient implements LogbookOperationsClient { @Override public JsonNode switchIndexes(SwitchIndexParameters switchIndexParam) throws InvalidParseOperationException, LogbookClientServerException { return ClientMockResultHelper.getSwitchIndexesInfo().toJsonNode(); }  @Override void create(LogbookOperationParameters parameters); @Override void update(LogbookOperationParameters parameters); @Override JsonNode selectOperation(JsonNode select); @Override JsonNode selectOperationSliced(JsonNode select); @Override JsonNode selectOperationById(String id); @Override RequestResponseOK traceability(); @Override void createDelegate(LogbookOperationParameters parameters); @Override void updateDelegate(LogbookOperationParameters parameters); @Override void bulkCreate(String eventIdProc, Iterable<LogbookOperationParameters> queue); @Override void bulkUpdate(String eventIdProc, Iterable<LogbookOperationParameters> queue); @Override void commitCreateDelegate(String eventIdProc); @Override void commitUpdateDelegate(String eventIdProc); @Override void close(); @Override RequestResponseOK traceabilityLfcUnit(); @Override RequestResponseOK traceabilityLfcObjectGroup(); @Override JsonNode reindex(IndexParameters indexParam); @Override JsonNode switchIndexes(SwitchIndexParameters switchIndexParam); @Override void traceabilityAudit(int tenant, AuditLogbookOptions options); @Override LogbookCheckResult checkLogbookCoherence(); @Override LifecycleTraceabilityStatus checkLifecycleTraceabilityWorkflowStatus(String operationId);  }