Skip to content

Commit 84301aa

Browse files
committed
Merge branch 'release/0.3.2'
2 parents 2168a26 + e9abdfa commit 84301aa

15 files changed

+79
-4
lines changed

Diff for: net.adoptopenjdk.site/src/main/resources/index.xhtml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5+
6+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7+
<head>
8+
<title>AdoptOpenJDK (Java API)</title>
9+
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
10+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
11+
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
12+
<link rel="stylesheet" href="css/style.css"/>
13+
</head>
14+
<body>
15+
<div class="container">
16+
<h1>AdoptOpenJDK Java API</h1>
17+
<h2>Overview</h2>
18+
<p>
19+
The Java API provides type-safe access to the <a href="https://api.adoptopenjdk.net">AdoptOpenJDK REST API</a>.
20+
</p>
21+
<h2>Get Involved</h2>
22+
<p>Please file issues, complaints, feature requests, etc, on the <a href="${project.issueManagement.url}">Issue
23+
Tracker</a>.</p>
24+
<h2>Usage</h2>
25+
<h3>Maven Dependencies</h3>
26+
<pre><![CDATA[<dependency>
27+
<groupId>net.adoptopenjdk</groupId>
28+
<artifactId>net.adoptopenjdk.v3.api</artifactId>
29+
<version>${project.version}</version>
30+
</dependency>
31+
<dependency>
32+
<groupId>net.adoptopenjdk</groupId>
33+
<artifactId>net.adoptopenjdk.v3.vanilla</artifactId>
34+
<version>${project.version}</version>
35+
</dependency>
36+
]]></pre>
37+
<h3>JavaDoc</h3>
38+
<p>See the <a href="apidocs">JavaDoc</a>.</p>
39+
<h3>Five Second Tutorial</h3>
40+
<pre><![CDATA[var clients = new AOV3Clients();
41+
try (var client = clients.createClient()) {
42+
var request = client.availableReleases(...);
43+
var releases = request.execute();
44+
}
45+
]]></pre>
46+
</div>
47+
</body>
48+
</html>

Diff for: net.adoptopenjdk.site/src/main/resources/style.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: net.adoptopenjdk.v3.api/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>net.adoptopenjdk</artifactId>
1111
<groupId>net.adoptopenjdk</groupId>
12-
<version>0.3.1</version>
12+
<version>0.3.2</version>
1313
</parent>
1414

1515
<artifactId>net.adoptopenjdk.v3.api</artifactId>

Diff for: net.adoptopenjdk.v3.api/src/main/java/net/adoptopenjdk/v3/api/AOV3ImageKind.java

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
import java.util.Objects;
2020

21+
/**
22+
* The kind of runtime image (such as a JDK or a minimal JRE).
23+
*/
24+
2125
public enum AOV3ImageKind implements AOV3HasNameTextType
2226
{
2327
/**

Diff for: net.adoptopenjdk.v3.api/src/main/java/net/adoptopenjdk/v3/api/AOV3ListBinaryAssetViewType.java

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
import org.immutables.value.Value;
2121

2222
/**
23+
* A binary asset.
24+
*
2325
* @see "https://api.adoptopenjdk.net/swagger-ui/#/Assets/get_v3_assets_feature
2426
* _releases__feature_version___release_type_"
2527
*/

Diff for: net.adoptopenjdk.v3.api/src/main/java/net/adoptopenjdk/v3/api/AOV3RequestAssetsForLatestType.java

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
import java.util.List;
2020

2121
/**
22+
* Request assets for the latest release.
23+
*
2224
* @see "https://api.adoptopenjdk.net/swagger-ui/#/Assets/get_v3_assets_latest__feature_version___jvm_impl_"
2325
*/
2426

Diff for: net.adoptopenjdk.v3.api/src/main/java/net/adoptopenjdk/v3/api/AOV3RequestAssetsForReleaseType.java

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
import java.util.List;
2020

2121
/**
22+
* Request assets for a specific release.
23+
*
2224
* @see "https://api.adoptopenjdk.net/swagger-ui/#/Assets/get_v3_assets_feature
2325
* _releases__feature_version___release_type_"
2426
*/

Diff for: net.adoptopenjdk.v3.api/src/main/java/net/adoptopenjdk/v3/api/AOV3RequestBinaryForLatestType.java

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
import java.net.URI;
2020

2121
/**
22+
* Request binaries for the latest release.
23+
*
2224
* @see "https://api.adoptopenjdk.net/swagger-ui/#/Binary/get_v3_binary_latest_
2325
* _feature_version___release_type___os___arch___image_type___jvm_impl__
2426
* _heap_size___vendor_"

Diff for: net.adoptopenjdk.v3.api/src/main/java/net/adoptopenjdk/v3/api/AOV3RequestBinaryForReleaseType.java

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
import java.net.URI;
2020

2121
/**
22+
* Request binaries for a specific release.
23+
*
2224
* @see "https://api.adoptopenjdk.net/swagger-ui/#/Binary/get_v3_binary_version
2325
* __release_name___os___arch___image_type___jvm_impl___heap_size___vendor_"
2426
*/

Diff for: net.adoptopenjdk.v3.api/src/main/java/net/adoptopenjdk/v3/api/AOV3RequestReleaseNamesType.java

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
import java.util.List;
2020

2121
/**
22+
* Request a list of release names.
23+
*
2224
* @see "https://api.adoptopenjdk.net/swagger-ui/#/Release%20Info/get_v3_info_release_names"
2325
*/
2426

Diff for: net.adoptopenjdk.v3.api/src/main/java/net/adoptopenjdk/v3/api/AOV3RequestReleaseVersionsType.java

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
import java.util.List;
2020

2121
/**
22+
* Request a list of release versions.
23+
*
2224
* @see "https://api.adoptopenjdk.net/swagger-ui/#/Release%20Info/get_v3_info_release_versions"
2325
*/
2426

Diff for: net.adoptopenjdk.v3.api/src/main/java/net/adoptopenjdk/v3/api/AOV3RequestReleasesType.java

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
package net.adoptopenjdk.v3.api;
1818

1919
/**
20+
* Request a list of releases.
21+
*
2022
* @see "https://api.adoptopenjdk.net/swagger-ui/#/Release%20Info/get_v3_info_available_releases"
2123
*/
2224

Diff for: net.adoptopenjdk.v3.tests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>net.adoptopenjdk</artifactId>
1111
<groupId>net.adoptopenjdk</groupId>
12-
<version>0.3.1</version>
12+
<version>0.3.2</version>
1313
</parent>
1414

1515
<artifactId>net.adoptopenjdk.v3.tests</artifactId>

Diff for: net.adoptopenjdk.v3.vanilla/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>net.adoptopenjdk</artifactId>
1111
<groupId>net.adoptopenjdk</groupId>
12-
<version>0.3.1</version>
12+
<version>0.3.2</version>
1313
</parent>
1414

1515
<artifactId>net.adoptopenjdk.v3.vanilla</artifactId>

Diff for: pom.xml

+7-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<groupId>net.adoptopenjdk</groupId>
1616
<artifactId>net.adoptopenjdk</artifactId>
17-
<version>0.3.1</version>
17+
<version>0.3.2</version>
1818
<packaging>pom</packaging>
1919

2020
<name>net.adoptopenjdk</name>
@@ -25,6 +25,7 @@
2525
<module>net.adoptopenjdk.v3.api</module>
2626
<module>net.adoptopenjdk.v3.vanilla</module>
2727
<module>net.adoptopenjdk.v3.tests</module>
28+
<module>net.adoptopenjdk.site</module>
2829
</modules>
2930

3031
<properties>
@@ -149,6 +150,11 @@
149150
<version>${jackson.version}</version>
150151
</dependency>
151152

153+
<dependency>
154+
<groupId>com.io7m.primogenitor</groupId>
155+
<artifactId>com.io7m.primogenitor.support</artifactId>
156+
<version>5.0.0</version>
157+
</dependency>
152158
<dependency>
153159
<groupId>org.mockito</groupId>
154160
<artifactId>mockito-core</artifactId>

0 commit comments

Comments
 (0)