Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Internal] Direct : Refactores msdata/direct branch #4465

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
338 commits
Select commit Hold shift + click to select a range
2f2e8fb
HttpClient: Adds detection of DNS changes through use of SocketsHttpH…
NaluTripician Apr 7, 2023
789f701
[Internal] Tests: Fixes Open Telemetry attributes for ReadMany test (…
ealsur Apr 8, 2023
2b6fdb7
[Internal] Client Telemetry: Refactors code to run client telemetry d…
sourabh1007 Apr 10, 2023
33dea8a
Patch: Adds Move Operation (#3389)
Amaan-Haque Apr 11, 2023
31b1ff3
[Internal] Pipelines: Adds nightly build to produce packages (#3802)
ealsur Apr 11, 2023
bfbb43e
[Internal] OpenTelemetry: Direct Package update and replacing diagnos…
aavasthy Apr 18, 2023
f94869a
[Internal] MerlinBot: Adds auto-merge and cleanup automation (#3813)
ealsur Apr 18, 2023
afd5904
Update fabricbot.json (#3824)
ealsur Apr 24, 2023
fb80ba8
[Internal] Upgrade Resiliency: Adds Logic to Validate `Unknown` Repli…
kundadebdatta Apr 24, 2023
5d4f7c1
Serialization: Fixes call to CosmosSerializer.FromStream on Gateway m…
Apr 25, 2023
0d0ffe0
[Internal] Documentation: Adds documentation covering build pipelines…
ealsur Apr 27, 2023
e872f93
Client Encryption: Adds release version of Microsoft.Azure.Cosmos to …
vipulvishal-ms Apr 27, 2023
e5972ac
SDK 3.33.0 : Adds version bump and changelog (#3823)
NaluTripician Apr 27, 2023
7465da2
[Internal] Documentation: Adds msdata/direct Sync-up Guide. (#3828)
kundadebdatta May 1, 2023
20121c8
Query: Adds TRIM string system function support in LINQ (#3833)
leminh98 May 2, 2023
15616d3
Query: Fixes Parsing Error in SQL DOM when CultureInfo is available (…
leminh98 May 2, 2023
1dcba53
Client Encryption: Adds api FetchDataEncryptionKeyWithoutRawKeyAsync …
vipulvishal-ms May 3, 2023
9ba3f75
Initial commit (#3826)
adityasa May 3, 2023
17203a5
Query: Adds Computed Property SDK Support (#3761)
adityasa May 4, 2023
033e883
[Internal] Samples: Adds OpenTelemetry and Application Insights sampl…
jcocchi May 5, 2023
0c15865
[Internal] Query: Added custom serializer coverage tests to Expressio…
onionhammer May 9, 2023
ade7e34
Query: Added remaining Cosmos Type checking functions to CosmosLinqEx…
onionhammer May 9, 2023
aff7349
update sdk version and section tags (#3841)
jcocchi May 10, 2023
1a8b7f0
PackageLicense: Removes PackageLicenseUrl and Adds PackageLicenseFile…
philipthomas-MSFT May 16, 2023
b06d6c3
making ChangeFeedMode.LatestVersion accessible to the public (#3854)
philipthomas-MSFT May 17, 2023
c66e488
AI Integration: Fixes Operation Name in the activity and end to end T…
sourabh1007 May 17, 2023
7b32e8e
SDK 3.34.0 : Adds version bump and changelog (#3855)
philipthomas-MSFT May 18, 2023
2b7d709
Release: Fixes changelog.md change for 3845 to preview (#3859)
philipthomas-MSFT May 18, 2023
3727d4d
removing ThirdPartyNotice.txt from content and contentfiles folders (…
philipthomas-MSFT May 19, 2023
69cda11
Documentation: Adds see also link to Container.CreateTransactionalBat…
rinatmini May 22, 2023
d4f48f4
Query: Adds type-markers with count and length for large arrays (#3852)
Maya-Painter May 23, 2023
459a865
[Internal] AI Integration or Open Telemetry: Design Document (#3858)
sourabh1007 May 24, 2023
09e6fac
Benchmarking: Adds use of ARM Templates for benchmarking (#3838)
NaluTripician May 25, 2023
83bad12
Update README.md (#3875)
NaluTripician May 26, 2023
c5ef47e
moved to new file (#3876)
sourabh1007 May 27, 2023
ee7f86d
Direct Package Upgrade 3.31.0: Refactors code to make compatible with…
sourabh1007 May 30, 2023
89cc257
[Preview] Integrated cache: Adds BypassIntegratedCache to DedicatedGa…
jiajunpeng-msft May 31, 2023
327422b
Client Encryption: Adds Microsoft.Azure.Cosmos compatibility to versi…
vipulvishal-ms Jun 1, 2023
3e3bbe5
CosmosClient: Fixes missing Trace when converting HTTP Timeout to 503…
rinatmini Jun 1, 2023
387ab62
AI Integration: Fixes Open Telemetry Example (#3868)
sourabh1007 Jun 2, 2023
f19acb0
[Internal] Query: Adds OptimisticDirectExecute and RequiresDistributi…
akotalwar Jun 5, 2023
c095bc1
Query: Refactors the EnableOptimisticDirectExecution flag to be publi…
akotalwar Jun 7, 2023
6024f24
[Internal] OpenTelemetry : Adds Telemetry Distributed Tracing functio…
aavasthy Jun 7, 2023
e08fd52
Documentation: Adds additional remarks to CosmosClient (#3891)
rinatmini Jun 8, 2023
d58b441
Open Telemetry End To End Test: Adds baseline for network level reque…
sourabh1007 Jun 8, 2023
df63092
[Internal] Design Docs: Adds Design Document for Client Telemetry (#3…
sourabh1007 Jun 9, 2023
d1dbe94
[Internal] Design Docs: Adds Design Document for Client Telemetry Par…
sourabh1007 Jun 9, 2023
28e03c8
ConnectionPolicy: Refactors Code to Reduce Default Request Timeout to…
kundadebdatta Jun 10, 2023
b924209
[Internal] Upgrade Resiliency: Adds Replica Health State Diagnostics.…
kundadebdatta Jun 10, 2023
ea10439
Subpartitioning: Fixes handling of split physical partitions (#3879)
NaluTripician Jun 12, 2023
8137c77
[Query] Fixes empty property name parsing exception (#3907)
Maya-Painter Jun 14, 2023
b200491
[Preview] Query: Refactors EnableOptimisticDirectExecution to true by…
akotalwar Jun 14, 2023
8684535
Documentations: Adds links to PatchItems docs (#3910)
rinatmini Jun 15, 2023
6970222
[Internal] Direct Package Upgrade: Refactors Code to Bump Up `Cosmos.…
kundadebdatta Jun 17, 2023
b979061
SDK 3.35.0 : Adds version bump and changelog (#3920)
NaluTripician Jun 19, 2023
b1d3134
[Internal] Last minute fix to changelog for 3.35.0 (#3921)
NaluTripician Jun 19, 2023
92319a0
[Internal] Query: Adds new header SupportedSerializationFormats (#3911)
Maya-Painter Jun 22, 2023
3f4b7bd
Code changes to optimize the rntbd open connection logic to open conn…
kundadebdatta Jun 26, 2023
abab80e
Query : Adds support for newtonsoft member access via ExtensionData (…
onionhammer Jun 26, 2023
3a1f46b
HttpTransport: Fixes HttpTimeoutPolicies to not accidentally suppress…
FabianMeiswinkel Jun 27, 2023
cf71ddd
SDK 3.35.1 : Adds version bump and changelog (#3945)
ealsur Jun 27, 2023
c2bf640
[Internal] Changelog: Fixes recommended version and title (#3948)
FabianMeiswinkel Jun 27, 2023
a25730a
[Internal] Dependencies: Fixes dependabot alert for System.Linq.Dynam…
ealsur Jun 28, 2023
17f1b4e
[Internal] Upgrade Resiliency: Adds Code to Enable Replica Validation…
kundadebdatta Jun 30, 2023
077acf3
Client Encryption: Adds package reference Microsoft.Azure.Cosmos vers…
vipulvishal-ms Jul 4, 2023
0d4e93f
[Internal] FabricBot: Adds GitOps.ResourceManagement because of Fabri…
microsoft-github-policy-service[bot] Jul 6, 2023
1981fc1
[Internal] Query: Refactors certain tests to not fail when EnableOpti…
akotalwar Jul 7, 2023
d3fa6a8
Diagnostics: Fixes verbose levels for "Operation will NOT be retried"…
rinatmini Jul 10, 2023
51c9d9c
Query: Fixes malformed continuation token exception type and message …
akotalwar Jul 10, 2023
4bb62d3
[Internal] Upgrade Resiliency: Refactors Code to Enable Replica Valid…
kundadebdatta Jul 11, 2023
d0aac27
Query : Adds string comparison alternative when converting LINQ to SQ…
ernesto1596 Jul 11, 2023
d7fc282
AI Integration: Fixes event generation for failed requests (#3973)
sourabh1007 Jul 12, 2023
8d2691b
[Internal] Category: Refactors Cosmos benchmark operations (#3961)
M-Lipin Jul 14, 2023
38b556b
3.35.2: Adds new SDK versions and contract files (#3985)
kundadebdatta Jul 17, 2023
d71dcb2
[INTERNAL] LocalQuorum: Adds documentation for LocalQuorum (#3993)
kirankumarkolli Jul 19, 2023
5ec7b4b
Code changes to update release note. (#3996)
kundadebdatta Jul 19, 2023
08981bf
Client Encryption: Adds fix for supporting Prefix Partition Key (Hier…
vipulvishal-ms Jul 28, 2023
ebd1b91
Query: Refactors changelog.md with Optimistic Direct Execution recomm…
akotalwar Aug 1, 2023
8c4f99f
[Internal] Query: Adds performance testing for OptimisticDirectExecut…
akotalwar Aug 5, 2023
c46614b
Query: Adds ODE continuation token support for non-ODE pipelines (#4009)
akotalwar Aug 5, 2023
e05e3eb
Code changes to disable replica validation in preview package. (#4019)
kundadebdatta Aug 8, 2023
27b9350
3.35.3: Adds new SDK versions and contract files (#4024)
kundadebdatta Aug 9, 2023
f8f3801
[Internal] Distributed tracing: Adds a sample to collect activities a…
sourabh1007 Aug 9, 2023
32827f7
Code changes to fix race condition by calling dispose too early. (#4030)
kundadebdatta Aug 10, 2023
efb90f0
Code changes to update change log for release 3.35.3 (#4032)
kundadebdatta Aug 10, 2023
e708ec9
Documentation: Fixes article links (replaced links V2 to V3 SDK versi…
rinatmini Aug 11, 2023
946dd4a
[Internal] Benchmark tool: Adds Cosmos Benchmark Metrics (#3950)
M-Lipin Aug 15, 2023
48af69e
GatewayAddressCache: Fixes Unobserved Exception During Background Add…
kundadebdatta Aug 16, 2023
ce38cc1
Documentation: Adds additional note for GetContactedRegions method (#…
rinatmini Aug 18, 2023
2257ca2
[Internal] Client Telemetry: Adds Client Telemetry pipeline sending d…
sourabh1007 Aug 22, 2023
e2311a9
[Internal] Client Telemetry: Refactors code for collectors (#4037)
sourabh1007 Aug 22, 2023
f56944e
[Internal] Automation: Adds logic to tag customer-reported issues (#4…
ealsur Aug 23, 2023
83dd4b5
[Internal] Benchmark tool: Adds requests diagnostic data capture and …
tangerinous Aug 23, 2023
3aced24
[Internal] Benchmark tool: Adds feature to the dashboard that genera…
tangerinous Aug 29, 2023
c72ebc8
[Internal] Client Telemetry: Adds client config api call to get lates…
sourabh1007 Aug 31, 2023
7c3f5e1
[Internal] Benchmark tool: Fixes benchmark run command using OSSProje…
tangerinous Sep 5, 2023
b7b1064
[Query] Adds public backend metrics property to Diagnostics (#4001)
Maya-Painter Sep 8, 2023
4111cae
[Query][Internal] Adds tests for aggregate queries with invalid conti…
Maya-Painter Sep 11, 2023
b909bd7
[Internal] Benchmark tool: Fixes code refractoring to model the metri…
kirankumarkolli Sep 11, 2023
be0c098
first draft (#4079)
sourabh1007 Sep 12, 2023
391c3d9
Subpartitioning: Fixes bug for queries on subpartitioned containers (…
NaluTripician Sep 14, 2023
0a0e5ae
[Internal] Query: Fixes LINQ Test Organization (#4076)
leminh98 Sep 15, 2023
52d0436
ClientTelemetry : Adds logic to call client config in every 10 minute…
sourabh1007 Sep 15, 2023
83509cc
SDK 3.35.4: Adds version bump and changelog (#4087)
NaluTripician Sep 15, 2023
258d960
[Internal] Query: Fixes escaped string parsing in SqlParser (#4054)
adityasa Sep 18, 2023
373ab9e
Bechmark : Fixes benchmark runs (#4088)
sourabh1007 Sep 20, 2023
9f8d848
[Internal] Query: Adds Index Metrics V2 Object Model (#4058)
leminh98 Sep 20, 2023
08e7f54
Distributed Tracing: Fixes dependency failure on appinsights (#4098)
sourabh1007 Sep 26, 2023
4556567
[Internal] Query: Adds deserializing logic for ClientQL Coordinator D…
akotalwar Sep 26, 2023
f312f6a
[Internal] Query: Adds check to detect unsupported queries for Optimi…
akotalwar Sep 28, 2023
101b9b1
[Internal] Query: Fixes minor issues with TestQueryValidityCheckWithO…
akotalwar Sep 28, 2023
11fa17b
Query: Adds LINQ RegexMatch Extension method (#4078)
leminh98 Oct 3, 2023
b03df6b
Chaning Bounded to Strong (#4103)
kirankumarkolli Oct 4, 2023
72e96fa
Client Telemetry: Adds new public APIs (#4056)
sourabh1007 Oct 4, 2023
7ed22ac
[Internal] Build: Adds CodeQL support in nightly builds (#4113)
Pilchie Oct 6, 2023
75eec5c
Benchmark: Fixes to show estimated cost of a container only when new …
sourabh1007 Oct 9, 2023
a5dec66
Distributed Tracing: Fixes SDK responses compatibility with opentelem…
sourabh1007 Oct 9, 2023
88fd4cd
Revert "Query: Adds new system strings in JsonBinaryEncoding, replaci…
Maya-Painter Oct 9, 2023
e2fb347
CosmosClientOptions: Adds support for multiple formats of Azure regio…
Oct 10, 2023
4e2beda
Distributed Tracing: Fixes traceid null exception issue (#4111)
aavasthy Oct 10, 2023
7db0aa0
Telemetry Options: Adds telemetry options in GA package (#4117)
sourabh1007 Oct 12, 2023
20547bc
[Internal] Direct Package: Adds version bump (#4120)
NaluTripician Oct 13, 2023
8f65cd2
Query : Adds Missing QueryMetrics Documentation (#4127)
Maya-Painter Oct 17, 2023
51a8c6c
TriggerOperation: Adds Upsert Operation Support (#4119)
sourabh1007 Oct 18, 2023
5777a3a
SDK 3.36.0 : Adds version bump and changelog (#4118)
sourabh1007 Oct 18, 2023
f3a9cae
Release 3.36.0: Fixes pipeline by removing ReleasePackage variable (#…
sourabh1007 Oct 18, 2023
28204bb
Item Operations: Fixes JsonSerialization exception when MissingMember…
philipthomas-MSFT Oct 18, 2023
1afcacd
[Internal] Query : Adds test coverage for custom serializers (#4114)
Maya-Painter Oct 18, 2023
a0fb14f
Release 3.36.0 : Fixes Client Telemetry Release Test (#4132)
sourabh1007 Oct 19, 2023
e2ce570
Update CosmosItemTests.cs (#4141)
Maya-Painter Oct 19, 2023
b8d9225
Release 3.36.0: Fixes client config test and preview pipeline (#4149)…
sourabh1007 Oct 23, 2023
6de10dd
Query : Fixes querying conflicts (#4100)
adityasa Oct 24, 2023
8253bef
Fixes changelog typo and date (#4155)
sourabh1007 Oct 24, 2023
42cc681
Bump Azure.Identity in /Microsoft.Azure.Cosmos.Samples/Usage/Encrypti…
dependabot[bot] Oct 24, 2023
083df87
Bump Azure.Identity (#4135)
dependabot[bot] Oct 24, 2023
a4836ff
Per Partition Automatic Failover: Fixes Gateway 503 Cold Start Issue …
kundadebdatta Oct 27, 2023
646d006
[Internal] Query: Fixes optimalPageSize logic for OFFSET LIMIT in ORD…
sc978345 Oct 30, 2023
9175f51
[Internal] Client Telemetry: Adds telemetry contract (#4161)
sourabh1007 Oct 31, 2023
1f81b54
Client Encryption: Adds Azure.Identity from 1.1.1 to 1.10.2 (#4134)
dependabot[bot] Nov 2, 2023
f379919
[Internal] Query: Removes ForcePassThrough support (#4160)
akotalwar Nov 3, 2023
f7a4c56
[Internal] Upgrade Resiliency: Fixes Duplicate Channel and Task Creat…
kundadebdatta Nov 6, 2023
b191834
[Internal] DocumentClient: Adds TryGetAccountProperties (#4167)
ealsur Nov 6, 2023
4db6078
Query: Fixes documentation to reflect state of System.Text.Json seria…
Maya-Painter Nov 7, 2023
d287f08
[Internal] Query: Adds interface for linq serialization functions (#4…
Maya-Painter Nov 8, 2023
966b481
Routing: Adds ExcludeRegions Feature to RequestOptions (#4128)
NaluTripician Nov 9, 2023
4fee546
Upgrade Resiliency: Adds Code to Enable Advanced Replica Selection Fe…
kundadebdatta Nov 15, 2023
f471418
VS 17.8 auto runs NuGetAudit and flagging 10.0.2, CosmosDB SDK alread…
kirankumarkolli Nov 15, 2023
e205d41
Documentation: Adds Upsert documentation to include status codes for …
kirankumarkolli Nov 16, 2023
98048d2
[Internal] Code Analysis: Fixes all warning in source/test/usage proj…
kirankumarkolli Nov 16, 2023
c6918b4
3.37.0: Adds new SDK versions and contract files (#4191)
kundadebdatta Nov 17, 2023
a0f1c30
[Internal] Versioning: Adds guidance for versioning SDK releases (#4192)
ealsur Nov 21, 2023
d07f9ca
[Internal] Query: Adds Baseline test for exceeding header length for …
leminh98 Dec 1, 2023
07aa28e
[Internal] Automation: Fixes check for issue assignment (#4213)
ealsur Dec 12, 2023
6258e24
Query: Add Optimistic Direct Execution configuration override support…
akotalwar Dec 13, 2023
ea269c9
[Internal] Query: Adds ClientQL Compatibility Level support on client…
akotalwar Dec 14, 2023
7a32b96
[Internal] CTL: Fixes docker image version dependency (#4216)
ealsur Dec 19, 2023
3cb1c55
Distributed Tracing: Refactors Samples to use latest cosmosdb SDK (#4…
sourabh1007 Dec 20, 2023
1e49b16
Client Encryption: Adds Microsoft.Azure.Cosmos compatibility to versi…
vipulvishal-ms Dec 21, 2023
5a096d1
Change Feed Processor: Fixes disposal of unused CancellationTokenSour…
ealsur Dec 22, 2023
c555685
[Internal] Per Partition Automatic Failover: Fixes Metadata Requests …
kundadebdatta Dec 30, 2023
02e4f34
[Internal] GlobalEndpointManager: Fixes Memory Leak (#4226)
NaluTripician Dec 31, 2023
4195ec0
SDK 3.37.1 : Adds version bump and changelog (#4231)
NaluTripician Jan 3, 2024
17bbdab
Query: Adds support for System.Text LINQ Custom Serializer (#4138)
Maya-Painter Jan 5, 2024
6cb9038
BulkMode: Adds PartitionKeyRangeId in Bulk Mode and TransactionalBatc…
kundadebdatta Jan 8, 2024
8af055c
GatewayClientStore: Fixes an issue with dealing with invalid JSON HTT…
philipthomas-MSFT Jan 10, 2024
24ee86b
[Internal] FaultInjection: Adds support for FaultInjection for RNTBD …
NaluTripician Jan 16, 2024
4064746
[Internal] Query: Adds ClientQL serialization support on the client (…
akotalwar Jan 17, 2024
431c6f2
Documentation: Fixes API comment for `RequestOptions.IfMatchEtag` (#4…
kundadebdatta Jan 17, 2024
4d9b7bd
Query: Fixes LINQ Translation of SqlNullLiteral Values (#4260)
Maya-Painter Jan 19, 2024
3c18156
Query : Adds Request Charge to Query Metrics (#4252)
Maya-Painter Jan 19, 2024
fccbc93
[Internal] Pipelines: Adds permissions to workflow (#4270)
ealsur Jan 22, 2024
e11dc9b
Query: Refactors Optimistic Direct Execution to be turned on by defau…
akotalwar Jan 24, 2024
f33b2af
Emulator : Adds support for flag in connection string to ignore SSL c…
sourabh1007 Jan 24, 2024
72957d1
[Internal] Pre-Checkin Tests: Fixes Failing Tests After Emulator Refr…
akotalwar Jan 25, 2024
8087dd6
[Internal] Query: Fixes Group By queries with Select Value returning …
leminh98 Jan 25, 2024
5ab5a7e
Change Feed Processor: Fixes LeaseLostException on Notifications API …
ealsur Jan 25, 2024
32d0078
[Internal] Query: Adds ability to send plain text response as the def…
leminh98 Jan 25, 2024
7209b38
Region Availability: Adds Spain Central and Mexico Central Regions Fo…
kundadebdatta Jan 26, 2024
0633389
Changed to Async Method (#4284)
NaluTripician Jan 26, 2024
1bbe101
CosmosClientOptions: Adds validation to check DisableServerCertificat…
sourabh1007 Jan 30, 2024
2c7c7ad
Query: Adds LINQ Support for FirstOrDefault (#4286)
adityasa Jan 30, 2024
7b18607
Documentation refresh: Fixes DeleteItem API will not return context i…
kirankumarkolli Jan 30, 2024
d7a954f
PriorityBasedExecution: Adds PriorityLevel in CosmosClientOptions (#4…
Achint-Agrawal Jan 31, 2024
83958bb
GlobalEndpointManager: Fixes Unobserved and Unhandled Exception from …
kundadebdatta Jan 31, 2024
b933cb8
3.38.0: Adds new SDK versions and contract files (#4277)
kundadebdatta Jan 31, 2024
9591253
[Internal] Query: Adds environment variable for overriding EnableOpti…
adityasa Feb 2, 2024
3f421fb
DisableServerCertificateValidation: Fixes Default HttpClient to honor…
kirankumarkolli Feb 2, 2024
792dc39
[Internal] Query: Adds Handling of STJ ExtensionData to Sample Custom…
Maya-Painter Feb 5, 2024
8d74003
[Internal] Direct Version Upgrade: Fixes code to make it compatible w…
sourabh1007 Feb 5, 2024
e827b6b
[Internal] Change Feed Processor: Adds AllVersionsAndDeletes support …
philipthomas-MSFT Feb 5, 2024
d32f72d
3.38.1: Adds new SDK versions and contract files (#4305)
kundadebdatta Feb 6, 2024
03a617e
Bypass distribution plan parsing. (#4293)
adityasa Feb 6, 2024
f6609ee
[Internal] Query: Fixes Aggregate Pipelines resetting headers (#4303)
leminh98 Feb 7, 2024
a9599bd
FaultInjection: Adds Fault Injection Library (#4281)
NaluTripician Feb 8, 2024
0589e8a
CosmosClientOptions: Adds Private Custom Account Endpoints (#4265)
kundadebdatta Feb 9, 2024
caa1aeb
Distributed Tracing: Refactors code to rename net.peer.name attribute…
sourabh1007 Feb 13, 2024
cba93d3
[Internal] Query: Adds support for continuation using SqlQuerySpec (#…
balaperu Feb 13, 2024
40dfa25
Initial commit (#4322)
adityasa Feb 16, 2024
23dac8b
Client Telemetry: Refactors code to stop throwing an exception. (#4317)
sourabh1007 Feb 16, 2024
bf0f629
initial commit (#4323)
Maya-Painter Feb 23, 2024
d1a7d49
Diagnostics: Adds Client Configuration for Synchronization context ca…
sourabh1007 Mar 5, 2024
deab135
Distributed Tracing: Adds configuration to disable network level trac…
sourabh1007 Mar 7, 2024
c064a79
[Internal] ChangeFeedEstimator: Fixes ChangeFeedProcessorState.Estima…
philipthomas-MSFT Mar 13, 2024
f0953f6
Update ReplicaValidationDesign.md (#4352)
xavierjohn Mar 15, 2024
652b99d
added known issue (#4349)
NaluTripician Mar 17, 2024
ab80170
[Internal] Pipelines: Adds yml Files for New Multi-region CI Pipeline…
NaluTripician Mar 20, 2024
d1f879f
Distributed Tracing Documentation : Fixes the default value mentioned…
sourabh1007 Mar 22, 2024
dbdf806
ChangeFeedProcessor: Fixes when ChangeFeedMode is switched should thr…
philipthomas-MSFT Mar 22, 2024
75a2e5f
[Internal] Pipelines: Fixes Multi-Region CI pipeline to include env v…
NaluTripician Mar 25, 2024
71e58ee
ChangeFeedProcessor: Adds AllVersionsAndDeletes support to ChangeFeed…
philipthomas-MSFT Mar 26, 2024
dfee5ad
integrated cache: make BypassIntegratedCache API GA (#4377)
jiajunpeng-msft Mar 29, 2024
4855a6a
ChangeFeedProcessor: Refactors AVAD metadata Contract (#4380)
philipthomas-MSFT Mar 29, 2024
5788326
Query: Adds support for non streaming ORDER BY (#4362)
neildsh Apr 1, 2024
15d83a7
Query: Adds translation support for single key single value select GR…
leminh98 Apr 1, 2024
e04ce51
Performance: Refactors query prefetch mechanism (#4361)
kevin-montrose Apr 1, 2024
1106cd7
[Internal] Query: Fixes occasional hang while querying using partial …
adityasa Apr 2, 2024
80647ba
[Internal] Direct Package: Adds Support for Direct package version 3.…
NaluTripician Apr 3, 2024
61230f9
[Internal] Regions: Adds new USSec Region (#4386)
Tayham Apr 4, 2024
90b8526
[Internal] Query: Fixes Client QL exception by dropping ClientQLCompa…
adityasa Apr 4, 2024
b882e26
fixes bug (#4389)
NaluTripician Apr 5, 2024
d1ff001
[Internal] ContainerProperties: Adds Vector Embedding and Indexing Po…
kundadebdatta Apr 5, 2024
4b2196b
Distributed Tracing: Update operation name for non-generic feed itera…
joegoldman2 Apr 6, 2024
496ddba
SDK 3.39.0: Adds version bump and changelog. (#4391)
philipthomas-MSFT Apr 9, 2024
cb7f923
[Internal] Pipelines: Adds MultiRegion Test support for release pipel…
NaluTripician Apr 10, 2024
0e06625
Query: Fixes ResponseMessage not parsing the IndexMetrics as text in …
leminh98 Apr 11, 2024
f335f65
update readme to make it more clear (#4399)
NaluTripician Apr 12, 2024
ef719fb
[Internal] Distributed Tracing: Fixes Client Config Test (#4406)
sourabh1007 Apr 12, 2024
2c5ab47
Bump Azure.Identity in /Microsoft.Azure.Cosmos.Samples/Usage/Encrypti…
dependabot[bot] Apr 12, 2024
36a3547
Bump Azure.Identity (#4409)
dependabot[bot] Apr 12, 2024
bf4704f
Bump OpenTelemetry.Instrumentation.Http (#4414)
dependabot[bot] Apr 15, 2024
08338af
Fix bug in OrderByCrossPartitionQueryPipelineStage to ensure that fai…
neildsh Apr 16, 2024
b875c61
[Internal] Security: Fixes Azure.Identity dependency on Microsoft.Azu…
ealsur Apr 16, 2024
5efe2db
[Internal] Query: Adds tests for LINQ GROUP BY Multi-value translatio…
leminh98 Apr 17, 2024
c9de5a3
ChangeFeedProcessor: Fixes ArgumentException when dealing with Legacy…
philipthomas-MSFT Apr 17, 2024
de078b4
[Internal] Flakey Tests: Fixes few Tests in `GatewayAddressCacheTests…
kundadebdatta Apr 17, 2024
a8f4b7e
SDK 3.39.1/3.40.0-preview.1: Adds version bump and changelog. (#4430)
philipthomas-MSFT Apr 18, 2024
a76666d
[Internal] ReleaseNotes : Adds known issue to list (#4434)
adityasa Apr 18, 2024
6131998
Samples: Adds STJ LINQ Serializer Example (#4420)
Maya-Painter Apr 18, 2024
400abfd
[Internal] Documentation: Adds details about retry backoff for 410/44…
ealsur Apr 22, 2024
85a8444
Add a new capability for non streaming order by in QueryFeatures and …
neildsh Apr 23, 2024
1463345
Query: Fixes Persisted continuationToken issue by turning off ODE by …
adityasa Apr 24, 2024
bf2f5ee
FaultInjection: Adds SendDelay ServerErrorType (#4447)
NaluTripician Apr 28, 2024
bda8290
Switch non streaming order by to use flag from query plan instead of …
neildsh Apr 29, 2024
a331448
FaultInjection: Adds ReadFeed Operation Type (#4448)
NaluTripician Apr 30, 2024
ca4b969
[Internal] Pipelines: Adds rolling pipeline (#4460)
ealsur Apr 30, 2024
f304e97
initial commit (#4253)
Maya-Painter May 1, 2024
dee9aba
Distributed Tracing: Adds Request charge and Payload size Threshold o…
sourabh1007 May 2, 2024
054159a
Merge branch 'master' into users/nalutripician/update_msdata_direct_0…
NaluTripician May 2, 2024
2ad1a1b
update msdata direct
NaluTripician May 2, 2024
039be0c
update direct
NaluTripician May 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ configuration:
label: needs-more-information
- noActivitySince:
days: 14
- isNotAssigned
actions:
- addReply:
reply: '@${issueAuthor} this issue requires more information for the team to be able to help. In case this information is available, please add it and re-open the Issue.'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/prlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:

jobs:
pr-lint:
permissions:
checks: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: morrisoncole/pr-lint-action@v1.7.0
Expand Down
14 changes: 7 additions & 7 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ClientOfficialVersion>3.37.0</ClientOfficialVersion>
<ClientPreviewVersion>3.37.0</ClientPreviewVersion>
<ClientPreviewSuffixVersion>preview</ClientPreviewSuffixVersion>
<DirectVersion>3.31.5</DirectVersion>
<EncryptionOfficialVersion>2.0.3</EncryptionOfficialVersion>
<EncryptionPreviewVersion>2.0.3</EncryptionPreviewVersion>
<EncryptionPreviewSuffixVersion>preview</EncryptionPreviewSuffixVersion>
<ClientOfficialVersion>3.39.1</ClientOfficialVersion>
<ClientPreviewVersion>3.40.0</ClientPreviewVersion>
<ClientPreviewSuffixVersion>preview.1</ClientPreviewSuffixVersion>
<DirectVersion>3.33.1</DirectVersion>
<EncryptionOfficialVersion>2.0.4</EncryptionOfficialVersion>
<EncryptionPreviewVersion>2.1.0</EncryptionPreviewVersion>
<EncryptionPreviewSuffixVersion>preview4</EncryptionPreviewSuffixVersion>
<CustomEncryptionVersion>1.0.0-preview06</CustomEncryptionVersion>
<HybridRowVersion>1.1.0-preview3</HybridRowVersion>
<LangVersion>10.0</LangVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace Microsoft.Azure.Cosmos.Encryption.Custom
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Cosmos;
using Newtonsoft.Json.Linq;

internal sealed class EncryptionContainer : Container
Expand Down Expand Up @@ -1023,6 +1022,16 @@ public override Task<ResponseMessage> DeleteAllItemsByPartitionKeyStreamAsync(
}
#endif

#if SDKPROJECTREF
public override ChangeFeedProcessorBuilder GetChangeFeedProcessorBuilderWithAllVersionsAndDeletes<T>(
string processorName,
ChangeFeedHandler<ChangeFeedItem<T>> onChangesDelegate)
{
return this.container.GetChangeFeedProcessorBuilderWithAllVersionsAndDeletes(
processorName,
onChangesDelegate);
}
#endif
private async Task<ResponseMessage> ReadManyItemsHelperAsync(
IReadOnlyList<(string id, PartitionKey partitionKey)> items,
ReadManyRequestOptions readManyRequestOptions = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Azure.Core" Version="1.35.0" />
<PackageReference Include="Azure.Identity" Version="1.10.2" />
<PackageReference Include="Azure.Core" Version="1.38.0" />
<PackageReference Include="Azure.Identity" Version="1.11.0" />
<PackageReference Include="Microsoft.Data.Encryption.Cryptography" Version="0.2.0-pre" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
</ItemGroup>
Expand Down
10 changes: 10 additions & 0 deletions Microsoft.Azure.Cosmos.Encryption/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ Preview features are treated as a separate branch and will not be included in th
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### <a name="2.0.4"/> [2.0.4](https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Encryption/2.0.4) - 2023-12-12

#### Added
- [#4214](https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4214) Adds support for Microsoft.Azure.Cosmos from version 3.35.4 to 3.37.0

### <a name="2.1.0-preview4"/> [2.1.0-preview4](https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Encryption/2.1.0-preview4) - 2023-12-12

#### Added
- [#4214](https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4214) Adds support for Microsoft.Azure.Cosmos 3.37.0-preview.

### <a name="2.0.3"/> [2.0.3](https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Encryption/2.0.3) - 2023-07-12

#### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Cosmos.Encryption
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Cosmos;
using Newtonsoft.Json.Linq;

internal sealed class EncryptionContainer : Container
Expand Down Expand Up @@ -756,6 +755,14 @@ public override Task<IEnumerable<string>> GetPartitionKeyRangesAsync(
}
#endif

#if SDKPROJECTREF
public override ChangeFeedProcessorBuilder GetChangeFeedProcessorBuilderWithAllVersionsAndDeletes<T>(
string processorName,
ChangeFeedHandler<ChangeFeedItem<T>> onChangesDelegate)
{
throw new NotImplementedException();
}
#endif
/// <summary>
/// This function handles the scenario where a container is deleted(say from different Client) and recreated with same Id but with different client encryption policy.
/// The idea is to have the container Rid cached and sent out as part of RequestOptions with Container Rid set in "x-ms-cosmos-intended-collection-rid" header.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
</ItemGroup>

<ItemGroup Condition=" '$(SdkProjectRef)' != 'True' AND '$(IsPreview)' != 'True' ">
<PackageReference Include="Microsoft.Azure.Cosmos" Version="[3.31.0,3.35.2]" />
<PackageReference Include="Microsoft.Azure.Cosmos" Version="[3.35.4,3.37.0]" />
</ItemGroup>

<ItemGroup Condition=" '$(SdkProjectRef)' != 'True' AND '$(IsPreview)' == 'True' ">
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.35.2-preview" />
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.37.0-preview" />
</ItemGroup>

<ItemGroup Condition=" '$(SdkProjectRef)' == 'True' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,19 @@ public async Task EncryptionReadManyItemAsync()
}
}

// ISSUE-TODO-VipulVishal - This test passes locally, but often fails in pre-checkin validation.
// Re-enable once the test is stabilized.
// Here's one example failure for reference:
// Test method Microsoft.Azure.Cosmos.Encryption.EmulatorTests.MdeEncryptionTests.EncryptionChangeFeedDecryptionSuccessful threw exception:
// System.NullReferenceException: Object reference not set to an instance of an object.
// at Microsoft.Azure.Cosmos.Encryption.EmulatorTests.MdeEncryptionTests.<>c__DisplayClass51_0.<ValidateChangeFeedProcessorResponse>b__2(TestDoc doc) in D:\a\1\s\Microsoft.Azure.Cosmos.Encryption\tests\EmulatorTests\MdeEncryptionTests.cs:line 3152
// at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
// at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Boolean& found)
// at System.Linq.Enumerable.FirstOrDefault[TSource] (IEnumerable`1 source)
// at Microsoft.Azure.Cosmos.Encryption.EmulatorTests.MdeEncryptionTests.ValidateChangeFeedProcessorResponse(Container container, TestDoc testDoc1, TestDoc testDoc2) in D:\a\1\s\Microsoft.Azure.Cosmos.Encryption\tests\EmulatorTests\MdeEncryptionTests.cs:line 3152
// at Microsoft.Azure.Cosmos.Encryption.EmulatorTests.MdeEncryptionTests.EncryptionChangeFeedDecryptionSuccessful() in D:\a\1\s\Microsoft.Azure.Cosmos.Encryption\tests\EmulatorTests\MdeEncryptionTests.cs:line 911
// at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadOperations.ExecuteWithAbortSafety(Action action)
[Ignore]
[TestMethod]
public async Task EncryptionChangeFeedDecryptionSuccessful()
{
Expand Down
6 changes: 3 additions & 3 deletions Microsoft.Azure.Cosmos.Samples/Tools/CTL/CosmosCTL.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6</TargetFramework>
<RootNamespace>CosmosCTL</RootNamespace>
<AssemblyName>CosmosCTL</AssemblyName>
<ServerGarbageCollection>true</ServerGarbageCollection>
Expand All @@ -14,8 +14,8 @@
<PackageReference Include="App.Metrics.Reporting.Console" Version="4.1.0" />
<PackageReference Include="CommandLineParser" Version="2.8.0" />
<PackageReference Include="Microsoft.Diagnostics.NETCore.Client" Version="0.2.160202" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.10" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.1.10" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Microsoft.Azure.Cosmos.Samples/Tools/CTL/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/core/runtime:3.1
FROM mcr.microsoft.com/dotnet/runtime:6.0
COPY artifacts/CTL/. /usr/app/.
COPY run_ctl.sh /usr/app/.
WORKDIR /usr/app
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------

using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2" + AssemblyKeys.MoqPublicKey)]
[assembly: InternalsVisibleTo("Microsoft.Azure.Cosmos.FaultInjection.Tests" + AssemblyKeys.ProductPublicKey)]
[assembly: InternalsVisibleTo("Microsoft.Azure.Cosmos.FaultInjection.Tests" + AssemblyKeys.TestPublicKey)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Company>Microsoft Corporation</Company>
<Product>Microsoft(R) Azure Cosmos</Product>
<Description>This client library enables client applications to inject faults into Azure Cosmos DB applications.</Description>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<NeutralLanguage>en-US</NeutralLanguage>
<CurrentDate>$([System.DateTime]::Now.ToString(yyyyMMdd))</CurrentDate>
<OutputType>Exe</OutputType>
<TargetFramework>net6</TargetFramework>
<TargetType>library</TargetType>
<RootNamespace>Microsoft.Azure.Cosmos.FaultInjection</RootNamespace>
<AssemblyName>Microsoft.Azure.Cosmos.FaultInjection</AssemblyName>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<SdkProjectRef>True</SdkProjectRef>
</PropertyGroup>

<ItemGroup Condition=" '$(SdkProjectRef)' != 'True' ">
<PackageReference Include="Microsoft.Azure.Cosmos" Version="$(ClientOfficialVersion)" />
</ItemGroup>

<ItemGroup Condition=" '$(SdkProjectRef)' == 'True' ">
<ProjectReference Include="..\..\..\..\Microsoft.Azure.Cosmos\src\Microsoft.Azure.Cosmos.csproj" />
</ItemGroup>

<ItemGroup Condition=" '$(ProjectRef)' != 'True' ">
<PackageReference Include="Microsoft.Azure.Cosmos.Direct" Version="[$(DirectVersion)]" PrivateAssets="All" />
<PackageReference Include="Microsoft.HybridRow" Version="[$(HybridRowVersion)]" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

<PropertyGroup>
<SignAssembly>true</SignAssembly>
<DelaySign>true</DelaySign>
<AssemblyOriginatorKeyFile>..\..\..\..\testkey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33530.505
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FaultInjection", "FaultInjection.csproj", "{35F312B5-93FF-45E5-BAD9-513697476B7C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FaultInjectionTests", "..\tests\FaultInjectionTests.csproj", "{C14C69A7-C282-4526-BCD1-CEADA4ECED8F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.Cosmos", "..\..\..\..\Microsoft.Azure.Cosmos\src\Microsoft.Azure.Cosmos.csproj", "{01A51453-D95E-4ED6-88AD-76A958CF516B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{35F312B5-93FF-45E5-BAD9-513697476B7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{35F312B5-93FF-45E5-BAD9-513697476B7C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{35F312B5-93FF-45E5-BAD9-513697476B7C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{35F312B5-93FF-45E5-BAD9-513697476B7C}.Release|Any CPU.Build.0 = Release|Any CPU
{C14C69A7-C282-4526-BCD1-CEADA4ECED8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C14C69A7-C282-4526-BCD1-CEADA4ECED8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C14C69A7-C282-4526-BCD1-CEADA4ECED8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C14C69A7-C282-4526-BCD1-CEADA4ECED8F}.Release|Any CPU.Build.0 = Release|Any CPU
{01A51453-D95E-4ED6-88AD-76A958CF516B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{01A51453-D95E-4ED6-88AD-76A958CF516B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{01A51453-D95E-4ED6-88AD-76A958CF516B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{01A51453-D95E-4ED6-88AD-76A958CF516B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9B003F88-147A-4B56-9BB3-EBCF53BA8D2A}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.FaultInjection
{
using System;

/// <summary>
/// Fault Injection Condition
/// </summary>
public sealed class FaultInjectionCondition
{
private readonly FaultInjectionOperationType operationType;
private readonly FaultInjectionConnectionType connectionType;
private readonly string region;
private readonly FaultInjectionEndpoint endpoint;

/// <summary>
/// Creates a <see cref="FaultInjectionCondition"/>.
/// </summary>
/// <param name="operationType">Specifies which operation type rule will target.</param>
/// <param name="connectionType">Specifies which connection type rule will target.</param>
/// <param name="region">Specifies wich region the rule will target.</param>
/// <param name="endpoint">Specifies which endpoint the rule will tareget.</param>
public FaultInjectionCondition(
FaultInjectionOperationType? operationType = null,
FaultInjectionConnectionType? connectionType = null,
string? region = null,
FaultInjectionEndpoint? endpoint = null)
{

RegionNameMapper mapper = new RegionNameMapper();
this.region = string.IsNullOrEmpty(region) ? string.Empty : mapper.GetCosmosDBRegionName(region);

this.operationType = operationType ?? FaultInjectionOperationType.All;
this.connectionType = connectionType ?? FaultInjectionConnectionType.All;
this.endpoint = endpoint ?? FaultInjectionEndpoint.Empty;
}

/// <summary>
/// The operation type the rule will target.
/// </summary>
/// <returns>the <see cref="FaultInjectionOperationType"/>.</returns>
public FaultInjectionOperationType GetOperationType()
{
return this.operationType;
}

/// <summary>
/// The connection type the rule will target.
/// </summary>
/// <returns>the <see cref="FaultInjectionConnectionType"/>.</returns>
public FaultInjectionConnectionType GetConnectionType()
{
return this.connectionType;
}

/// <summary>
/// The region the rule will target.
/// Will return the empty string if the rule is not targeting a specific region.
/// </summary>
/// <returns>the region represented as a string.</returns>
public string GetRegion()
{
return this.region;
}

/// <summary>
/// The endpoint the rule will target.
/// </summary>
/// <returns>the <see cref="FaultInjectionEndpoint"/>.</returns>
public FaultInjectionEndpoint GetEndpoint()
{
return this.endpoint;
}

/// <summary>
/// To String method
/// </summary>
/// <returns>A string represeting the <see cref="FaultInjectionCondition"/>.</returns>
public override string ToString()
{
return String.Format(
"FaultInjectionCondition{{ OperationType: {0}, ConnectionType: {1}, Region: {2}, Endpoint: {3}",
this.operationType,
this.connectionType,
this.region,
this.endpoint.ToString());
}
}
}
Loading
Loading