File tree Expand file tree Collapse file tree 3 files changed +42
-2
lines changed
commercetools/commercetools-sdk-java-api/src/integrationTest/java/commercetools/cart Expand file tree Collapse file tree 3 files changed +42
-2
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,10 @@ dependencies {
8686To 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 )
Original file line number Diff line number Diff line change 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 )
Original file line number Diff line number Diff line change 1515import commercetools .discount_code .DiscountCodeFixtures ;
1616import commercetools .utils .CommercetoolsTestUtils ;
1717
18- import io .vrap .rmf .base .client .error .ForbiddenException ;
18+ import io .vrap .rmf .base .client .error .NotFoundException ;
1919
2020import org .assertj .core .api .Assertions ;
2121import 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" );
You can’t perform that action at this time.
0 commit comments