-
Notifications
You must be signed in to change notification settings - Fork 11
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
HCX-990 : Configure notifications for revoked certificates #611
HCX-990 : Configure notifications for revoked certificates #611
Conversation
hcx-apis/src/main/java/org/swasth/hcx/service/ParticipantService.java
Outdated
Show resolved
Hide resolved
if (participant.containsKey(Constants.ENCRYPTION_CERT)) { | ||
certificatePath = (String) participant.get(Constants.ENCRYPTION_CERT); | ||
} | ||
if (participant.containsKey(Constants.SIGNING_CERT_PATH)) { | ||
certificatePath = (String) participant.get(Constants.SIGNING_CERT_PATH); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How it works when both the certificates exist for the participant?
List<String> revokedParticipantCodes = new ArrayList<>(); | ||
List<String> invalidCertificates = new ArrayList<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid using a mutable list like this. It creates problem and won't be able to understand what are all the places the list is updating.
Co-authored-by: Mahesh Kumar Gangula <[email protected]>
…ce.java Co-authored-by: Mahesh Kumar Gangula <[email protected]>
…iGaddi/hcx-platform into certificate-revoke-schedular
|
0f3388b
into
Swasth-Digital-Health-Foundation:sprint-55
This PR contains
— Add validate certificate revocation status logic in hcx-commons
— Certificate revocation scheduler
— Update the status to Inactive for participant revoked certificate