Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Commit 8840dd8

Browse files
authored
Update JVM SDK to latest version (#705)
1 parent 806fcf1 commit 8840dd8

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

project/Dependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import sbt._
55
object Dependencies {
66
private val sunriseThemeVersion = "0.72.0"
77
val sunriseEmailVersion = "0.3.0"
8-
private val jvmSdkVersion = "1.17.0"
8+
private val jvmSdkVersion = "1.37.0"
99
private val jacksonVersion = "2.7.5"
1010

1111
lazy val jvmSdk = Seq (

test-lib/app/com/commercetools/sunrise/test/TestableSphereClient.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.commercetools.sunrise.test;
22

3+
import io.sphere.sdk.client.SphereApiConfig;
34
import io.sphere.sdk.client.SphereClient;
45
import io.sphere.sdk.client.SphereRequest;
56
import io.sphere.sdk.client.TimeoutSphereClientDecorator;
@@ -27,6 +28,21 @@ public void close() {
2728

2829
}
2930

31+
@Override
32+
public SphereApiConfig getConfig() {
33+
return new SphereApiConfig() {
34+
@Override
35+
public String getApiUrl() {
36+
return "fakeUrl";
37+
}
38+
39+
@Override
40+
public String getProjectKey() {
41+
return "fakeProject";
42+
}
43+
};
44+
}
45+
3046
@Override
3147
public String toString() {
3248
return "TestableSphereClient";

0 commit comments

Comments
 (0)