Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cleanup): [#757] remove unused method #789

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,19 @@ _**For better traceability add the corresponding GitHub issue number in each cha

## [Unreleased]

## [5.2.0] - 2024-07-03
### Added

### Fixed

- Access and Usage Policy Validation flow correction. #757

### Changed


## [5.2.0] - 2024-07-03

### Fixed
ds-jhartmann marked this conversation as resolved.
Show resolved Hide resolved

- Fixed ESS Investigation job processing not starting. #579
- Policy store API returns 'rightOperand' without 'odrl:' prefix now (see traceability-foss/issues/970).
- Fixed trivy workflow to fail only on CRITICAL, HIGH (according to https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/pull/949/files).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.time.OffsetDateTime;
import java.util.AbstractMap;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import java.util.LinkedList;
import java.util.List;
Expand Down Expand Up @@ -285,14 +284,6 @@ private static Stream<Policy> sortByPolicyId(final List<Policy> policies) {
return result.stream();
}

private List<AcceptedPolicy> getAllPolicies() {
return getAllStoredPolicies().values()
.stream()
.flatMap(Collection::stream)
.map(this::toAcceptedPolicy)
.toList();
}

private AcceptedPolicy toAcceptedPolicy(final Policy policy) {
return new AcceptedPolicy(policy, policy.getValidUntil());
}
Expand Down
Loading