mirror of
https://github.com/google/nomulus.git
synced 2025-07-20 09:46:03 +02:00
Refer to Datastore everywhere correctly by its capitalized form
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=147479683
This commit is contained in:
parent
a8cf81bca2
commit
cdadb54acd
123 changed files with 232 additions and 235 deletions
|
@ -36,7 +36,7 @@ public class ClaimsListParser {
|
|||
/**
|
||||
* Converts the lines from the DNL CSV file into a {@link ClaimsListShard} object.
|
||||
*
|
||||
* <p>Please note that this does <b>not</b> insert the object into the datastore.
|
||||
* <p>Please note that this does <b>not</b> insert the object into Datastore.
|
||||
*/
|
||||
public static ClaimsListShard parse(List<String> lines) {
|
||||
ImmutableMap.Builder<String, String> builder = new ImmutableMap.Builder<>();
|
||||
|
|
|
@ -34,7 +34,7 @@ public final class TmchCrlAction implements Runnable {
|
|||
@Inject TmchCertificateAuthority tmchCertificateAuthority;
|
||||
@Inject TmchCrlAction() {}
|
||||
|
||||
/** Synchronously fetches latest ICANN TMCH CRL and saves it to datastore. */
|
||||
/** Synchronously fetches latest ICANN TMCH CRL and saves it to Datastore. */
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.bouncycastle.openpgp.PGPPublicKey;
|
|||
import org.bouncycastle.openpgp.PGPUtil;
|
||||
import org.bouncycastle.openpgp.bc.BcPGPPublicKeyRing;
|
||||
|
||||
/** Helper class for common data loaded from the jar and datastore at runtime. */
|
||||
/** Helper class for common data loaded from the jar and Datastore at runtime. */
|
||||
public final class TmchData {
|
||||
|
||||
private static final String BEGIN_ENCODED_SMD = "-----BEGIN ENCODED SMD-----";
|
||||
|
|
|
@ -39,7 +39,7 @@ public final class TmchDnlAction implements Runnable {
|
|||
@Inject @Key("marksdbDnlLogin") Optional<String> marksdbDnlLogin;
|
||||
@Inject TmchDnlAction() {}
|
||||
|
||||
/** Synchronously fetches latest domain name list and saves it to datastore. */
|
||||
/** Synchronously fetches latest domain name list and saves it to Datastore. */
|
||||
@Override
|
||||
public void run() {
|
||||
List<String> lines;
|
||||
|
@ -50,7 +50,7 @@ public final class TmchDnlAction implements Runnable {
|
|||
}
|
||||
ClaimsListShard claims = ClaimsListParser.parse(lines);
|
||||
claims.save();
|
||||
logger.infofmt("Inserted %,d claims into datastore, created at %s",
|
||||
logger.infofmt("Inserted %,d claims into Datastore, created at %s",
|
||||
claims.size(), claims.getCreationTime());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ public final class TmchSmdrlAction implements Runnable {
|
|||
@Inject @Key("marksdbSmdrlLogin") Optional<String> marksdbSmdrlLogin;
|
||||
@Inject TmchSmdrlAction() {}
|
||||
|
||||
/** Synchronously fetches latest signed mark revocation list and saves it to datastore. */
|
||||
/** Synchronously fetches latest signed mark revocation list and saves it to Datastore. */
|
||||
@Override
|
||||
public void run() {
|
||||
List<String> lines;
|
||||
|
@ -50,7 +50,7 @@ public final class TmchSmdrlAction implements Runnable {
|
|||
}
|
||||
SignedMarkRevocationList smdrl = SmdrlCsvParser.parse(lines);
|
||||
smdrl.save();
|
||||
logger.infofmt("Inserted %,d smd revocations into datastore, created at %s",
|
||||
logger.infofmt("Inserted %,d smd revocations into Datastore, created at %s",
|
||||
smdrl.size(), smdrl.getCreationTime());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue