Compare commits
3 Commits
feature/lo
...
master
| Author | SHA1 | Date |
|---|---|---|
|
|
c1d68c0bfa | |
|
|
8672d74174 | |
|
|
256c70571a |
|
|
@ -43,8 +43,7 @@ public class HEInfoProvider implements ASInfoProvider {
|
|||
return getIPv4Subnets(inputStream);
|
||||
}
|
||||
} else {
|
||||
SystemLogger.error("Unable to get info about AS" + as, CTX);
|
||||
return Collections.emptyList();
|
||||
throw new RuntimeException("Unable to get info about AS" + as);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,8 +39,7 @@ public class RIPEInfoProvider implements ASInfoProvider {
|
|||
return getIPv4Subnets(inputStream);
|
||||
}
|
||||
} else {
|
||||
SystemLogger.error("Unable to get info about AS" + as, CTX);
|
||||
return Collections.emptyList();
|
||||
throw new RuntimeException("Unable to get info about AS" + as);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ import java.net.http.HttpRequest;
|
|||
import java.net.http.HttpResponse;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.time.Duration;
|
||||
import java.time.Instant;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
|
|
@ -93,7 +94,7 @@ public class TDNSAPI implements Closeable {
|
|||
private long soaSerial;
|
||||
@JSONProperty(required = false)
|
||||
@Getter
|
||||
private Date expiry;
|
||||
private Instant expiry;
|
||||
@JSONProperty(required = false)
|
||||
@Getter
|
||||
private boolean isExpired;
|
||||
|
|
@ -105,7 +106,7 @@ public class TDNSAPI implements Closeable {
|
|||
private boolean disabled;
|
||||
@JSONProperty
|
||||
@Getter
|
||||
private Date lastModified;
|
||||
private Instant lastModified;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue