Skip to content

Commit

Permalink
feat(irs-registry-client):[#256] removed unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-psosnowski committed Dec 8, 2023
1 parent 2f3994f commit 1e321b5
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,23 +145,6 @@ private static void stopWatchOnEdcTask(final StopWatch stopWatch) {
log.info("EDC Task '{}' took {} ms", stopWatch.getLastTaskName(), stopWatch.getLastTaskTimeMillis());
}

private NegotiationResponse fetchNegotiationResponseWithFilter(final String connectorEndpoint, final String assetId)
throws EdcClientException {

final StopWatch stopWatch = new StopWatch();
stopWatch.start("Get EDC Submodel task for shell descriptor, endpoint " + connectorEndpoint);

final List<CatalogItem> catalog = catalogFacade.fetchCatalogByFilter(connectorEndpoint, NAMESPACE_EDC_ID,
assetId);

final CatalogItem catalogItem = catalog.stream()
.findFirst()
.orElseThrow(() -> new ItemNotFoundInCatalogException(connectorEndpoint,
assetId));

return contractNegotiationService.negotiate(connectorEndpoint, catalogItem);
}

private CompletableFuture<EdcNotificationResponse> sendNotificationAsync(final String assetId,
final EdcNotification<NotificationContent> notification, final StopWatch stopWatch,
final EndpointDataReference endpointDataReference) {
Expand Down

0 comments on commit 1e321b5

Please sign in to comment.