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

9612 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Meng ddf6e766b9
[ContainerRegistry] doc improvements (#16021)
* Add example code snippets to update*Properties() ref doc

* Add comments about `orderBy` options in README

* Fix tags

* Correct deleteImages sample code to keep three images instead of four

* Address CR feedback

* Update CHANGELOG for beta.4 release
2021-08-16 10:03:53 -10:00
Will Temple 5ce8704e27
Add C++ toolchain requirement to CONTRIBUTING.md (#16889)
Adds this requirement to our CONTRIBUTING guide per discussions in #15940.
2021-08-16 11:12:32 -07:00
Ben Broderick Phillips ddf47d5602
[stress testing] Update stress-test-addons chart version (#16934) 2021-08-16 14:06:33 -04:00
Daniel Jurek 73d2032a95
Pin @azure/arm-appservice (#16933) 2021-08-16 10:45:17 -07:00
Azure SDK Bot 589ce99c13
Prevent wildcard expansion in git sparse checkout add (#16911)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-08-16 10:00:59 -07:00
Ziheng Zhou(MSFT) 569b898dce
Fix Azure Core LRO Sample Issues (#16904)
* update core lro sample

* update core lro sample
2021-08-16 12:29:47 -04:00
Azure SDK Bot 47eb212ccd
Add support for 'files' configuration (#16918)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-08-16 08:43:09 -07:00
praveenkuttappan e96ce090c5
Update version dependency for dev (#16084)
* Update version dependency for dev
2021-08-16 09:57:16 -04:00
praveenkuttappan f0c2e8ec42
Update samples after a package release (#16621) 2021-08-16 09:56:15 -04:00
Harsha Nalluru 3483187063
[Perf Tests] Update perf test projects to use the perf-test sdk-type (#16927)
* Update sdk-type

* update Getting Started

* rushx format

* rush format

* update commands

* Update sdk/storage/perf-tests/storage-blob-track-1/package.json

* Update sdk/storage/perf-tests/storage-blob-track-1/package.json

* Update sdk/storage/perf-tests/storage-file-share-track-1/package.json

* Update sdk/storage/perf-tests/storage-file-share-track-1/package.json
2021-08-14 01:49:53 +00:00
Deyaaeldeen Almahallawi ca94e95c67
[@azure-rest/core-paging] Use @azure/core-paging's getPagedAsyncIterator (#16891)
* [core-paging-rest] Use the core-paging helper in paginateResponse

* format

* lint

* update core-paging dep ver

* rerun extract api

* address feedback
2021-08-14 00:47:08 +00:00
Harsha Nalluru d3a52ccec4
[Cred Scan] Add more suppressions (#16703)
* Supress azure_client_secret

* add more suppressions

* move to file section

* Wes's feedback

* update file name

* reuse azure_client_secret

* convert to same format
2021-08-13 16:40:38 -07:00
Deyaaeldeen Almahallawi 5c7d7843c9
[core-paging] make the page link type generic (#16917)
* [core-paging] make the page link type generic

* update tests

* address feedback
2021-08-13 22:57:18 +00:00
Azure SDK Bot 628bcc6c62
Fix resource clean-up script (#16920)
- Fix rg.Name to rg.ResourceGroupName
- Add more verbose logging for better debugging
- Handle deleted resource groups when gathering puragable resource
- Remove coerce now that we are collecting in functions

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-08-13 15:33:05 -07:00
Maor Leger 12d685047c
[KeyVault] - Deploy attestation service as a test resource (#16848)
## What

- When deploying a Managed HSM, deploy a mock attestation service from the EngSys managed Docker container
- Update our Secure Key Release to work with a dynamically deployed attestation service

## Why

For Secure Key Release we require an additional live resource - a service that can generate and sign tokens as well as provide the OIDC Configuration to discover the jwks URI. We currently use a static test fixture that I have spun up and 
deployed to Azure App Service; however, that is not sustainable and really not in line with our 
[guidelines on test assets](https://azure.github.io/azure-sdk/general_implementation.html#general-testing-5)

This allows us to maintain an image and keep the code centralized and in a repository owned by EngSys.

See https://github.com/Azure/azure-sdk-tools/tree/main/tools/keyvault-mock-attestation for the source code for the container.
2021-08-13 15:26:06 -07:00
Azure SDK Bot 9c2a36ca93
Add Rest Method checks to Prepare-Release (#16921)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-08-13 15:22:43 -07:00
Mike Harder b79e71d94c
Add core-paging@^1.2.0-alpha to common-versions (#16915)
- Workaround for #16923
2021-08-13 15:03:11 -07:00
Azure SDK Bot 9db014e9ce
Increment version for cosmosdb releases (#16914)
Increment package version after release of azure-cosmos
2021-08-13 21:04:58 +00:00
Maor Leger a8478b9871
[core] - Add information about Application Insights (#16892)
This documentation PR adds information to core readme about Application Insights for JS and links to getting started with Application Insights

Resolves #15420

Related: https://github.com/Azure/azure-sdk-for-net/pull/22542
2021-08-13 13:18:20 -07:00
Harsha Nalluru 52bde468aa
rush update --full 🐱👤 (#16895)
* lock file

* lock file
2021-08-13 19:13:49 +00:00
Azure SDK Bot 38b7f4ebfd
Increment version for sql releases (#16903)
Increment package version after release of azure-arm-sql
2021-08-13 18:21:07 +00:00
Azure SDK Bot 58f17575de
Sync eng/common directory with azure-sdk-tools for PR 1876 (#16893)
* rebase

* Resolve conflict

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2021-08-13 11:08:36 -07:00
Ben Broderick Phillips 5d3b6fcb38
[stress testing] Improve dockerfile and ARM template for service bus (#16910)
* [stress testing] Fix service bus dockerfile directory add

* Build service bus stress test arm template with bicep
2021-08-13 13:35:28 -04:00
Zachary Foster dcc43d8d90
Adds changelog entry (#16909) 2021-08-13 13:23:21 -04:00
Zachary Foster 3cfbb8b08c
[Cosmos] Adds transactional batch (#16838)
* Adds transactional batch

* changelog
2021-08-13 12:46:10 -04:00
Ben Broderick Phillips fef5493b6e
Refactor service bus stress tests to use stress test package format (#16689)
* Re-organize eh stress files for stress test layout

* Add service bus stress test helm chart

* First pass generating stress job for each scenario

* Deep copy global template scope in stress test range loop

* Updates and deployment files for service bus stress

* Use base arm template

* fix helm template and docker build

* Final fixes to get service bus stress tests working

* [stress test] Update to use built-in scenario range addon

* [stress test] Minor fixes

* Update stress test program locations

* Run prettier over service bus stress test files
2021-08-13 12:30:28 -04:00
Zachary Foster 27ca49b1c6
[Cosmos] Migrate to samples v2 (#16486)
* samples v2 wip

* Fix more types

* Samples v2 migration

* sample CI readme

* more samples fixes

* fix link

* Fix broken links in sample output

* Fix lint, tsdoc ignored

* undo lint fix changes

* remove from lint

* Redo directories

* key

* skipFolder true

* Skip

* move skip to top

* Finish samples renames and locatings

* Try filename

* Fix path
2021-08-13 11:22:04 -04:00
Zachary Foster c6a5509260
Adds reporter to cosmos tests (#16866) 2021-08-13 10:23:29 -04:00
colawwj 49ec3a1b7c
appservice-track2 (#16897)
* appservice-track2

* appservice-track2
2021-08-13 13:29:44 +08:00
colawwj 50a1e75c73
update (#16900) 2021-08-13 13:26:38 +08:00
Azure SDK Bot 73c0421d4a
Automatic rush update recheck (#16899) 2021-08-13 00:26:11 -04:00
Azure SDK Bot 7db38f1f2d
Sync eng/common directory with azure-sdk-tools for PR 1894 (#16896)
* Purge Key Vaults after deleting resource group

* Resolve PR feedback

* Purge Key Vaults and Managed HSMs

* Clean up all purgeable KVs and MHSMs

* Ignore null/empty purgeable resources

* Resolve PR feedback

* Resolve PR feedback

* Fix logging, process each item when collection piped

* Remove repo-specific KV purge

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2021-08-12 19:50:59 -07:00
colawwj 4960638dce
sql-track2 (#16778)
* sql-track2

* update

* update readme file

* update

* update
2021-08-13 10:26:36 +08:00
Jose Manuel Heredia Hidalgo 82a1e5bb45
Update synapse versions (#16888)
* Increment package version after release of azure-synapse-managed-private-endpoints

* Increment package version after release of azure-synapse-access-control

* Increment package version after release of azure-synapse-artifacts

* Increment package version after release of azure-synapse-spark

* Fix package metadata and add missing version updates

Co-authored-by: azure-sdk <azuresdk@microsoft.com>
2021-08-12 16:22:35 -07:00
Daniel Rodríguez b8f21fc9ca
[Identity] cert.pem to fake-cert.pem (#16844)
Renaming the cert to make it easier to see it’s fake. Does this help?
2021-08-12 21:28:04 +00:00
Ramya Rao 18db8dcbef
Clarify support policy in Identity readme (#16886)
Some of the clarity around support policy did not get added to the Identity readme like they were added in other packages. This PR fixes that problem
2021-08-12 18:55:32 +00:00
Deyaaeldeen Almahallawi 44eb526c45
[Batch] Rollback the support for TokenCredential (#16870)
* [Batch] Rollback the support for TokenCredential

* address feedback

* edit docstring

* Update sdk/batch/batch/src/batchServiceClientContext.ts

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
2021-08-12 14:37:50 -04:00
Deyaaeldeen Almahallawi 2f5be4d422
[Batch] Include types in shipped package (#16874) 2021-08-12 13:49:24 -04:00
Azure SDK Bot 8da961d0df
Increment package version after release of azure-data-tables (#16854) 2021-08-12 10:31:42 -07:00
colawwj 95eb829f3c
keyvault-track2 (#16855)
* keyvault-track2

* update readme file

* update

* update

* update
2021-08-12 16:54:52 +08:00
Azure SDK Bot 58ae71752e
Increment version for search releases (#16865)
* Increment package version after release of azure-search-documents

* Update dependency in perf test package

Co-authored-by: Sarangan Rajamanickam <sarajama@microsoft.com>
2021-08-11 23:07:35 -07:00
Harsha Nalluru f931704f53
[Perf framework] Use Proxy tool to mock/replay the requests (#16518)
* test-proxy in options

* recordingClient from recorder-new

* getRecordingClient public method

* blobServiceClient uses getRecordingClient

* not browser

* checkpoint

* add login steps in getting started

* checkpoint

* NaN bug fix

* remove temp-location note

* logs and minor tweaks - some bug at playback

* remove logs

* update options

* rushx format

* fix sendRequest

* removing unneeded details

* getting started and removing console.log

* improve type readability

* do not redeclare static PerfStressTest.recorder

* rushx format

* simplified tsconfig

* create project

* create project

* simple and batch tests

* core-v2 prototype with addPolicy

* readem disclaimer

* Address Mike's feedback

* rename recorder to testProxyHttpClient

* rename

* fix build failures

* rushx format

* fix test

* readme and getting started

* pnpm-lock file

* rename policy

* swap v1 and v2

* bug fix

* update getting started

* update getting started

* rushx format

* changelog

* Scott says no need to login anymore

* Add workflow in comments

* description

* pnpm-lock file

* RecordingStateManager

* URLBuilder -> URL

* rushx format

* readme

* lock file

* Update sdk/test-utils/perfstress/src/options.ts

Co-authored-by: Mike Harder <mharder@microsoft.com>

* configureClientOptionsCoreV1 & configureClient

* update types

* comments

* getting started

* testProxyClient is not set, please make sure the client/options are configured properly.

* if (!request.headers.get("x-recording-upstream-base-uri"))  set upstream uri

* Add undici

* Investigate hanging docker or image (#33)

* getting started

* testProxyClient is not set, please make sure the client/options are configured properly.

* if (!request.headers.get("x-recording-upstream-base-uri"))  set upstream uri

* Add undici

* checkpoint

* make core-v2 client identical to core-v1 except for sendReq

* update error message

* formatting

* TestProxyHttpClientV1 depends on V2

* rushx format

* Mike's final minor feedback

* For corev1, extend TestProxyHttpClient instead of DefaultHttpClient

* update tests file

* no instaceof checks

* move to http.request

* Jeff's feedback

* CachedProxyClients

* keep clients on the test class

* bad merge conflict resolution

* Update sdk/test-utils/perfstress/GettingStarted.md

* final minor feedback

* remove CachedProxyClients wrapper

Co-authored-by: Jose Manuel Heredia Hidalgo <joheredi@microsoft.com>
Co-authored-by: Mike Harder <mharder@microsoft.com>
2021-08-12 02:21:51 +00:00
Deyaaeldeen Almahallawi a78a4c8b8f
Upgrade puppeteer dep to ^10.2.0 (#16864) 2021-08-12 01:13:46 +00:00
Deyaaeldeen Almahallawi 4a01d12790
Fix component governance warnings (#16852)
* Fix component governance warnings

* remove nodeauth dep in container registry

* run rush update --full to remove nodeauth from our pnpm-lock
2021-08-11 18:47:18 -04:00
Will Temple 18613d00fa
[formrecognizer] Fix CHANGELOG (#16868)
This blocked our release after approving it.
2021-08-11 14:57:01 -07:00
Deyaaeldeen Almahallawi fc418f7cd6
[Text Analytics] bump core-paging dep version (#16867) 2021-08-11 17:10:50 -04:00
praveenkuttappan d218d4d64d
Include perf tests in rush jobs like lint and foramt (#16705)
* Include perf tests in rush jobs like lint and format
2021-08-11 17:09:42 -04:00
Azure SDK Bot 2f0fffdbbf
Sync eng/common directory with azure-sdk-tools for PR 1866 (#16847)
* Deploy for stress tests at resource group scope

* Automatically compile bicep files in stress test deploy script

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-08-11 16:37:07 -04:00
Deyaaeldeen Almahallawi 8803a0d521
[Batch] Fix build (#16845) 2021-08-11 15:58:03 -04:00
baffyntiamoah e22c8993b5
Implementation and tests for TableCheckpointStore (#16685)
* implementation of tablecheckpointsore

* renamed file to .spec.ts

* updated tablecheckpointstore implementation

* updated tests for listownerships

* changed return to print in listOwnerships

* removed unnecessary comments

* formatted files

* updated tests

* updated claim ownership

* updated tablecheckpointstore

* updated 'updateCheckpoints'

* updated updatecheckpoints

* updated updatecheckpointstore

* wrote tests for updatecheckpoint

* update tablechcekpointstore

* updated tablecheckpointstore

* implemented claimowenership

* added nyc to testnode

* replaced export

* deleted temp folder from common

* run rush update

* updated tableCheckpointstore

* fixed testUtils

* changed let to const

* run npm format

* renamed customCheckpoint

* implemented updateCheckpoint

* changed format for partitionKey

* updated claimownership

* changed checkpoint entity format

* updated claimownership

* implemented tests for claimOwnership

* wrote tests for claimOwnership

* implemented claimownership

* removed space

* updated table version

* added more tests for claimOwnership

* added tests to claimownership

* run rushx format

* changed date to timetsamp

* foramtted files

* Update sdk/eventhub/eventhubs-checkpointstore-table/src/tableCheckpointStore.ts

Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>

* updated implementation

* corrected files

* updated tests

* updated test

* added tests

* updated tests

* formatted files

* mutated ownership list

* updated tests

* Update sdk/eventhub/eventhubs-checkpointstore-table/src/tableCheckpointStore.ts

Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>

* Update sdk/eventhub/eventhubs-checkpointstore-table/src/tableCheckpointStore.ts

Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>

* removed extra space

* formatted files

* [eventhubs-checkpointstore-table] add STORAGE_ACCOUNT_NAME and STORAGE_ACCOUNT_KEY outputs to test-resources for running live tests

* updated tests

* format

* added sample.env file

* updated tests

* updated tests

* reverted changes

Co-authored-by: t-bntiamoah@microsoft.com <t-bntiamoah@microsoft.com>
Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>
Co-authored-by: Christopher Radek <chradek@microsoft.com>
2021-08-11 09:23:11 -07:00