@Override public SortedSet<String> getTags() { return getTarget().getTags(); }
@Override public Integration updateFlowExcerpts(Integration integration) { // Update excerpt for api provider endpoints only if (integration == null || !integration.getTags().contains("api-provider")) { return integration; } return new Integration.Builder() .createFrom(integration) .flows(integration.getFlows().stream() .map(this::flowWithExcerpts) .collect(Collectors.toList())) .build(); }