Граф коммитов

2037 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 6d39870e39
[Internal] Samples: Fixes Azure.Identity from 1.11.0 to 1.11.4 in /Microsoft.Azure.Cosmos.Samples/Usage/Encryption (#4555)
Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.11.0 to 1.11.4.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.11.0...Azure.Identity_1.11.4)

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-21 13:51:38 -07:00
Debdatta Kunda 65ce9a942b
Code changes to fix some of the flakey tests. (#4554) 2024-06-21 09:37:53 -07:00
Ezra Haleva 179d9a4930
Query: Adds Distribution for MakeList and MakeSet (#4490)
* added MakeList and MakeSet aggregators

* Added MakeList and MakeSet to AggregateQueryTests.cs

* Adjust Aggregators

* Add Array Aggregate Continuation Token Test

* Added group by coverage for MakeList and MakeSet

* address comments

* cleaning

* Refactored test to better detect when to ignore result order

* cleaning

* cleaning, update baseline

* cleaning

* removed old comment

* cleaning/refactoring

* cleaning

* Add explicit cases to hit continuation token limit.

* Added additional case to GroupBy tests

* cleaning

* cleaning

* cleaning, updated baseline test

* cleaning, updated baseline test

* Added coverage to QueryPlanBaselineTests.cs

* refactored
2024-06-20 23:09:56 +00:00
Santosh Kulkarni 272e844714
[Client Encryption]: Adds support for latest Cosmos Package. (#4546)
* support latest cosmos package

* Update changelog.md

* Update Microsoft.Azure.Cosmos.Encryption.Custom.csproj

* Update EncryptionContainer.cs

* Update EncryptionContainer.cs

* Fixes to accommodate binary encoding issue.

* Fixes to accommodate binary encoding issue.

* Fixes to accommodate binary encoding issue.

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2024-06-20 19:15:07 +00:00
Philip Thomas aab02e502e
Change Feed / Processor AVAD: Fixes timeToLiveExpired missing from metadata (#4523)
* longrunning cfp avad test for ttl

* add more to comment

* internal set

* other tests fail with higher ms

* run updatecontracts

* Update Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ChangeFeed/GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* Update Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ChangeFeed/GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* Update Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ChangeFeed/GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* Update Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ChangeFeed/GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* using Logger.LogLine

* change back over to ManualResetEvent. fixed assert to look at Previous. keeping stopwatch just for logging. timeout at 5 minutes.

* Update GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* try/finally

* removing ctor. making all set internal to address serialization issue. later PRs to test STJ de/serialization.

* fixing de/serialziation issue

* Update GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs

change timeout

* Update ReEncryption.csproj

1.11.4

* internal set change to CanWrite:True;

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2024-06-19 09:02:47 -07:00
Maya Painter c5ac103a63
[Internal] Query: Refactors ParallelCrossPartitionQueryPipelineStage to improve perf (#4548)
* init

* revert test

* remove sw

* nit

* cleanup
2024-06-18 19:25:44 +00:00
Debdatta Kunda 035d2297bf
[Internal] SystemTextJsonSerializer: Adds Default STJ Serializer (#4332)
* Code changes to add default STJ serializer.

* Code changes to add tests for STJ serializer.

* Code changes to rename files.

* Code changes to clean up files.

* Code changes to add more tests.

* Code changes to update respective contracts.

* Code changes to add more documentation.

* Code changes to add LINQ tests. Addressing few review comments.

* Code changes to fix build failures.

* Code changes to update contract files.

* Code changes to add more LINQ specific test cases.

* Code changes to address review comments.

* Code changes to port some of the optimizations from Maya.

* Code changes to update the remarks since the changes from maya will cover the property naming policy.

* Code changes to address review comments.

* Code changes to update preview and GA contracts.
2024-06-17 19:17:08 -07:00
Nalu Tripician 995f2f8c33
updated interface (#4549) 2024-06-17 12:14:51 -07:00
neildsh 2b01585990
Change the serviceInterop call that was missed in the previous PR (#4550) 2024-06-14 22:04:05 +00:00
dependabot[bot] 20d678b60d
Bump Azure.Identity (#4544)
Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.11.0 to 1.11.4.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.11.0...Azure.Identity_1.11.4)

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>
2024-06-12 18:24:42 +00:00
Kiran Kumar Kolli 397ffab6fd
Quarantine ClientTelemetryReleaseTests (#4539) 2024-06-12 07:17:27 -07:00
neildsh 8c8d3e955c
Query: Fixes plumbing VectorEmbeddingPolicy to ServiceInterop to choose correct default distance function (#4538)
* Plumb the collection VectorEmbeddingPolicy to ServiceInterop

* Add query plan baseline tests for vector search

* Correct typo in the query for baseline test

* Fix build errors

* fix runtime issue in mock setup due to the extra argument for vector embedding policy
2024-06-11 06:46:12 -07:00
hdornadula 5994b1608b
Adding new SDK changes for NzN (#4537)
* Adding new SDK changes for NzN

* Bumping up SDK version for a full release

* Fixing changelog.md
2024-06-07 23:35:54 +00:00
Aditya f1590f84a8
3.40.1: Adds new SDK versions and contract files (#4532)
* Initial commit

* Fixed version. Generated contract files off of 3.40.0 for which hotfix is being released.
2024-06-07 10:39:57 -07:00
neildsh 8b32b0d0c2
Upgrade Direct package version (#4530) 2024-06-05 14:34:52 -07:00
Asier Isayas 087ed73fa9
[Internal] Visibility: Adds new Portal Backend to Microsoft.Azure.Cosmos InternalsVisibleTo (#4529)
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
2024-06-05 12:50:01 -07:00
leminh98 18a677ace9
Query: Adds DOCUMENTID extension method for LINQ (#4489)
* Add extension method for doucmentid

* test coverage

* additional test

* update contract

* update dotnet api

* address code review

* update csproj file

* update missing baseline

---------

Co-authored-by: Minh Le (from Dev Box) <leminh@microsoft.com>
2024-06-04 13:06:16 -07:00
Jake 5a28704392
Benchmark: Adds region to configuration options (#4478)
* Benchmark: Add region to configuration

* Trim the region names

---------

Co-authored-by: jakewilley_microsoft <--global>
2024-06-03 20:59:40 +00:00
hdornadula fa354adc2f
Region Availability: Adds New Zealand North region for Public Usage. (#4520)
* Testing

* Revert "Testing"

This reverts commit 5e173a627e.

* Adding SDK changes for New Zealand North

* Corrected formatting to use LF line ending.
2024-05-31 22:31:24 -07:00
Nalu Tripician b9b35bb92d
FaultInjection: Refactors applyPercentage name to injectionRate to make feature clearer. (#4511)
* changed name to make feature more clear (consistant with changes done in java)

* fixed comment
2024-05-29 19:25:32 +00:00
Nalu Tripician 6b2cda4aa2
[Internal] Pipelines: Refactors YML files to use OneES Pools for pipelines (#4514)
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2024-05-29 08:51:30 -07:00
Aditya 673bf58573
[Internal] Query : Fixes response parsing error for ReadFeed by limiting binary format to query operations (#4515)
* Limit binary format to query operations

* Addressed comments, updated test.

* Updated coverage to include query stream API.

* Test Change.

* Test change 2

* ReadFeed Encryption tests only with project reference

* Revert

* Removed comment

---------

Co-authored-by: Matias Quaranta <ealsur@hotmail.com>
2024-05-29 03:16:05 +00:00
leminh98 504c2dfd8d
Add test (#4488)
Co-authored-by: Minh Le (from Dev Box) <leminh@microsoft.com>
2024-05-21 17:21:45 +00:00
Aditya dda9cb4933
Query : Fixes ORDER BY query issue when partial partition key is specified with hierarchical partition (#4507)
* Initial commit

* Initial commit

* Update.
2024-05-20 17:02:40 -07:00
Debdatta Kunda 618d120b44
3.40.0: Adds new SDK versions and contract files (#4505)
* Updated change log and bumped up the minor version.

* Updating the change log to remove some of the PRs.
2024-05-17 22:36:39 +00:00
Kiran Kumar Kolli 1142d664cd
[Internal] Release: Fixes SDK hotfix 3.39.2 release to disable query ODE by default (#4495)
* [Internal] Release: SDK hotfix release to disable query ODE by default

* Addressing the feedback

* Including a note in version when ODE was enabled

* including another missed commit
2024-05-17 17:57:57 +00:00
neildsh d5f17f27b7
Query: Fixes non streaming OrderByCrossPartitionQueryPipelineStage to remove state and handle splits (#4493)
* simplify OrderByCrossPartitionQueryPipelineStage to remove state and be a static class.

* Add more test coverage for splits/merge and request charge

* Add more test coverage for splits

* incorporate code review feedback
2024-05-17 06:32:15 +00:00
Aditya 4746295c28
[Internal] Query : Fixes IndexMetrics Baselines (#4499)
* Initial commit

* Fixing the permission tests

* Disabled non-streaming order by for Trace Test.

---------

Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>
2024-05-17 05:11:02 +00:00
Debdatta Kunda a3c9d779f8
ContainerProperties: Refactors Vector Embedding and Indexing Policy Interfaces to Mark Them as Public for Preview (#4486)
* Code changes to mark internal vector interfaces as public.

* Code changes to update the public and preview modifiers.

* Code changes to update preview and ga contracts.

* Code changes to mark the policy definitions as public interface.

* Code changes to update GA contract and use #if all over.

* Code changes to fix some of the broken tests in preview.

* Code changes to update the preview contract too reflect the JSON Ignore.

* Code changes to upgrade direct version to 3.34.2
2024-05-15 15:57:23 -07:00
neildsh 3ae56dbc77
Query: Adds an environment config to suppress sending NonStreamingOrderBy in the list of query features sent to the gateway (#4492)
* Introduce an environment config to suppress sending NonStreamingOrderBy in the list of query features sent to the gateway

* Make sure that we dont leak state from the integration test.  Add the suppression environment variable for the test pipeline since we run against an old emulator

* Incorporate code review feedback
2024-05-15 01:33:50 -07:00
Debdatta Kunda 233390d2cf
Upgrade Direct package version to 3.34.0 (#4477)
Co-authored-by: Neil Deshpande <ndeshpan@microsoft.com>
2024-05-09 22:25:51 +00:00
Matias Quaranta f40d59ad35
[Internal] Engineering: Fixes Nuget generation and copy process (#4475) 2024-05-09 20:19:45 +00:00
Jake e78e5dac7f
Diagnostics: Adds DurationInMs to StoreResult (#4462)
* Add StoreResponseStatistics startTime to diagnostics

* Add latency in ms to make it easier to read.

* Converted to DurationInMs

* Remove start time

* Update baseline file.

---------

Co-authored-by: jakewilley_microsoft <--global>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2024-05-09 17:32:56 +00:00
Nalu Tripician 52a5b83200
fix bug (#4473) 2024-05-09 08:42:35 -07:00
Matias Quaranta 14397b8160
Documentation: Fixes recommended OpenTcpConnetionTimeout value (#4469)
* Adding note

* rewording
2024-05-08 17:44:34 -04:00
Nalu Tripician 654741bcc4
FaultInjection: Adds ApplyPercentage for ServerErrorRule (#4450)
* initial commit

* fix tests

* changed variable name

* fixed test

* Shared.Random

* updated test description

* nit
2024-05-06 20:47:27 -07:00
Sourabh Jain dee9abaedf
Distributed Tracing: Adds Request charge and Payload size Threshold options (#4433)
* Added Request charge and Payload size options to generate request diagnostics

* Added default values

* add exception handling for payload size

* Added test

* update contract file

* added docs

* add null check

* added more docs

* updated contract

* changed event name

* remove unused import
2024-05-01 21:20:26 -07:00
Maya Painter f304e970c5
initial commit (#4253)
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2024-05-01 12:21:11 -07:00
Matias Quaranta ca4b969db0
[Internal] Pipelines: Adds rolling pipeline (#4460)
* adding opt-in flags

* adding pipeline
2024-04-30 13:03:41 -07:00
Nalu Tripician a33144864e
FaultInjection: Adds ReadFeed Operation Type (#4448)
* initial commit

* fixed tests

* nits

* small fixes

* fixed test
2024-04-30 13:49:53 -04:00
neildsh bda8290201
Switch non streaming order by to use flag from query plan instead of _streaming in the response (#4459) 2024-04-29 21:17:12 +00:00
Nalu Tripician bf2f5ee197
FaultInjection: Adds SendDelay ServerErrorType (#4447)
* Initial Commit

* nits
2024-04-28 09:50:45 -07:00
Aditya 14633455d2
Query: Fixes Persisted continuationToken issue by turning off ODE by default (#4413)
* Turn of ODE by default.

* Updated tests

* Update

* Test fix

* Added test for query resumption with ODE token with partition split container (failure case).

* Update.

* Update Benchmark

* Addressed comments.
2024-04-24 06:42:46 -07:00
neildsh 85a8444b84
Add a new capability for non streaming order by in QueryFeatures and add a new flag to QueryInfo that will be used by ServiceInterop to indicate non streaming order by queries (#4446) 2024-04-23 10:25:49 -07:00
Matias Quaranta 400abfd518
[Internal] Documentation: Adds details about retry backoff for 410/449 (#4445)
* Update SdkDesign.md

* Update SdkDesign.md
2024-04-22 22:03:37 +00:00
Maya Painter 61319986f1
Samples: Adds STJ LINQ Serializer Example (#4420)
* initial commit

* bump sample version

* update comments

* sln file fix

* update comment

* Update Microsoft.Azure.Cosmos/src/Serializer/CosmosLinqSerializer.cs

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* remarks fix

* xml fix

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2024-04-18 22:03:54 +00:00
Aditya a76666dc5f
[Internal] ReleaseNotes : Adds known issue to list (#4434)
* Initial commit

* Update

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2024-04-18 13:11:34 -07:00
Philip Thomas a8f4b7e80f
SDK 3.39.1/3.40.0-preview.1: Adds version bump and changelog. (#4430)
* SDK 3.39.1/3.40.0-preview.1: Adds version bump and changelog.

* Update changelog.md

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
Co-authored-by: Sourabh Jain <sourabhjain@microsoft.com>
2024-04-18 07:08:35 +00:00
Debdatta Kunda de078b4ad1
[Internal] Flakey Tests: Fixes few Tests in `GatewayAddressCacheTests` (#4424)
* Code changes to fix one of the GW cache flakey tests.

* Code changes to fix some of the assertions.

* Code changes to use IsCompletedSuccessfully.
2024-04-17 22:50:23 +00:00
Philip Thomas c9de5a3557
ChangeFeedProcessor: Fixes ArgumentException when dealing with Legacy lease incremental documents that do not have a Mode property (#4426)
* fix for 4423

* fix comment

* some recommendation changes
2024-04-17 11:17:47 -07:00