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

1959 Коммитов

Автор SHA1 Сообщение Дата
Azure SDK Bot 67ae10711f
Hide output from register/unregister ps module repository (#1938)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-12-02 15:23:45 -08:00
Larry Osterman 4a48b56565
Implement Detach for AMQP message receiver; Remove MessageReceiver from an Arc because it doesn't need to be in one. (#1927)
* Fixes to AMQP messenger for C++ code

* Fixed wasm build
2024-12-02 19:00:56 +00:00
Azure SDK Bot e1dd785d3c
remove previous cadl scripts (#1935)
Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
2024-11-26 15:47:14 -08:00
Heath Stewart 8518ea77f1
Implement `recorded::test` macro for recorded tests (#1926)
* Rename typespec_derive to typespec_macros

Will be more consistent with upcoming azure_core_macros, and may not contain *just* derive macros anyway. Will keep feature as "derive", though, for derive macros.

* Remove 128-bit number functions for Cosmos

* Implement `#[recorded]` attribute macro

* Allow live-only tests with no parameters

* Replace test_e2e feature with `recorded` attribute macro

* Refactor so that tests need only import azure_core_tests

Also makes the attribute `#[recorded::test]` which, IMO, looks a bit better.

* Fix build breaks

We may need to set env vars for our Windows agents to find OpenSSL, which does appear to be installed. See Azure/azure-sdk-for-rust#1746. For now, I'm removing `--all-features` from this PR since that issue is already tracking adding them separately.
2024-11-25 14:08:59 -08:00
Azure SDK Bot 341a094134
Sync eng/common directory with azure-sdk-tools for PR 9392 (#1924)
* Support override of powershell module feeds

* snap

* Add fallback repository support

* Unregister repository after module install

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-21 13:48:54 -08:00
Azure SDK Bot e3cb0c1aa1
add rerun pipeline (#1922)
Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
2024-11-20 13:36:43 -08:00
Azure SDK Bot 5a5b614fc4
Bump powershell yaml versions to 0.4.7 (#1916)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-20 12:30:12 -08:00
Heath Stewart 1ebb2ce736
Add SafeDebug trait derive macro (#1923)
* Add SafeDebug trait derive macro

SafeDebug is really just a marker trait. The associated derive macro implements `Debug` in a way to reduce potentially leaking PII. Currently it just outputs the struct or enum name with the non-exhaustive finish e.g., `MyModel { .. }` but we will expand that later.

Relates to #1707

* Resolve build breaks, impl SafeDebug marker trait

* Use gender-neutral name in example
2024-11-19 21:13:09 -08:00
Joel Hendrix ad2d779c40
Add serde helpers for base64 encoding/decoding (#1921)
* Add serde helpers for base64 encoding/decoding

To be used in serde "with" derive macros for struct fields that contain
base64 data.

* remove unnecessary closures

* simplify

* add doc comments

* fix doc comments

* cargo fmt

* fix doc examples

* fix doc examples

* use AsRef
2024-11-19 17:02:11 -08:00
Ashley Stanton-Nurse 53083ea842
[Cosmos] Throughput APIs (#1912) 2024-11-19 14:45:59 -08:00
Azure SDK Bot 5669d9b1a5
Sync eng/common directory with azure-sdk-tools for PR 9381 (#1920)
* change our verifyChangelogs over to utilizing the artifact details. if we don't have an artifact details at all, don't verify changelog. if we do, but skipverifychangelog is present, don't verify changelog. if we have artifact details, but no disable, verify the changelog

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-18 15:12:45 -08:00
Azure SDK Bot e130b82cdf
batching adjustments for create-prjobmatrix (#1919)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-18 12:57:07 -08:00
Ashley Stanton-Nurse 280eeb7323
[Cosmos] Patch item APIs (#1914) 2024-11-18 12:24:55 -08:00
Azure SDK Bot 5dcdf4d2d9
Add helpers to log a GitHub "notice" (#1918)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2024-11-15 17:11:09 -08:00
Azure SDK Bot 47b592f3cb
Fix missing stress matrix display name filter (#1910)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-13 12:04:41 -08:00
Azure SDK Bot 6ccd715be9
Add SparseCheckoutPaths to archetype-typespec-emitter.yml (#1913)
Co-authored-by: Wei Hu <huwe@microsoft.com>
2024-11-13 10:56:48 -08:00
Azure SDK Bot 55cb81791c
Sync eng/common directory with azure-sdk-tools for PR 9328 (#1898)
* ensure that ChangedServices value within the generated pr diff is always properly an array of strings
* upload the changed services as an attachment named AdditionalTags in save-package-properties.yml, to allow PipelineWitness to tag public builds during log processing

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Patrick Hallisey <hallipr@gmail.com>
2024-11-12 14:55:30 -08:00
Azure SDK Bot c66beb2b74
Update docindex.yml to use Python 3.11 (#1908)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-11-11 14:02:16 -08:00
Ashley Stanton-Nurse 7d2e4444ba
Fix typespec_derive compilation tests (#1899)
* ensure compilation tests check that expected files actually had errors

* fix incorrect path reference in compilation tests

* fix lints
2024-11-11 10:53:43 -08:00
Heath Stewart d7137b088f
Test wasm32-unknown-unknown in Azure Pipelines (#1903)
* Test wasm32-unknown-unknown in Azure Pipelines

Also gets rid of most of GitHub Actions with only E2E tests remaining.

* Remove GitHub Actions and disable non-functioning e2e testing

* Do not check all features, targets for wasm32

* Resolve PR feedback
2024-11-08 14:41:21 -08:00
Larry Osterman 54db2ca594
Removed builders from AMQP (#1906)
* Removed builders from AMQP

* Removed dead code

* Removed buiolder from MessageHeader and MessageProperties
2024-11-08 14:03:55 -08:00
Larry Osterman 9908ea7ddc
Removed builders from eventhubs; removed impl Into<String> from eventhubs and AMQP; Fixed time conversion issue with 1-1-0001 (#1892)
* Removed builders from eventhubs; removed impl Into<String> from eventhubs and AMQP; Fixed time conversion issue with 1-1-0001

* Get, remove, contains_key don't require symmetrical eq
2024-11-08 10:06:26 -08:00
Azure SDK Bot 817434dbf4
Sync eng/common directory with azure-sdk-tools for PR 9354 (#1905)
* Add step for emitting rate limits for a token

* add step to eng/common sync template

* Fix resource label output

* Use propery name instead of nested 'resource' property

* Add percent metric too

* Add divide by zero safety

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-11-07 16:31:16 -08:00
Azure SDK Bot 8accf952d1
Sync eng/common directory with azure-sdk-tools for PR 9331 (#1904)
* Common cleanup with the docs docker images no longer being used

* Remove docker-pull-image.yml

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-11-07 14:25:43 -08:00
Azure SDK Bot fbbd758c38
Sync eng/common directory with azure-sdk-tools for PR 9333 (#1902)
* Retry container deletion

* Do not try to purge keyvaults with purge protection

* Delete all blobs when container has immutability

* Skip missing blob container properties

* Fix null container

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-07 11:54:10 -08:00
Heath Stewart 673d5c647c
Fixed a few more nightly lints (#1901)
Made sure we're actually checking everything as well.
2024-11-06 13:54:21 -08:00
Heath Stewart 0cede91bc7
Deny clippy::large_futures and fix +nightly lint (#1895)
* Deny clippy::large_futures and fix +nightly lint

* Fix test errors

* Add clippy to cspell dictionary
2024-11-05 15:39:31 -08:00
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