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

1906 Коммитов

Автор SHA1 Сообщение Дата
microsoft-github-policy-service[bot] 0a48f5d3b0
Updated for https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build?definitionId=7126 by using baselines generated in https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build/results?buildId=4248147 2024-10-19 00:01:47 +00: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
Heath Stewart 9d5c324abe
Remove ClientSecretCredential, EnvironmentCredential (#1821)
* Remove ClientSecretCredential, EnvironmentCredential

Also moves SpecificAzureCredential to a sample. Fixes #1812.

* Use DAC constructor instead of factory function

Also fixes a few lints

* Fix doc tests
2024-09-25 16:02:44 -07:00
James Suplizio 9dd612c4af
Give CODEOWNERS owners (#1819) 2024-09-24 21:23:43 +00:00
Ashley Stanton-Nurse b4ecd85e99
Add pre-reqs and tasks for launching a live version of the docs site (#1808)
* Add pre-reqs and tasks for launching a live version of the docs site

* disable spell-check on some files

* Build all features and set 'docsrs' flag to enable docs related features in crates
2024-09-23 09:22:09 -07:00
Heath Stewart 2d5e159e30
Removed unsupported or undesirable credentials (#1807)
* Removed unsupported or undesirable credentials

Fixes #1805 by removing unused flows (we'll use the remaining flows internally) and fixes #1806 by removing support for `azureauth`.

* Fix lint issues

* Fix lint issues against +stable

* Fix docs

* Resolve merge conflict in cosmos

* Rename azure_core::auth to azure_core::credentials

* Fix fmt issue

* Fix doc reference

* Fix wasm32 build
2024-09-19 21:44:54 +00:00
Patrick Hallisey 43bdca3e81
Use standard options with calling cargo (#1804) 2024-09-18 09:42:59 -07:00
Larry Osterman 29a36f6583
AMQP changes for C++ Connection support (#1801)
* AMQP changes for C++ Connection support

* Export uuid directly from AMQP

* cleaned up export of Uuid

* wasm fix
2024-09-17 14:11:37 -07:00
Ashley Stanton-Nurse 8d15041928
fix azure_data_cosmos build with key_auth feature (#1802) 2024-09-16 11:05:11 -07:00
Ashley Stanton-Nurse 09c749a250
Add codespaces/devcontainer config files (#1800)
* Add devcontainer config files for codespaces and vscode

* add cspell extension to vscode

* pr feedback and exclude oncreate from cspell

* yet more cspell exclusions
2024-09-12 16:37:46 -07:00
Ashley Stanton-Nurse 1fbc5dd9fc
Initial CosmosDB crate (#1773)
* implement initial CosmosClient, DatabaseClient and "read database" API

* updates after rebase

* fix some warnings and test issues

* rename "adhoc" sample to "connect"

* add CODEOWNERS for CosmosDB

* use 'cosmosdb' as example prefix

* fix spacing

* a few more tidy-ups

* switch to a team in the cosmos CODEOWNERS

* clippy and lint fixes

* spelling updates

* auth policy test updates

* doc comment updates

* switch to using Model derive macro

* a couple build fixes

* ok that one was my bad

* fix conditional imports

* omit CODEOWNERS from cspell check

* use direct mentions in CODEOWNERS for now

* pr feedback

* fix derive macro broken during refactoring

* use dictionary file and update Cosmos to "Cosmos DB"
2024-09-12 13:53:57 -07:00
Cameron Taggart dfb354dbb0
support user-assigned identities in VirtualMachineManagedIdentityCredential (#1799) 2024-09-12 17:18:27 +00:00
Heath Stewart 78ac814e0f
Better centralize and remove unused dependencies (#1798)
* Better centralize and remove unused dependencies

* Fix clippy errors

* Fix wasm32 build
2024-09-12 09:19:02 -07:00
Heath Stewart 943da4e10f
Refactor request options and some related types (#1794)
Moves common request options e.g., `ContentLength` into `typespec_client_core` while reducing the number of seldom-used (specified directly) types exported from `typespec_client_core::http`.
2024-09-10 10:51:59 -07:00
Heath Stewart 6aedb1017f
General client core refactoring (#1793) 2024-09-09 13:35:29 -07:00
Ashley Stanton-Nurse e6cc2951f1
Derive Macro for `typespec_client_core::http::Model` (#1772) 2024-09-09 12:32:11 -07:00
Heath Stewart 851994b4d6
Refactor some models into typespec_client_core (#1791)
* Refactor some models into typespec_client_core

* Fix build issues
2024-09-09 10:48:04 -07:00
Larry Osterman f54f0534ba
Created cplusplus feature to isolate C++ only elements (#1786)
* Created cplusplus feature to isolate C++ only elements

* cplusplus options

* PR feedback

* Deserializable and errorkind are used for CPP

* EH changes to reflect AMQP changes

* serialization and deserialization are cplusplus features
2024-09-04 14:12:46 -07:00
Heath Stewart 759a012e79
Add copyright headers to all .rs source files (#1788)
* Add copyright headers to all .rs source files

* Add datetime to dictionary
2024-09-03 23:55:38 +00:00
Patrick Hallisey 15de102305
Sync eng/common from azure-sdk-tools (#1789)
In sync as of 58a0759796
2024-09-03 16:18:13 -07:00
Patrick Hallisey d04861b15e
Use inline variable content check for SkipPackageAnalysis switch (#1787) 2024-09-03 13:10:33 -07:00
Patrick Hallisey c39c2e42f1
Move verify-dependencies to analyze job (#1781) 2024-08-30 23:23:50 +00:00
Larry Osterman b056dd360b
AMQP changes to support message headers and properties (#1767)
* AMQP changes to support message headers and properties; AMQP changes to support type serialization; Integrated a coupleof fe2o3 bug fixes

* Pull request feedback
2024-08-30 14:02:44 -07:00
Heath Stewart cf83e3a2b1
Rename private Context to ErrorContext (#1780)
To avoid confusion with our HTTP client `Context`, even if private so it
doesn't show up in symbol searches. Resolves #1778
2024-08-29 16:36:55 -07:00
Heath Stewart 2b1c1f113b
Centralize Event Hubs dependencies (#1784)
* Centralize Event Hubs dependencies

Also fixes a few spelling issues while testing.

* Always ignore cspell.json
2024-08-29 15:36:25 -07:00
Patrick Hallisey 2fba9d599f
Sync eng/common from azure-sdk-tools (#1783)
* In sync as of da75627391
* Adjust for changes in eng/common
2024-08-29 15:36:09 -07:00
Heath Stewart 2593adb170
Fix some all-features build issues (#1782) 2024-08-29 20:48:19 +00:00
Patrick Hallisey 3c2055050e
Fix breaks in build (#1776) 2024-08-28 16:41:07 -07:00