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

251 Коммитов

Автор SHA1 Сообщение Дата
Azure SDK Bot 803c846db8
Increment package version after release of data/azcosmos (#23731) 2024-11-22 14:41:16 -08:00
Ashley Stanton-Nurse 3217d2ef0b
update for 1.2.0 release (#23728) 2024-11-12 11:06:20 -08:00
Azure SDK Bot 273e91e4a3
Increment package version after release of data/aztables (#23697) 2024-11-05 12:35:35 -08:00
Piotr Michalak 058b4f1276
Add API for creating hierarchical `PartitionKey`s (#23577)
Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
Co-authored-by: Ashley Stanton-Nurse <ashleyst@microsoft.com>
2024-11-01 13:53:20 -07:00
Kevin Glowacz 12965bcb1b
Azcosmos no tracer to pager (#23658) 2024-10-31 14:50:45 -07:00
Kevin Glowacz d3770d9e06
Add some response values as attributes to the azcosmos traces (#23652) 2024-10-23 15:37:35 -07:00
Kevin Glowacz 5a97c43855
Set all azcosmos telemetry spans to have the Kind of SpanKindClient (#23618)
* Set all azcosmos telemetry spans to have the Kind of SpanKindClient

* Remove some redundant nil checks to appease linting
2024-10-23 12:52:05 -07:00
Richard Park 62a8952277
[aztables] Updating with release date (#23617) 2024-10-22 15:17:07 -07:00
Richard Park 6055ff776e
[aztables] adding CosmosDB support for using TokenCredentials (#23596)
Just a simple matter of using the proper scope when talking with CosmosDB, which apparently didn't support token auth when this library was first created.

Also includes some work to bring this up "to code", as it were:
* Tests now test against TokenCredentials for both Storage and CosmosDB (previously they only tested the constructor). Bicep file also now has an example of creating a custom role that contains the privileges needed since Cosmos has it's own RBAC.
* Readme and other text all updated to say "Entra ID" instead of AAD

Fixes #21760
2024-10-18 10:24:22 -07:00
Azure SDK Bot bbd749a99e
Increment package version after release of data/azcosmos (#23426) 2024-09-11 11:11:03 -07:00
Simon Moreno eebd8fbd16
versions update (#23422) 2024-09-10 16:06:07 -07:00
Andrew Porter 712933755c
Add support for MaxIntegratedCacheStaleness option (#23406)
* Add support for MaxIntegratedCacheStaleness option

* Add Changelog entry

* Fix lints
2024-09-06 13:10:41 -07:00
Matias Quaranta 991bccd9fe
Cosmos DB: Fixes metadata routing on multi-master (#23339)
* Wiring resource type and checking

* tests

* remove unused

* undo

* pending

* more undo

* tests

* changelog

* whitespace
2024-08-16 00:01:55 +00:00
Matias Quaranta e0d45270b6
Cosmos DB: Fixes minimal response header being sent on metadata operations (#23335)
* should not be sent on metadata

* test

* changelog

* clarity
2024-08-15 16:43:07 +00:00
Matias Quaranta b31a752c22
Cosmos DB: Add support for Span (#23268)
* adding internal

* tests

* Fixing tests

* adding spans

* adding span validator

* adding span validator

* wiring through tests

* bailing out

* changelog

* spelling

* format

* more format

* Update sdk/data/azcosmos/CHANGELOG.md

* Adding az.namespace

* add constants

* Wire new methods

* tests

* Update cosmos_client_test.go

* Update cosmos_client_test.go

* Fixing tests

* notes

* Refactoring to add properties

* updating dependency

* wiring attributes

* Tests

* adding more tests

* last batch of tests

* not logging 443
2024-08-12 08:18:07 -07:00
Charles Lowell fe87e2d52c Upgrade dependencies [azp skip] 2024-07-17 15:56:28 +00:00
Charles Lowell d82dd490ae
Use fake credental in aztables client constructor test (#23161) 2024-07-08 13:18:40 -07:00
Charles Lowell 997700eb1f Upgrade dependencies [azp skip] 2024-07-03 14:11:16 -04:00
Joel Hendrix 4aade1fddc
Mod tidy aztables perf tests (#23091) 2024-06-20 06:51:39 -07:00
Daniel Jurek 955e5aaa60
Federated auth for live tests (#23018)
* Wire up federated auth and migrate test jobs

* exit $LASTEXITCODE

* Activate federated auth for azappconfig

* Authenticate perf tests, too

* expression

* Correct params

* Remove reference to secret, better naming in build-test.yml

* ./

* InlineScript

* Testing comment

* Review feedback

* Review feedback: plumb EnvVars

* List

* Revert test ci.yml changes

* s

* Map SYSTEM_ACCESSTOKEN in environment for processes that need auth
2024-06-18 15:32:16 -07:00
Charles Lowell f4a7dc6c0d Upgrade dependencies [azp skip] 2024-06-17 14:01:12 -04:00
Azure SDK Bot 7250c2b76c
Increment package version after release of data/azcosmos (#23081) 2024-06-17 17:19:13 +00:00
Matias Quaranta 7d73c794a2
Cosmos DB - 1.0.3 release changelog (#23079) 2024-06-17 09:06:51 -07:00
Matias Quaranta ce86693335
Thread-Safe clientRetryPolicy (#23061)
* adding context to request

* Ading it to pipeline

* Using it in policy

* Refactor because its not needed

* refactor context

* tests

* add concurrent test

* undo file

* changelog

* enabling race detection

* removing shared variable
2024-06-14 07:04:55 -07:00
Joel Hendrix 541fd4f5c8
Clean up lint (#23032)
Consolidated duplicate if/else branches.
2024-06-11 13:07:03 -07:00
Azure SDK Bot 2c49ae0eb0
Increment package version after release of data/azappconfig (#23038) 2024-06-11 19:02:30 +00:00
Azure SDK Bot 690eb0bedc
Increment package version after release of data/azcosmos (#23036) 2024-06-11 11:37:58 -07:00
Matias Quaranta 4cb50c494e
Cosmos DB - Prepare 1.0.2 release (#23035)
* changelog

* from linter
2024-06-11 10:25:53 -07:00
Joel Hendrix ef1686f10b
Clean up lint (#23016)
* Clean up lint

* more lint
2024-06-07 15:40:17 -07:00
Joel Hendrix 9a9d7660bb
Prep azappconfig v1.1.1-beta.1 for release (#23011)
* Prep azappconfig v1.1.1-beta.1 for release

* fix version
2024-06-07 09:44:17 -07:00
Joel Hendrix 9ef926a801
Add ETag-per-page feature (#22933)
* Add ETag-per-page feature

Expose the per-page ETag returned by the service.
Added slice of azcore.MatchConditions to ListSettingsOptions that allows
for per-page match conditions. The conditions are evaluated one per page
as ordered in the slice.

* rebase and update to latest azcore
2024-06-06 15:10:02 -07:00
Matias Quaranta 41793d7be3
Cosmos DB - Fixes ReplaceThroughput operations (#22923)
* Fixing wiring

* tests

* changelog

* As Fatal

* rid

* Serialization

* adding resource

* fix

* more tests

* Update sdk/data/azcosmos/CHANGELOG.md
2024-05-21 14:46:56 +00:00
Charles Lowell 2f1ef406e7
Update aztables for new test proxy (#22922) 2024-05-20 08:51:26 -07:00
Charles Lowell 61818818a8
Update azappconfig for new test proxy (#22913) 2024-05-17 08:22:25 -07:00
Justine Cocchi 53708072e9
[Cosmos] Update README (#22895)
* update cosmos readme

* update API doc examples
2024-05-14 17:12:34 -07:00
Charles Lowell c99558aa66 Upgrade test proxy, broken tests run only in live and recording modes
[azp skip]
2024-05-08 17:24:07 -07:00
Charles Lowell c23d0097f9
Upgrade all dependencies (#22835) 2024-05-03 11:52:51 -07:00
Azure SDK Bot c3e2ab01fb
Increment package version after release of data/azcosmos (#22831) 2024-05-02 14:24:19 -07:00
Matias Quaranta bc0fd0441b
azcosmos - downgrade to go 1.21 (#22829)
* Downgrade to 1.21.0

* changelog

* Update dependencies

* release date

* Removing trailing 0
2024-05-02 13:21:18 -07:00
Joel Hendrix ead3a29292
Update dependencies for AppConfig and tables (#22814)
* Update dependencies for AppConfig and tables

* mod tidy perf tests
2024-05-01 10:01:56 -07:00
Matias Quaranta 3cbeec05f2
Upgrade azcosmos dependencies (#22815)
* Updating go.mod

* Updating go.sum
2024-05-01 09:19:56 -07:00
Charles Lowell 98dfe3495d
Upgrade modules to sdk/internal v1.6.0 (#22752) 2024-04-16 17:05:34 -07:00
Azure SDK Bot 1468058da9
Increment package version after release of data/azcosmos (#22724) 2024-04-09 13:25:10 -07:00
Matias Quaranta ea945cea72
azcosmos - Fix continuations types (#22720)
* updating responses

* updating options

* Fixes

* More fixes

* changelog
2024-04-09 08:22:29 -07:00
Matias Quaranta 22b699c2d3
Prepare release changes for azcosmos 1.0 (#22637) 2024-03-26 10:55:20 -07:00
Matias Quaranta 7decc9afdc
azcosmos - 1.0.0 review (#22623)
* changelog

* version

* Addressing review comments
2024-03-21 14:16:18 -07:00
Simon Moreno b59b15cc44
[Cosmos] add preferred regions logging (#22598)
* add new client option

* add client config logs

* remove new option

* nil fix

* fix

* log client preferred regions on every request

* move logging logic to policy

* change to 1.21

* Revert "move logging logic to policy"

This reverts commit 58be1caea3.

* move logging logic, add gem to tests

* Update go.mod

* Update ci.yml

* Update ci.yml

* Update ci.yml
2024-03-19 12:40:34 -07:00
Simon Moreno e39f6cd2b1
[Cosmos] add logging for user database account (#22593)
* add logs for db account

* change to log every time, remove old testing code

* Update cosmos_global_endpoint_manager.go

* Update emulator_cosmos_global_endpoint_manager_test.go

* Update sdk/data/azcosmos/cosmos_location_cache.go

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

* Update sdk/data/azcosmos/cosmos_location_cache.go

* Update sdk/data/azcosmos/cosmos_location_cache.go

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

* Update sdk/data/azcosmos/cosmos_location_cache.go

* Update sdk/data/azcosmos/emulator_cosmos_global_endpoint_manager_test.go

* Update sdk/data/azcosmos/cosmos_location_cache.go

* Update sdk/data/azcosmos/cosmos_location_cache.go

* small fixes

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2024-03-15 14:05:34 -07:00
Scott Beddall (from Dev Box) 88d8a7ebb5 * update ci.yml for azcosmos to _pass_ the injected stage rather than calling it directly
* touch every ci.yml to swap them from stages to extends. ***NO_CI***
2024-03-15 11:17:06 -07:00
Simon Moreno 745ca8f436
[Cosmos] Implements Client Retry policy (#22394)
* implementation of client retry policy

* ignore N-2 on ci

* Update ci.yml

* changes to pass ci

* Update go.mod

* Update go.sum

* make method private, add test

* enableEndpointDiscovery->enableCrossRegionRetries, remove public area change, remove duplicates

* saved constants, moved logic around in policy for non-duplicity

* added partial tests, missing 503s/ connectivity issues handling

* finalizing behavior and tests

* revert pipeline useragent, return non-retryable errors to skip Core retries

* mark create/delete management plane operations as writes

* force refresh ability added, delete/replace operations marked as write

* remove print statements

* refactor

* missing comma

* detecting dns failures

* missing update

* deal with errors fetching initial account information

* linter

* more linter

* Update cosmos_client_retry_policy_test.go

* add DNS test

* fix error handling logic for dns

* small fix to ensure no wrong index is called

* fix new locking logic

* override header for response on write metadata operations

---------

Co-authored-by: Matias Quaranta <ealsur@hotmail.com>
2024-03-14 17:41:45 -07:00