File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
net.adoptopenjdk.tests/src/test/java/net/adoptopenjdk/tests/api
net.adoptopenjdk.v1/src/main/java/net/adoptopenjdk/v1 Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1717import net .adoptopenjdk .api .AdoptOpenJDK ;
1818import net .adoptopenjdk .api .AdoptOpenJDKRequestsType ;
1919import net .adoptopenjdk .spi .AOException ;
20+ import net .adoptopenjdk .spi .AORelease ;
21+ import net .adoptopenjdk .spi .AOVariant ;
22+ import net .adoptopenjdk .tests .v1 .AOv1ParserTest ;
2023import org .junit .Test ;
24+ import org .slf4j .Logger ;
25+ import org .slf4j .LoggerFactory ;
26+
27+ import java .util .List ;
2128
2229public final class AdoptOpenJDKTest
2330{
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ private static RateLimit checkRateLimit(
111111 .append (serverScheme ())
112112 .append ("://" )
113113 .append (serverAddress ())
114- .append ("/" )
114+ .append ("/v1/ " )
115115 .toString ());
116116
117117 try (AOv1HTTPConnectionType connection = connections .head (target , props )) {
@@ -187,7 +187,7 @@ public List<AOVariant> variants()
187187 .append (serverScheme ())
188188 .append ("://" )
189189 .append (serverAddress ())
190- .append ("/variants" )
190+ .append ("/v1/ variants" )
191191 .toString ());
192192
193193 try (AOv1HTTPConnectionType connection =
@@ -215,7 +215,7 @@ public List<AORelease> releasesForVariant(final String variant)
215215 .append (serverScheme ())
216216 .append ("://" )
217217 .append (serverAddress ())
218- .append ("/" )
218+ .append ("/v1/ " )
219219 .append (variant )
220220 .append ("/releases" )
221221 .toString ());
@@ -245,7 +245,7 @@ public List<AORelease> nightlyBuildsForVariant(final String variant)
245245 .append (serverScheme ())
246246 .append ("://" )
247247 .append (serverAddress ())
248- .append ("/" )
248+ .append ("/v1/ " )
249249 .append (variant )
250250 .append ("/nightly" )
251251 .toString ());
You can’t perform that action at this time.
0 commit comments