Skip to content

Commit

Permalink
Merge pull request #793 from catenax-ng/main
Browse files Browse the repository at this point in the history
feature: 736 add contractAgreementId as searchable field for /contracts endpoint
  • Loading branch information
ds-mmaul authored Mar 27, 2024
2 parents 677b40e + fcc38d8 commit 4e74e4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ _**For better traceability add the corresponding GitHub issue number in each cha
- Added overview of the scheduler tasks in documentation
- #706 Created notification classes to support both alert and investigations
- #706 Notification controller having the same endpoints as alerts and investigations controllers
- #736 add contractAgreementId as searchable field for /contracts

### Changed
- #709 Bumped spring-core from 6.0.17 to 6.1.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
public class ContractFieldMapper extends BaseRequestFieldMapper {
private static final Map<String, String> SUPPORTED_CONTRACT_FILTER_FIELDS = Map.ofEntries(
Map.entry("created", "created"),
Map.entry("id", "id")
Map.entry("id", "id"),
Map.entry("contractId", "contractAgreementId")
);

@Override
Expand Down

0 comments on commit 4e74e4a

Please sign in to comment.