Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.2 #15

Merged
merged 9 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 8 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# RDAP Bootstrap Server

The Registration Data Access Protocol (RDAP) defines a bootstrapping process in
[RFC 7484](https://tools.ietf.org/html/rfc7484). A bootstrap server aids clients by reading the
[RFC 9224](https://tools.ietf.org/html/rfc9224). A bootstrap server aids clients by reading the
[bootstrapping information published by IANA](https://data.iana.org/rdap/) and using it to send HTTP redirects to RDAP
queries. Clients utilizing a bootstrap server will not need to conduct their own bootstrapping.

Expand Down Expand Up @@ -33,6 +33,10 @@ IANA files.
- [A built-in timer to download IANA files](https://github.com/arineng/rdap_bootstrap_server/issues/1).
- A new [rdap_bootstrap_checker](./scripts/rdap_bootstrap_checker.sh) script to check the correctness of an RDAP
Bootstrap service as per [RFC 7484](https://tools.ietf.org/html/rfc7484).
* 2.0.2
- Updated the `default_bootstrap.json` file for the domain entry.
- Updated the default bootstrap files to the latest IANA files.
- Upgraded Gradle, Spring Boot, and JUnit.

This server is written as a Java servlet and should run in any Java Servlet 3.0 container or higher, as a Spring Boot
application, or as a Docker container. It should build against Java 11 or higher.
Expand Down Expand Up @@ -234,35 +238,20 @@ The default bootstrap file is consulted when all the other bootstrap files have
```json
{
"version": "1.0",
"publication": "2020-08-21T11:51:00-0400",
"publication": "2024-07-02T12:15:00-0400",
"services": [
[
[
"ip",
"autnum",
"nameserver"
],
[
"https://rdap.arin.net/registry/",
"http://rdap.arin.net/registry/"
]
],
[
[
"domain",
"nameserver",
"entity"
],
[
"https://rdap.arin.net/registry/",
"http://rdap.arin.net/registry/"
]
],
[
[
"domain"
],
[
"https://rdap.afilias.net/rdap/info/"
]
]
]
}
Expand Down
14 changes: 9 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'org.springframework.boot' version '2.3.3.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'org.springframework.boot' version '2.7.18'
id 'io.spring.dependency-management' version '1.1.4'
id 'java-library'
id 'war'
id 'maven-publish'
Expand All @@ -25,6 +25,10 @@ repositories {
maven { url 'https://repo.maven.apache.org/maven2' }
}

ext {
logbackVersion = '1.2.13'
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
Expand All @@ -34,11 +38,11 @@ dependencies {

providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'

testImplementation group: 'junit', name: 'junit', version: '4.8.2'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
}

bootJar {
mainClassName = 'net.arin.rdap_bootstrap.spring.RdapBootstrapApp'
springBoot {
mainClass = 'net.arin.rdap_bootstrap.spring.RdapBootstrapApp'
}

bootRun {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-6.6-all.zip
distributionUrl=https://services.gradle.org/distributions/gradle-8.8-all.zip
26 changes: 21 additions & 5 deletions src/main/resources/as_bootstrap.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"description": "RDAP bootstrap file for Autonomous System Number allocations",
"publication": "2020-11-02T19:00:03Z",
"publication": "2024-04-10T20:00:01Z",
"services": [
[
[
Expand Down Expand Up @@ -39,7 +39,17 @@
"139578-140601",
"140602-141625",
"141626-142649",
"142650-143673"
"142650-143673",
"143674-144697",
"144698-145721",
"145722-146745",
"146746-147769",
"147770-148793",
"148794-149817",
"149818-150841",
"150842-151865",
"151866-152889",
"152890-153913"
],
[
"https://rdap.apnic.net/"
Expand Down Expand Up @@ -85,7 +95,8 @@
"397213-398236",
"398237-399260",
"399261-400284",
"400285-401308"
"400285-401308",
"401309-402332"
],
[
"https://rdap.arin.net/registry/",
Expand Down Expand Up @@ -145,7 +156,10 @@
"209308-210331",
"210332-211355",
"211356-212379",
"212380-213403"
"212380-213403",
"213404-214427",
"214428-215451",
"215452-216475"
],
[
"https://rdap.db.ripe.net/"
Expand All @@ -167,7 +181,9 @@
"268701-269724",
"269725-270748",
"270749-271772",
"271773-272796"
"271773-272796",
"272797-273820",
"273821-274844"
],
[
"https://rdap.lacnic.net/rdap/"
Expand Down
21 changes: 3 additions & 18 deletions src/main/resources/default_bootstrap.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,19 @@
{
"version": "1.0",
"publication": "2020-08-21T11:51:00-0400",
"publication": "2024-07-02T12:15:00-0400",
"services": [
[
[
"ip",
"autnum",
"nameserver"
],
[
"https://rdap.arin.net/registry/",
"http://rdap.arin.net/registry/"
]
],
[
[
"domain",
"nameserver",
"entity"
],
[
"https://rdap.arin.net/registry/",
"http://rdap.arin.net/registry/"
]
],
[
[
"domain"
],
[
"https://rdap.afilias.net/rdap/info/"
]
]
]
}
Loading