-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Pinecone WireMock stubs and native support
- Loading branch information
1 parent
ea04322
commit e6b87c0
Showing
7 changed files
with
29 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
...764a2311-1f84-43c2-a993-0412caac241b.json → ...293cf644-849f-4860-809f-13278d509acb.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
...1635ea23-b8df-42f0-90d6-d30a4fd8205b.json → ...5854cd4f-0384-40dd-bfa5-bf36592d3a9b.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
{ | ||
"id" : "1635ea23-b8df-42f0-90d6-d30a4fd8205b", | ||
"id" : "5854cd4f-0384-40dd-bfa5-bf36592d3a9b", | ||
"name" : "indexes", | ||
"request" : { | ||
"url" : "/indexes", | ||
"method" : "POST", | ||
"bodyPatterns" : [ { | ||
"equalToJson" : "{\"name\":\"test-index\",\"dimension\":3,\"metric\":\"cosine\",\"spec\":{\"serverless\":{\"cloud\":\"aws\",\"region\":\"us-east-1\"}}}", | ||
"equalToJson" : "{\"name\":\"test-index\",\"dimension\":3,\"metric\":\"cosine\",\"deletion_protection\":\"disabled\",\"spec\":{\"serverless\":{\"cloud\":\"aws\",\"region\":\"us-east-1\"}}}", | ||
"ignoreArrayOrder" : true, | ||
"ignoreExtraElements" : true | ||
} ] | ||
}, | ||
"response" : { | ||
"status" : 201, | ||
"body" : "{\"name\":\"test-index\",\"metric\":\"cosine\",\"dimension\":3,\"status\":{\"ready\":false,\"state\":\"Initializing\"},\"host\":\"test-index-3ncz9x1.svc.aped-4627-b74a.pinecone.io\",\"spec\":{\"serverless\":{\"region\":\"us-east-1\",\"cloud\":\"aws\"}}}", | ||
"body" : "{\"name\":\"test-index\",\"metric\":\"cosine\",\"dimension\":3,\"status\":{\"ready\":false,\"state\":\"Initializing\"},\"host\":\"test-index-3ncz9x1.svc.aped-4627-b74a.pinecone.io\",\"spec\":{\"serverless\":{\"region\":\"us-east-1\",\"cloud\":\"aws\"}},\"deletion_protection\":\"disabled\",\"tags\":null}", | ||
"headers" : { | ||
"X-Cloud-Trace-Context" : "f3437adefa70c626b8ec0df59af4542c", | ||
"X-Cloud-Trace-Context" : "7cae6b2507fa30364f1f71182f9319aa", | ||
"access-control-allow-origin" : "*", | ||
"Alt-Svc" : "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000", | ||
"Server" : "Google Frontend", | ||
"vary" : "origin,access-control-request-method,access-control-request-headers", | ||
"content-type" : "application/json", | ||
"x-pinecone-operation-id" : "0da16235-9603-4f43-ab57-c6bb1ef44b7b", | ||
"Date" : "Tue, 18 Jun 2024 14:46:21 GMT", | ||
"x-pinecone-operation-id" : "4e23a028-63e6-430d-9c8a-bbfab9596819", | ||
"Date" : "Fri, 22 Nov 2024 09:23:35 GMT", | ||
"Via" : "1.1 google", | ||
"access-control-expose-headers" : "*", | ||
"x-pinecone-api-version" : "2024-04" | ||
"x-pinecone-api-version" : "2024-10", | ||
"access-control-expose-headers" : "*" | ||
} | ||
}, | ||
"uuid" : "1635ea23-b8df-42f0-90d6-d30a4fd8205b", | ||
"uuid" : "5854cd4f-0384-40dd-bfa5-bf36592d3a9b", | ||
"persistent" : true, | ||
"insertionIndex" : 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters