Skip to content

Commit

Permalink
commit: DDCCGW-666 and DDCCGW-695
Browse files Browse the repository at this point in the history
  • Loading branch information
dattatrayamote committed Aug 20, 2024
1 parent 299b6fb commit db6f55f
Show file tree
Hide file tree
Showing 4 changed files with 219 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ public interface SignerInformationRepository extends JpaRepository<SignerInforma

List<SignerInformationEntity> getByDomainIsAndCountryIs(String domain, String country);

List<SignerInformationEntity> findByCountryIn(List<String> country);

List<SignerInformationEntity> findByGroupIn(List<String> group);

List<SignerInformationEntity> getByCountryIsAndGroupIs(String country, String group);

List<SignerInformationEntity> getByCountryIsAndGroupIsAndKidIs(String country, String group, String kid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,15 @@ public List<SignerInformationEntity> getCertificatesByCountry(String country) {
return signerInformationRepository.getByCountryIs(country);
}

public List<SignerInformationEntity> getCertificatesByAllCountries(List<String> countries) {

return signerInformationRepository.findByCountryIn(countries);
}

public List<SignerInformationEntity> getCertificatesByAllGroups(List<String> groups) {

return signerInformationRepository.findByGroupIn(groups);
}
/**
* Returns signer information that are filtered by domain and participant.
*
Expand Down
Loading

0 comments on commit db6f55f

Please sign in to comment.