Skip to content

Commit 4e3c667

Browse files
committed
Release 0.7.6
Downgrade JDK from 21 to 17 Fix getTypedObj for String Signed-off-by: Gopal S Akshintala <[email protected]>
1 parent 526209d commit 4e3c667

File tree

7 files changed

+15
-12
lines changed

7 files changed

+15
-12
lines changed

CONTRIBUTING.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ endif::[]
2525

2626
=== Install Java 21
2727

28-
It needs JDK 11 installed in your system.
28+
It needs JDK 17 installed in your system.
2929
Recommendation is to do it via https://sdkman.io/install[SDKMAN].
3030
After you install SDKMAN,
3131
run `sdk list java` -> Pick Identifier for your favorite java distribution -> Run `sdk install java <Identifier-you-picked>`
3232
to install Java. For example:
3333

3434
[source,bash]
3535
----
36-
sdk install java 21.0.6-zulu
36+
sdk install java 17.0.14-amzn
3737
----
3838

3939
=== Build with Gradle

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif::[]
1818
:pmtemplates: src/integrationTest/resources/pm-templates
1919
:imagesdir: docs/images
2020
:prewrap!:
21-
:revoman-version: 0.7.4.1
21+
:revoman-version: 0.7.6
2222

2323
'''
2424

@@ -85,7 +85,7 @@ implementation("com.salesforce.revoman:revoman:{revoman-version}")
8585
----
8686

8787
[.lead]
88-
Minimum Java Version required = 21
88+
Minimum Java Version required = 17
8989

9090
toc::[]
9191

buildSrc/src/main/kotlin/Config.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
* ************************************************************************************************
77
*/
88
const val GROUP_ID = "com.salesforce.revoman"
9-
const val VERSION = "0.7.5"
9+
const val VERSION = "0.7.6"
1010
const val ARTIFACT_ID = "revoman"
1111
const val STAGING_PROFILE_ID = "1ea0a23e61ba7d"

libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[versions]
2-
jdk = "21"
2+
jdk = "17"
33
kotlin = "2.1.20"
44
moshix = "0.30.0"
5-
http4k = "6.2.0.0"
5+
http4k = "5.47.0.0" # Compatable with JDK 17
66
immutables = "2.10.1"
77
arrow = "2.0.1"
88
graal = "24.2.0"

renovate.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
{
1818
"matchPackageNames": [
1919
"org.graalvm.sdk:graal-sdk",
20-
"org.graalvm.js:js"
20+
"org.graalvm.js:js",
21+
"org.http4k:http4k-core",
22+
"org.http4k:http4k-client-apache",
23+
"org.http4k:http4k-format-moshi"
2124
],
2225
"enabled": false
2326
}

src/test/java/com/salesforce/revoman/input/json/JsonPojoUtilsTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ void compositeGraphResponseDiMorphicMarshallUnmarshall() throws JSONException {
4646
final var successGraphResponse =
4747
JsonPojoUtils.jsonFileToPojo(
4848
jsonFileConfig.jsonFilePath("composite/graph/resp/graph-response-success.json").done());
49-
assertThat(successGraphResponse.getGraphs().getFirst()).isInstanceOf(SuccessGraph.class);
49+
assertThat(successGraphResponse.getGraphs().get(0)).isInstanceOf(SuccessGraph.class);
5050

5151
final var errorGraphResponse =
5252
JsonPojoUtils.jsonFileToPojo(
5353
jsonFileConfig.jsonFilePath("composite/graph/resp/graph-response-error.json").done());
54-
final var errorGraph = errorGraphResponse.getGraphs().getFirst();
54+
final var errorGraph = errorGraphResponse.getGraphs().get(0);
5555
assertThat(errorGraph).isInstanceOf(ErrorGraph.class);
5656
assertThat(((ErrorGraph) errorGraph).firstErrorResponseBody().getErrorCode())
5757
.isEqualTo("DUPLICATE_VALUE");
@@ -115,7 +115,7 @@ void compositeResponseDiMorphicMarshallUnmarshall() throws JSONException {
115115
.jsonFilePath("composite/query/resp/query-response-partial-success.json")
116116
.done());
117117
assertThat(partialSuccessCompositeQueryResponse.isSuccessful()).isFalse();
118-
assertThat(partialSuccessCompositeQueryResponse.getCompositeResponse().getFirst())
118+
assertThat(partialSuccessCompositeQueryResponse.getCompositeResponse().get(0))
119119
.isInstanceOf(SuccessResponse.class);
120120
assertThat(partialSuccessCompositeQueryResponse.getCompositeResponse().get(1))
121121
.isInstanceOf(ErrorResponse.class);

src/test/java/com/salesforce/revoman/output/postman/PostmanEnvironmentTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void getTypedObj() {
7575
"key8",
7676
null);
7777
final var pm = new PostmanEnvironment<>(env.toJavaMap());
78-
assertThat(pm.<Integer>getTypedObj("key1", Integer.class)).isEqualTo(env.get("key1").get());
78+
assertThat(pm.<Integer>getTypedObj("key1", Integer.class)).isEqualTo(env.get("key1").get());
7979
assertThat(pm.<String>getTypedObj("key2", String.class)).isEqualTo(env.get("key2").get());
8080
assertThat(
8181
pm.<List<Integer>>getTypedObj(

0 commit comments

Comments
 (0)