You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Problem
Add deletion protection and generate code based on latest open api spec.
## Solution
Generated code based on 2024-07 open api spec which includes deletion
protection support. Manually added deletion protection support to the
control plane wrapper along with integration tests.
## Type of Change
- [X] New feature (non-breaking change which adds functionality)
## Test Plan
Added integration tests
---------
Co-authored-by: Jennifer Hamon <[email protected]>
Copy file name to clipboardExpand all lines: src/integration/java/io/pinecone/integration/controlPlane/serverless/CreateDescribeListAndDeleteIndexTest.java
+6-6
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
importio.pinecone.helpers.TestResourcesManager;
8
8
importorg.junit.jupiter.api.BeforeAll;
9
9
importorg.junit.jupiter.api.Test;
10
-
importorg.openapitools.client.model.*;
10
+
importorg.openapitools.control.client.model.*;
11
11
12
12
importjava.util.Arrays;
13
13
@@ -36,7 +36,7 @@ public void describeAndListIndex() {
fail("Expected to throw PineconeValidationException");
74
74
} catch (PineconeValidationExceptionexpected) {
75
75
assertTrue(expected.getLocalizedMessage().contains("Cloud cannot be null or empty. Must be one of " + Arrays.toString(ServerlessSpec.CloudEnum.values())));
@@ -79,7 +79,7 @@ public void createServerlessIndexWithInvalidCloud() {
0 commit comments