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 all 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
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,19 @@ _**For better traceability add the corresponding GitHub issue number in each cha

### Added


### Fixed

- Access and Usage Policy Validation flow correction. #757

### Changed

- Replaced technical error message when trying to delete the configured default policy with a user-friendly message.
- Replaced technical error message when trying to delete the configured default policy with a user-friendly message.


## [5.2.0] - 2024-07-03

### Fixed

- Access and Usage Policy Validation flow correction. #757
- 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 @@ -290,14 +289,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