-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove rsync repository write check from health check [2def4f13] * Allow config path to be overridden [6767cef0] * Naming [c887eeb8] * Review items [6dc56937] * Code smells [5b21fbe5] * Typos [771db045] * Comment [6a23e493] * Fix broken tests [b23ba13e] * Straighten ACA request-response workflow [82ab2814] * Wrap singleton list in ArrayList to avoid XStream permission issue [25c30724] * Fix the filename of the `.jsonl` logs [9c705391] * Remove DB migration [b4608b00] * Add some DB check constraints corresponding to @NotNull in Java code [73fab508] * Add more validation checks [04a111f5] * Revert erroneous change [aa026edb] * Cleanup [c579d4f3] * Do not use hibernate-validation, it fails to load persistence provider [23a00e87] * Remove functionality that forced a single nCipher.sworld key to exist [2ab0cfed]
- Loading branch information
RPKI Team at RIPE NCC
committed
Feb 5, 2024
1 parent
f4db4ad
commit 6fe7d30
Showing
20 changed files
with
94 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 3 additions & 36 deletions
39
src/main/java/net/ripe/rpki/domain/CertificationProviderConfigurationData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,11 @@ | ||
package net.ripe.rpki.domain; | ||
|
||
import lombok.Getter; | ||
import net.ripe.rpki.server.api.support.objects.ValueObjectSupport; | ||
|
||
@Getter | ||
public class CertificationProviderConfigurationData extends ValueObjectSupport { | ||
import lombok.Data; | ||
|
||
@Data | ||
public class CertificationProviderConfigurationData { | ||
private final String keyStoreProvider; | ||
private final String keyPairGeneratorProvider; | ||
private final String signatureProvider; | ||
private final String keyStoreType; | ||
|
||
private final String fsKeyStoreProvider; | ||
private final String fsKeyPairGeneratorProvider; | ||
private final String fsSignatureProvider; | ||
private final String fsKeyStoreType; | ||
|
||
public CertificationProviderConfigurationData(String keyStoreProvider, | ||
String keyPairGeneratorProvider, | ||
String signatureProvider, | ||
String keyStoreType, | ||
String fsKeyStoreProvider, | ||
String fsKeyPairGeneratorProvider, | ||
String fsSignatureProvider, | ||
String fsKeyStoreType) { | ||
this.keyStoreProvider = keyStoreProvider; | ||
this.keyPairGeneratorProvider = keyPairGeneratorProvider; | ||
this.signatureProvider = signatureProvider; | ||
this.keyStoreType = keyStoreType; | ||
this.fsKeyStoreProvider = fsKeyStoreProvider; | ||
this.fsKeyPairGeneratorProvider = fsKeyPairGeneratorProvider; | ||
this.fsSignatureProvider = fsSignatureProvider; | ||
this.fsKeyStoreType = fsKeyStoreType; | ||
} | ||
|
||
public boolean hasDifferentProviders() { | ||
return !keyStoreProvider.equals(fsKeyStoreProvider) || | ||
!keyPairGeneratorProvider.equals(fsKeyPairGeneratorProvider) || | ||
!signatureProvider.equals(fsSignatureProvider) || | ||
!keyStoreType.equals(fsKeyStoreType); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
...t/ripe/rpki/ripencc/ui/daemon/health/checks/CertificateRepositoryUpToDateHealthCheck.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.