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

Commit 2e474ed

Browse files
authored
Update JVM SDK to latest version (#704)
* Update JVM SDK to latest version * Fix test due to an extended interface
1 parent 40f01fc commit 2e474ed

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

common/app/com/commercetools/sunrise/common/categorytree/RefreshableCategoryTree.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ public Optional<Category> findBySlug(final Locale locale, final String slug) {
5454
return categoryTree.findBySlug(locale, slug);
5555
}
5656

57+
@Override
58+
public Optional<Category> findByKey(final String key) {
59+
return categoryTree.findByKey(key);
60+
}
61+
5762
@Override
5863
public List<Category> getAllAsFlatList() {
5964
return categoryTree.getAllAsFlatList();

common/test/com/commercetools/sunrise/common/pagination/PaginationBeanFactoryTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ public Long getOffset() {
127127
return offset;
128128
}
129129

130+
@Override
131+
public Long getLimit() {
132+
return 0L; // not used
133+
}
134+
130135
@Override
131136
public Long getTotal() {
132137
return totalProducts;

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.70.0"
77
private val sunriseEmailVersion = "0.3.0"
8-
private val jvmSdkVersion = "1.24.0"
8+
private val jvmSdkVersion = "1.37.0"
99
private val jacksonVersion = "2.8.9"
1010

1111
lazy val jvmSdk = Seq (

0 commit comments

Comments
 (0)