chore: Fix JDBC driver issues caused by blob incompatibility
chore: Remove lob annotation from certificate entity chore: Rename commonName colum to reflect it being in the subject information chore: Add more verbose logging chore: Update test to yield actually usefull assertion errors fix: Delete all items in the repository before running test - This fixes an issue where non-deterministic test order would cause the #singleElement assertion to fail sometimes
This commit is contained in:
parent
de738b7311
commit
8d83cba2cd
4 changed files with 25 additions and 12 deletions
|
|
@ -46,7 +46,7 @@ public class CertificateCreationService {
|
|||
private Certificate createEntityFromRequest(CertificateRequest certificateRequest) {
|
||||
final Certificate certificate = new Certificate();
|
||||
certificate.setType(mapCertificateRequestType(certificateRequest.getType()));
|
||||
certificate.setCommonName(certificateRequest.getSubject().getCommonName());
|
||||
certificate.setSubjectCommonName(certificateRequest.getSubject().getCommonName());
|
||||
certificate.setTrustingAuthority(certificateRequest.getTrustingAuthority());
|
||||
certificate.setRequestedKeyLength(certificateRequest.getRequestedKeyLength());
|
||||
certificate.setRequestedValidityDays(certificateRequest.getRequestedValidityDays());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue