Skip to content

Commit 5bc82a1

Browse files
authored
Merge branch 'main' into gen-sdk-updates
2 parents aece826 + a9df0a6 commit 5bc82a1

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ dependencies {
8686
To migrate from the 1.x to the 2.x, there is a guideline below:
8787
* [Migration guidelines from v1 to v2](https://commercetools.github.io/commercetools-sdk-java-v2/javadoc/com/commercetools/docs/meta/Migration.html)
8888

89+
# Support
90+
91+
Please see our [support policy](SUPPORT.md)
92+
8993
## Documentation
9094

9195
* [Documentation](https://commercetools.github.io/commercetools-sdk-java-v2/javadoc)

SUPPORT.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# General Support
2+
3+
We will try to align our support strategy with the supported platforms original support policy, in practice this means
4+
that if the Java Development Kit provides support only to version X and newer, we will align our support practices with it.
5+
6+
Unless decided otherwise by our case-by-case analysis, we will adhere to the following principles:
7+
8+
* We provide support for the current and two previous major versions of our SDKs.
9+
* We will provide bug fixes and security patches for older versions of our SDKs on a case-by-case basis.
10+
* We will provide support for versions of our SDKs with the first major version being released a year ago or not older
11+
than two major versions.
12+
13+
## Extraordinary Circumstances
14+
15+
In extraordinary circumstances, we may provide support for older versions of our SDKs.
16+
Examples of extraordinary circumstances include:
17+
18+
* A critical security vulnerability that affects an older version of our SDK.
19+
* A major change in the underlying platform that requires us to update an older version of our SDK.
20+
21+
We will evaluate requests for support in extraordinary circumstances on a case-by-case basis.
22+
23+
## Enforcement
24+
25+
We will enforce this policy unless a situation is extraordinary.
26+
27+
If we determine that a situation is extraordinary, we will provide support for the older version of our SDK for a limited time.
28+
29+
We will communicate the end of support for the older version of our SDK to users in advance.
30+
31+
## Contacting Support
32+
33+
To get help, please reach out through our official support channels:
34+
35+
- [Support portal](https://support.commercetools.com)
36+
- [support@commercetools.com](mailto:support@commercetools.com)

commercetools/commercetools-sdk-java-api/src/integrationTest/java/commercetools/cart/CartQueryTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import commercetools.discount_code.DiscountCodeFixtures;
1616
import commercetools.utils.CommercetoolsTestUtils;
1717

18-
import io.vrap.rmf.base.client.error.ForbiddenException;
18+
import io.vrap.rmf.base.client.error.NotFoundException;
1919

2020
import org.assertj.core.api.Assertions;
2121
import org.junit.jupiter.api.Test;
@@ -156,7 +156,7 @@ public void expandDiscountCodeReference() {
156156
@Test
157157
public void pathTraversal() {
158158
CartsFixtures.withCart(cart -> {
159-
ForbiddenException e = org.junit.jupiter.api.Assertions.assertThrows(ForbiddenException.class, () -> {
159+
NotFoundException e = org.junit.jupiter.api.Assertions.assertThrows(NotFoundException.class, () -> {
160160
CommercetoolsTestUtils.getProjectApiRoot().carts().withId("../categories").get().executeBlocking();
161161
});
162162
Assertions.assertThat(e.getMessage()).contains("..%2Fcategories");

0 commit comments

Comments
 (0)