mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Add map reduce job for contact import
Some additional changes were made by Ben McIlwain. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=133875824
This commit is contained in:
parent
aed3c0f0d0
commit
28eeda189d
21 changed files with 3866 additions and 21 deletions
|
@ -36,11 +36,14 @@ import google.registry.xjc.rderegistrar.XjcRdeRegistrar;
|
|||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import javax.inject.Inject;
|
||||
import javax.xml.bind.JAXBException;
|
||||
import javax.xml.stream.XMLStreamException;
|
||||
import org.joda.time.DateTime;
|
||||
|
||||
/** Utility functions for escrow file import. */
|
||||
public final class RdeImportUtils {
|
||||
/**
|
||||
* Utility functions for escrow file import.
|
||||
*/
|
||||
public class RdeImportUtils {
|
||||
|
||||
private static final FormattingLogger logger = FormattingLogger.getLoggerForCallerClass();
|
||||
|
||||
|
@ -147,7 +150,7 @@ public final class RdeImportUtils {
|
|||
String.format("Registrar '%s' not found in the registry", registrar.getId()));
|
||||
}
|
||||
}
|
||||
} catch (XMLStreamException e) {
|
||||
} catch (XMLStreamException | JAXBException e) {
|
||||
throw new IllegalArgumentException(
|
||||
String.format("Invalid XML file: '%s'", escrowFilePath), e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue