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

1932 Коммитов

Автор SHA1 Сообщение Дата
Heath Stewart 2b536c6ed6
Add test for deserializing pageable body (#1897) 2024-11-05 13:53:19 -08:00
Azure SDK Bot 8498a75d0d
Sync eng/common directory with azure-sdk-tools for PR 9330 (#1900)
* disable InitializeCIArtifacts until we get a better loop for usage

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-05 12:47:25 -08:00
Azure SDK Bot 402a961a65
Version/location updates for stress script usage (#1890)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-04 19:27:53 -05:00
Azure SDK Bot 1aec2f447c
Sync eng/common directory with azure-sdk-tools for PR 9308 (#1893)
Remove unnecessary Resolve-Path in Get-PrPkgProperties

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-04 15:47:03 -08:00
Azure SDK Bot 4a6709795e
target newly released proxy version (#1891)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-04 14:36:58 -08:00
Heath Stewart c454842566
Do not log PII in Debug implementations (#1886)
* Do not log PII in Debug implementations

Related to #1707 but does not resolve it. Still need a solution to redact headers as needed.

* Fix style lint issues1

* Add getters to HttpError with test

* Fix wasm32 lint issue

* Elide sanitized fields of HttpError

Safest bet for now. We can expose more later when we figure out a pluggable solution, or at least a way to make it easy to sanitize headers and potentially even body.

* Fix lint issue

* Ignore .vscode/settings.json in cSpell
2024-11-04 13:48:10 -08:00
Heath Stewart 1f5ed7856f
Add binary request example (#1865)
* Add binary request example

Also refactors `FileStream` from `azure_core` to `typespec_client_core`, plus some trait implementations on necessary request structures to make it all work.

* Add FileStream into RequestContent

* Resolve PR feedback

* Resolve PR feedback
2024-11-01 00:10:38 +00:00
Azure SDK Bot 107cffdeaa
Sync eng/common directory with azure-sdk-tools for PR 9294 (#1889)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-31 16:20:18 -07:00
Azure SDK Bot ca484df3a6
Sync eng/common directory with azure-sdk-tools for PR 9288 (#1887)
* Update Logging

* Update eng/common/scripts/logging.ps1

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-31 14:00:45 -07:00
Azure SDK Bot 8bb877d88a
Reduce unnecessary delete calls to ARM for storage accounts (#1888)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-31 13:20:22 -07:00
Ashley Stanton-Nurse 9bc2dae0de
[Cosmos] Remove options builders and (most) `impl` parameters (#1880) 2024-10-31 09:25:36 -07:00
Azure SDK Bot 9c1525cee5
Sync eng/common directory with azure-sdk-tools for PR 9290 (#1885)
* identify and resolve missing function GenerateMatrixForConfig 
* identify and resolve miss-used null-coalesce operator

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-30 22:18:14 -07:00
Azure SDK Bot 46faf385e6
Sync eng/common directory with azure-sdk-tools for PR 9281 (#1884)
* package-properties are now populated with matrix configurations from their ci.yml if present
* create new code path for generate-job-matrix.yml which combines Create-JobMatrix and the "distribute-packages-to-matrix" action to generate dynamic matrices for PRs

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-30 16:45:34 -07:00
Scott Beddall 122e1b45a5
manually syncing the eng/common pr azure/azure-sdk-tools#9236 (#1883) 2024-10-30 14:43:58 -07:00
Azure SDK Bot 670a2c3f77
Sync eng/common directory with azure-sdk-tools for PR 9259 (#1879)
* Run perf tests under federated auth

Run the tests under the same federated auth used to deploy the tests and setup the variables needed to configure AzurePipelineCredential.

* Fix indention for working directory

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-29 13:45:30 -07:00
catalinaperalta 2b6016b907
Setup repo to support client generation with tsp-client (#1845)
* add emitter configs

* ignore TempTypeSpecFiles dir

* update gitattributes

* update emitter-package.json to use specific versions

---------

Co-authored-by: Catalina Peralta <caperal@microsoft.com>
2024-10-29 11:48:38 -07:00
Ashley Stanton-Nurse 6a7faef6a4
[Cosmos] Refactoring how the resource type and link are passed down to the auth policy (#1861) 2024-10-25 10:16:18 -07:00
Azure SDK Bot 3fa79e34fd
Allow default matrix selection override (#1872)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-24 16:05:13 -07:00
James Suplizio 374aacd96f
Update Rust's CODEOWNERS baseline files to remove a couple of invalid path entries (#1873) 2024-10-24 14:15:22 -07:00
Azure SDK Bot ecdff6d164
Sync eng/common directory with azure-sdk-tools repository (#1867) 2024-10-24 12:05:17 -07:00
Patrick Hallisey fd62ba898d
Add oidc as a word to cspell.json (#1871) 2024-10-24 11:55:56 -07:00
Patrick Hallisey 90888a131c
Add event-processor.config (#1870) 2024-10-24 11:40:41 -07:00
Ashley Stanton-Nurse 097b4340f9
[Cosmos] remove Methods traits (#1863) 2024-10-23 15:00:02 -07:00
Heath Stewart 1038a6fe99
Remove duplicate re-export of Model macro (#1864)
Also re-exports `Model` from `azure_core` along with some other types that were exported from the crate root in track 1.
2024-10-22 16:50:52 -07:00
Heath Stewart 8a12d75d81
Add example of a streaming response (#1862)
* Add example of a streaming response

* Add model example

* Resolve build / lint issues
2024-10-22 16:50:25 -07:00
Larry Osterman d688a1acb7
Updated AMQP builders to match Rust SDK guidelines (#1857)
* Updated AMQP builders to match Rust SDK guidelines

* PR feedback
2024-10-21 18:56:56 +00:00
Ashley Stanton-Nurse e6b21a0b00
[Cosmos] Control-Plane Over Data-Plane APIs (Database/Container CRUD) (#1853) 2024-10-21 10:31:57 -07:00
Heath Stewart 1899267335
Merge branch 'feature/track2'
Active development on crates will continue in the main branch.
2024-10-18 16:39:29 -07:00
Heath Stewart f065bdabfc
Fix code fence in AMQP README (#1859) 2024-10-17 17:04:33 -07:00
Larry Osterman 798f9776a5
Implement rust management APIs (#1854)
* Implement rust management APIs
2024-10-15 14:58:26 -07:00
Heath Stewart e96116be1e
Update enum macros according to guidelines (#1855) 2024-10-15 14:32:33 -07:00
Heath Stewart 64a1b195a7
Add create_extensible_enum macro (#1852) 2024-10-14 15:52:27 -07:00
Ashley Stanton-Nurse 002dbb399b
[Cosmos] Query Databases, Query Containers, and expand ContainerProperties to include all relevant properties (#1843) 2024-10-14 13:50:20 -07:00
Joel Hendrix 2c06035d2a
Add support for docs to create_enum (#1851)
* Add support for docs to create_enum

Enables specifying docs for each enum value.

* cargo fmt
2024-10-14 11:15:14 -07:00
Ronnie Geraghty d60b96c1e4
Track 2 markdown files updates (#1840)
* Updates for main README

* Updating mark down files for launch of the official sdk betas

* fixed formatting issue

* Added basic prerequisites and build instructions.

* Adding file extension to LICENSE file

* Fixing spelling issues and adding words to cspell dictionary

* fixing formatting issues

* Update CONTRIBUTING.md

Co-authored-by: Heath Stewart <heaths@microsoft.com>

* Update CONTRIBUTING.md

Co-authored-by: Heath Stewart <heaths@microsoft.com>

* Update README.md

Co-authored-by: Heath Stewart <heaths@microsoft.com>

* Reverting MIT License text change

* changed text on how to identify generated code

* Don't use root slash in subdirectories

Feels misleading.

---------

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2024-10-14 18:12:09 +00:00
Rick Winter d27d24cb5b
Update CODEOWNERS (#1849)
Cleanup codeowners. Add Larry as an owner
2024-10-11 16:06:06 -07:00
Rick Winter 1258c61862
Update NOTICE.txt (#1848) 2024-10-11 21:49:22 +00:00
Rick Winter fa9067a63a
Update FAQ.md (#1847) 2024-10-11 21:46:56 +00:00
Ashley Stanton-Nurse 3f9148dcd6
Pager rename and refactor (#1836) 2024-10-10 09:36:18 -07:00
Larry Osterman cf8e183344
Rust AMQP modifications for C++ message sender; also added a bunch of terminal state functions. (#1839)
* Rust message sender updates for C++
* Added terminal states for claims based security and message sender.
2024-10-09 16:08:07 -07:00
Heath Stewart 25ebe5a599
Update track 1 READMEs with notice (#1841)
* Update track 1 READMEs with notice

* Regenerate mgmt, svc crates

Also fixes a couple azure_svc_storage examples that somehow didn't cause errors previously.

* Import READMEs and remove cargo-readme

Fixes style check by removing use of `cargo-readme`. Instead, we'll just import the READMEs as we recommend in our modern guidelines.
2024-10-09 15:47:54 -07:00
Heath Stewart faa662ce5a
Regenerate track 1 crates (#1835)
* Update codegen branch URL, versions

* Update authored branch URLs, versions

* Bump crate versions and ignore problematic api-version

* Regenerate mgmt, svc crates

* Fix azure_core crate ref in storage

* Fix more clippy lints

* More codegen and clippy fixes

* Run generator with previous fixes
2024-10-08 16:32:12 -07:00
Ashley Stanton-Nurse 42c5ce8ecc
[Cosmos] Item Create/Read/Replace/Upsert/Delete (#1830) 2024-10-04 10:42:37 -07:00
Larry Osterman c7b6c1461b
AMQP changes for C++ Claim Based Security - also fixed session close issue that affected reliability (#1833)
* AMQP changes for C++ Claim Based Security - also fixed session close issue that affected reliability

* Use phantom data for noop implementation
2024-10-03 12:54:33 -07:00
Ashley Stanton-Nurse 048717f4f5
Improve support for typed HTTP headers (#1829)
Co-authored-by: Kevin Pilch <kevinpi@microsoft.com>
2024-10-02 13:35:06 -07:00
Heath Stewart c877711d82
Always return `Result<Arc<Self>>` from `new` credential constructors (#1828)
* Always return `Result<Arc<Self>>` from `new` credential constructors

Resolves #1825. Also cleans up a few clippy warnings since I was running running clippy over the entire workspace.

* Fix Cosmos test

* Update README with reasoning for `Result<Arc<Self>>`
2024-09-27 16:35:33 -07:00
Larry Osterman 7d1b96c129
complete session implementation; C++ related changes (#1822)
* complete session implemetnation; C++ related changes

* Removed lots of .unwraps

* auth->credentials

* Removed most instances of .unwrap from eventhubs and amqp
2024-09-27 21:18:45 +00:00
vincenttran-msft f1dedb4e73
Cache `BearerToken`s on `BearerTokenCredentialPolicy` (#1759)
* POC 1

* Slightly closer, would like to move out of Arc and towards RwLock

* Refactor

* Nits

* Move to RwLock since this scenario doesn't need mutex

* Unused import Cargo.toml

* No unwrap, return azure_core::Result, async RwLock, tested in playground

* Remove unnecessary as_ref

* PR feedback

* Refactor access_token() to return Option, final nit how to handle option on send()

* Nit

* Remove unwrap(), add back in explicit drop() since async_lock::RwLock seems to hang on read lock when trying to acquire writer lock
2024-09-26 15:26:06 -07:00
Kevin Pilch 9773819152
Add more codeowners for Azure Cosmos DB (#1817) 2024-09-26 13:30:23 -07:00
Ashley Stanton-Nurse d97b0d1800
[Cosmos] Add APIs to perform single-partition queries against a container (#1814)
* add container_client and ContainerClient::read

* rudimentary initial query API

* re-do partition keys to hide serde_json

* switch to a `NullValue` marker shared by query and partition key, and update docs

* add tracing_subscriber with env filter to all cosmos examples

* fix doctests

* remove Send bound from WASM

* Add 'Sync' bound to from_response_body, but exclude bounds from wasm32

* copyright headers, copyright headers everywhere

* change Pageable back to an owning type

* pr feedback

* refactor partition_key parameter to partition_key_strategy

* refmt and move helper back to azure_data_cosmos

* fix docs

* remove unnecessary doctest from internal utility

* fix cosmos_query sample

* simplify doctests that don't run using panic!()
2024-09-26 10:43:41 -07:00