Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging main. #21768

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
479 commits
Select commit Hold shift + click to select a range
52679da
[Purview catalog] release for new api-version `2021-05-01-preview` (#…
msyyc Oct 15, 2021
748cc2e
update readme.me and setup.py (#21170)
msyyc Oct 15, 2021
b6dcefe
[Purview administration] first release (#20874)
msyyc Oct 15, 2021
9d2e341
[webpubsub] support AAD, Api management proxy (#21235)
msyyc Oct 15, 2021
72e90da
Update Cosmos CODEOWNERS (#20572)
southpolesteve Oct 15, 2021
3628751
Fix typo in doc/dev/README.md (#20411)
Codejune Oct 15, 2021
7f799c9
Use xxx_if_not_exists API to simplify code example and to avoid unces…
xingyu-long Oct 15, 2021
180dc3d
Replace deprecated unittest aliases (#20337)
hugovk Oct 15, 2021
1b5cd4e
fix function has duplicate type signatures mypy error (#19739)
graingert Oct 15, 2021
8af1100
fix for service principal environment vars (#21287)
xiafu-msft Oct 15, 2021
524fd74
[Storage]fix type annotation (#20096)
xiafu-msft Oct 15, 2021
fee8f87
[Storage][Logging]Let users opt in logging_request_body (#19710)
xiafu-msft Oct 15, 2021
14496e7
Feature/storage stg79 (#21286)
xiafu-msft Oct 16, 2021
b39af12
[AutoRelease] t2-containerservice-2021-10-18-97657 (#21294)
Oct 18, 2021
10be9c3
Increment package version after release of azure-messaging-webpubsubs…
azure-sdk Oct 18, 2021
e7995f9
Increment version for purview releases (#21279)
azure-sdk Oct 18, 2021
3ee208c
[WIP]Refactor AzureJSONEncoder (#21028)
Codejune Oct 18, 2021
1842c21
update changelog (#21308)
xiangyan99 Oct 18, 2021
078e520
adjust the docker-start-proxy to take advantage of the linux specific…
azure-sdk Oct 18, 2021
f4ea90a
Remove link to private repo (#21312)
mccoyp Oct 18, 2021
2597a6b
fix uri (#20632)
xiangyan99 Oct 18, 2021
5093472
[formrecognizer] Add proper defaults on DocumentTableCell (#21213)
catalinaperalta Oct 18, 2021
b18df5e
Sync eng/common directory with azure-sdk-tools for PR 2100 (#21311)
azure-sdk Oct 18, 2021
9f91027
Revert "Feature/storage stg79 (#21286)" (#21317)
tasherif-msft Oct 19, 2021
e461efc
Sync eng/common directory with azure-sdk-tools for PR 2085 (#21325)
azure-sdk Oct 19, 2021
f8bbfa9
[AutoRelease] t2-recoveryservicesbackup-2021-10-19-33781 (#21330)
Oct 19, 2021
375337f
update to latest test-proxy tag (#21334)
azure-sdk Oct 19, 2021
882ae75
[Perf] Support multiple test proxies (#21203)
mikeharder Oct 19, 2021
d24809b
[AutoRelease] t2-hybridkubernetes-2021-10-04-45305 (#21037)
Oct 20, 2021
e4c21c4
del useless version (#21345)
RAY-316 Oct 20, 2021
f4354a6
Updating CODEOWNERS for ACS Identity (#20881)
AikoBB Oct 20, 2021
e8b43ed
[core] fix isinstace str check in core rest (#21341)
iscai-msft Oct 20, 2021
0c43e94
Sync eng/common directory with azure-sdk-tools for PR 2093 (#21350)
azure-sdk Oct 20, 2021
81536f7
[Search] Update for missing properties (#21205)
tjprescott Oct 20, 2021
d3bda33
[ACR] React to stable/2021-07-01 swagger changes (#21110)
YalinLi0312 Oct 21, 2021
b708e17
Fix OrMetadata (#21316)
tasherif-msft Oct 21, 2021
50f4c44
[AutoRelease] t2-chaos-2021-10-21-14806 (#21354)
Oct 21, 2021
a5cdc52
[AutoRelease] t2-dataprotection-2021-10-19-69515 (#21333)
Oct 21, 2021
a98b5db
docs (#21360)
msyyc Oct 21, 2021
c8e7ce8
Fix Monitor Query async logs query sample (#21351)
scottaddie Oct 21, 2021
8eeff8e
Added support for Async Generators in TableClient.submit_transaction …
yashbhutoria Oct 21, 2021
669e03d
move async test to _async (#21363)
xiangyan99 Oct 21, 2021
3875e84
[SchemaRegistry] add async version of avro serializer (#21026)
swathipil Oct 21, 2021
80d73a6
Remove azure-mgmt-webpubsub (#21347)
danieljurek Oct 21, 2021
e85e46d
Update Language-Settings.ps1 (#21367)
danieljurek Oct 21, 2021
7ea56ae
patching last references to master in the repo! (#21339)
scbedd Oct 22, 2021
42042bb
[AutoRelease] t2-network-2021-10-21-48085 (#21357)
Oct 22, 2021
32d0f2b
Removed auto pagination (#21358)
tasherif-msft Oct 22, 2021
7c09594
[Cosmos] get_user_client() method documentation update (#21379)
simorenoh Oct 22, 2021
a2a8d47
Fully automate cluster buildout. Add azure file share mount to stress…
azure-sdk Oct 22, 2021
03186ba
update error code in tests (#21362)
kristapratico Oct 22, 2021
b5d4fea
[formrecognizer] Rename DocumentElement to DocumentContentElement (#2…
catalinaperalta Oct 22, 2021
cc6e413
[AutoRelease] t2-keyvault-2021-10-15-69767 (#21276)
Oct 25, 2021
edbbcf9
[AutoRelease] t2-chaos-2021-10-25-61789 (#21390)
Oct 25, 2021
a528c7c
[AVA] Updated sdk to 1.1 (#21326)
hivyas Oct 26, 2021
7814c4b
[AutoRelease] t2-azurearcdata-2021-10-14-24172 (#21251)
Oct 26, 2021
2e92f43
[AutoRelease] t2-containerregistry-2021-10-26-15283 (#21410)
Oct 26, 2021
84a9eb6
[AutoRelease] t2-cosmosdb-2021-10-26-16894 (#21412)
Oct 26, 2021
652f6e8
Update reply comment (#21399)
BigCat20196 Oct 26, 2021
03bebad
[textanalytics] feature/ta-v3.2-preview.2 (#21409)
kristapratico Oct 26, 2021
315ef05
Add latest released version to prepare prerelease (#21420)
azure-sdk Oct 26, 2021
c96233c
Removing URL validation
cochi2 Oct 26, 2021
50a8f30
Removing validations for recording apis
cochi2 Oct 26, 2021
84affee
remove unnecessary awaits in test (#21423)
iscai-msft Oct 26, 2021
b2d5e8e
Update Monitor Query library samples (#21371)
scottaddie Oct 26, 2021
fc7cd6f
[core] remove asynciterable inclusion in 2.7 HttpRequest content keyw…
iscai-msft Oct 26, 2021
a62fe66
fix doc about duplicate actions (#21429)
kristapratico Oct 27, 2021
944dfee
[core] fix "read" not awaited warning in ContentDecodePolicy for asyn…
iscai-msft Oct 27, 2021
51786d0
fix assertion for signature type fields (#21428)
catalinaperalta Oct 27, 2021
9ef0dce
Auto check base branch (#21441)
RAY-316 Oct 27, 2021
7a4871c
auto branch attention (#21445)
RAY-316 Oct 27, 2021
b11ea84
[SchemaRegistry] avro serializer add exceptions (#21381)
swathipil Oct 27, 2021
163938d
[qna] fix metadata conversion from user's tuples to the dict object t…
iscai-msft Oct 27, 2021
fb41130
[textanalytics] updating custom samples (#21434)
kristapratico Oct 27, 2021
f2e508f
Sync eng/common directory with azure-sdk-tools for PR 2152 (#21425)
azure-sdk Oct 27, 2021
40b3556
Removing bad comments
cochi2 Oct 27, 2021
df2c09c
[Test Proxy] Rename decorators, support variables API (#21386)
mccoyp Oct 28, 2021
1310f51
[AutoRelease] t2-videoanalyzer-2021-10-25-84743 (#21389)
Oct 28, 2021
08ef991
[ServiceBus] GA SBAdminClient maxMessageSizeInKilobytes (#21353)
yunhaoling Oct 28, 2021
59b0fac
opt out of autorest verification (#21473)
scbedd Oct 28, 2021
93ad281
Bit more complicated parsing of the `requirements_to_exclude` during …
scbedd Oct 28, 2021
00badb0
Remove legacy resource group live test deployment (#21458)
benbp Oct 28, 2021
e555827
[QnA] Renames (#21464)
annatisch Oct 28, 2021
77bf57c
[QnA] Made operations groups internal (#21477)
annatisch Oct 28, 2021
ab34056
update doc links (#21483)
xiangyan99 Oct 28, 2021
4786890
[KV] Update logging tests (#21454)
mccoyp Oct 28, 2021
59709af
update release issue status (#21489)
RAY-316 Oct 29, 2021
e54b08f
version rule (#21490)
msyyc Oct 29, 2021
0d1a7bc
[textanalytics] expose action errors (#21472)
kristapratico Oct 29, 2021
dbd8442
update (#19662)
v-xuto Oct 29, 2021
116e162
[formrecognizer] Add signature field type tests (#21480)
catalinaperalta Oct 29, 2021
9b385ef
[Search] Add reset_documents and reset_skills operations (#21475)
tjprescott Oct 29, 2021
ac227cc
[SchemaRegistry] fix failing avro tests (#21478)
swathipil Oct 29, 2021
25162e9
[SchemaRegistry] remove serializer namespace from client package (#21…
swathipil Oct 29, 2021
c4a1d6e
[Identity] Fix multi-tenant auth using async AadClient (#21322)
mccoyp Oct 29, 2021
2075653
[Schema Registry] bug bash docs (#21457)
swathipil Oct 29, 2021
49472b0
[textanalytics] custom model docstrings edits (#21498)
kristapratico Oct 29, 2021
7cfe183
Handling Proper Defaulting of `BuildTargetingString` within nested te…
scbedd Oct 30, 2021
91f6d74
Improved some error behaviour (#21499)
annatisch Oct 30, 2021
4b79413
re-gen clu LLC client (#21417)
mshaban-msft Oct 30, 2021
a644e1e
[AutoRelease] t2-eventhub-2021-10-25-83263 (#21397)
Nov 1, 2021
700dc5e
delete eventgrid (#21509)
msyyc Nov 1, 2021
eab9737
Eventgrid del temporarily (#21510)
msyyc Nov 1, 2021
71bd202
Revert "delete eventgrid" (#21512)
msyyc Nov 1, 2021
04602de
[formrecognizer] Initial work for adding get_children methods (#21224)
catalinaperalta Nov 1, 2021
ecfd1e0
pin chardet to assist withfailures (#21521)
scbedd Nov 1, 2021
b6f32aa
Sync eng/common directory with azure-sdk-tools for PR 2177 (#21523)
azure-sdk Nov 1, 2021
e17e8c5
support charset_normalizer (#21520)
xiangyan99 Nov 1, 2021
4bafa41
Increment package version after release of azure-core (#21532)
azure-sdk Nov 2, 2021
f9f1bda
[textanalytics] release prep (#21522)
kristapratico Nov 2, 2021
2dae8cc
[AutoRelease] t2-signalr-2021-11-01-50053 (#21514)
Nov 2, 2021
c9fe094
Use https for sparse checkout command (#21535)
azure-sdk Nov 2, 2021
f2177e3
Use docker to do package validation. (#21541)
azure-sdk Nov 2, 2021
973b3c1
fix UnboundLocalError (#19744)
xiangyan99 Nov 2, 2021
74badfa
[rest] add kwargs to iter_bytes and iter_raw (#21529)
iscai-msft Nov 2, 2021
7459dab
add ReplaceLatestEntryTitle parameter for updating changelog (#21485)
chidozieononiwu Nov 2, 2021
796d801
[SchemaRegistry] fix logging_enable bug (#21488)
swathipil Nov 2, 2021
c249012
Increment package version after release of azure-ai-textanalytics (#2…
azure-sdk Nov 2, 2021
05c8dc8
[QnA][CLU] Release prep (#21518)
annatisch Nov 2, 2021
49f51c0
Monitor metadata bg (#21513)
Nov 3, 2021
cbb395e
Sync eng/common directory with azure-sdk-tools for PR 2053 (#21558)
azure-sdk Nov 3, 2021
60e11ba
raise IncompleteReadError if only receive partial response (#20888)
xiangyan99 Nov 3, 2021
9d5c864
[rest] fix str check in content kwarg to be six.string_types check fo…
iscai-msft Nov 3, 2021
a6991c8
Exclude azure-mgmt-videoanalyzer from docs onboarding (#21564)
danieljurek Nov 3, 2021
aeb2735
[rest] GA in docs! (#21545)
iscai-msft Nov 3, 2021
37409b1
Support for CNCF cloud event (#21236)
Nov 3, 2021
3db48ed
[rest] allow users to pass file descriptors to json without raising (…
iscai-msft Nov 3, 2021
7c3deba
update release date (#21574)
xiangyan99 Nov 3, 2021
7c2943a
Stress test usability feedback (#21569)
azure-sdk Nov 3, 2021
e2d3e1a
[formrecognizer] Improve URL related doc strings (#21208)
catalinaperalta Nov 3, 2021
48a5bbe
[formrecognizer] Use get_words and get_lines in samples (#21533)
catalinaperalta Nov 3, 2021
6935640
Minor updated to parameters and argument message (#21551)
chidozieononiwu Nov 3, 2021
86582bf
unredact some headers/query params at the debug info level (#21571)
kristapratico Nov 4, 2021
206f142
fix test by adding raw property in mock response (#21577)
xiangyan99 Nov 4, 2021
625861a
[AutoRelease] t2-deviceupdate-2021-11-04-38122 (#21250)
Nov 4, 2021
a43e1e7
[AutoRelease] t2-quota-2021-11-01-54332 (#21507)
Nov 4, 2021
c44fa5b
Add prompt before replasing latest release title on prepare release r…
azure-sdk Nov 4, 2021
ed3138b
[SchemaRegistry] final api review changes (#21589)
swathipil Nov 4, 2021
9d4917d
adding exception to regression tests for telemetry-exporter (#21576)
scbedd Nov 4, 2021
591845d
Increment package version after release of azure-core (#21594)
azure-sdk Nov 4, 2021
7671826
update type hints to reflect actual document body (#21593)
simorenoh Nov 4, 2021
34d80fd
[formrecognizer] Update changelog for release (#21555)
catalinaperalta Nov 4, 2021
8e98c7f
Update azure-core version to unbreak Search. (#21599)
tjprescott Nov 4, 2021
9cd93fb
[acr] regen with autorest 5.11.0, bump min core dep to 1.20.0 (#21600)
iscai-msft Nov 4, 2021
935caca
Revert "Update azure-core version to unbreak Search. (#21599)" (#21610)
tjprescott Nov 5, 2021
9a668fc
update changelog (#21608)
xiangyan99 Nov 5, 2021
e087039
[SchemaRegistry] update core + SR version (#21573)
swathipil Nov 5, 2021
8b3f0b8
[SchemaRegistry] generate GA SR from swagger (#21570)
swathipil Nov 5, 2021
10a1322
[formrecognizer] Remove get children methods (#21602)
catalinaperalta Nov 5, 2021
2199094
[WebPubSub] Use consistent service description and introduction acros…
vicancy Nov 5, 2021
e7ae4e0
delete redundant network version (#21612)
RAY-316 Nov 5, 2021
51b1c44
STG79 Preview (#21591)
tasherif-msft Nov 5, 2021
3c73f58
[AutoRelease] t2-eventgrid-2021-10-21-28743 (#21361)
Nov 5, 2021
02fedc2
Latest API(2021-10-31-preview) changes implementation in azure-commun…
AikoBB Nov 5, 2021
20a3ca0
[AutoRelease] t2-monitor-2021-11-03-63776 (#21559)
Nov 5, 2021
ddcd001
Add Mixed Reality Remote Rendering SDK (#16643)
rikogeln Nov 5, 2021
fdecddd
[formrecognizer] Add new samples to README (#21607)
catalinaperalta Nov 5, 2021
7cabe7d
regenerate artifacts (#21525)
xiangyan99 Nov 5, 2021
66b1183
[ServiceBus] update release notes (#21615)
yunhaoling Nov 5, 2021
2755c1d
[SchemaRegistry] remove version from docstring (#21617)
swathipil Nov 5, 2021
1a0f554
update azure-search-documents dependency on typing-extensions to >= 3…
scbedd Nov 5, 2021
4eea698
[Key Vault] Address archboard feedback (#21567)
mccoyp Nov 5, 2021
c328f18
Changelog and version (#21614)
annatisch Nov 5, 2021
6c6fcef
adding trust-proxy-cert to the repo itself (#21624)
scbedd Nov 5, 2021
03f04f8
Update changelog. (#21625)
tjprescott Nov 5, 2021
4bfeba8
[SchemaRegistry] avro docs cleanup (#21619)
swathipil Nov 5, 2021
dba8912
[rest] store decompressed body in response content for aiohttp with d…
iscai-msft Nov 5, 2021
1f63c46
[SchemaRegistry] regenerate to fix client side validation (#21629)
swathipil Nov 5, 2021
6f0041a
doc updates (#21628)
catalinaperalta Nov 5, 2021
7136504
Change versions to beta (#21627)
tasherif-msft Nov 5, 2021
ea55ac6
[KV-keys]Name change in SKR (#21609)
YalinLi0312 Nov 6, 2021
71b42a1
[SchemaRegistry] swagger updates + run black (#21631)
swathipil Nov 6, 2021
e06b8aa
[rest] add decompression tests and fix multiple body() calls (#21630)
iscai-msft Nov 6, 2021
519dcca
[KV] Enable SKR tests on KV (#21621)
mccoyp Nov 6, 2021
e7ce98f
Sync eng/common directory with azure-sdk-tools for PR 2219 (#21622)
azure-sdk Nov 6, 2021
aad9018
Merge remote-tracking branch 'upstream/feature/communication-CallingS…
cochi2 Nov 8, 2021
e391540
Increment package version after release of azure-batch (#20007)
azure-sdk Nov 8, 2021
596e2de
update changelog (#21644)
xiangyan99 Nov 8, 2021
3fc6406
Changelog Date Formatting (#21646)
tasherif-msft Nov 8, 2021
7ec9019
Use working region/subscription for search deployments (#21568)
benbp Nov 8, 2021
fa9dfd7
update changelog (#21648)
xiangyan99 Nov 8, 2021
a1e69a8
Increment version for core releases (#21649)
azure-sdk Nov 8, 2021
c055eba
update broken links (#21643)
mshaban-msft Nov 8, 2021
75de5ae
fix dup content (#21651)
xiangyan99 Nov 8, 2021
c18004e
[SchemaRegistry] update format type (#21647)
swathipil Nov 8, 2021
e4767e9
updating chart.yaml for stress-test-addons (#21650)
azure-sdk Nov 9, 2021
63082d7
[AutoRelease] t2-synapse-2021-11-08-68636 (#21640)
Nov 9, 2021
5a075ec
[webpubsub] add live tests (#21654)
iscai-msft Nov 9, 2021
03d6d4a
[AutoRelease] t2-network-2021-11-05-99038 (#21613)
Nov 9, 2021
4b42415
[webpubsub] update for api-version `2021-10-01` (#21393)
msyyc Nov 9, 2021
053a2bc
The release date of 1.1.0b1 is changed in CHANGELOG.md (#21641)
AikoBB Nov 9, 2021
7d1b838
Added reference to exchange teams token section (#21662)
AikoBB Nov 9, 2021
7e269cd
Increment package version after release of azure-search-documents (#2…
azure-sdk Nov 9, 2021
8743aaa
Increment version for identity releases (#21673)
azure-sdk Nov 9, 2021
15ab499
Increment version for synapse releases (#21672)
azure-sdk Nov 9, 2021
9990b7e
update git helper (#21670)
swathipil Nov 9, 2021
3121554
Validate python docs packages using docker (#21657)
sima-zhu Nov 9, 2021
932fa97
[SchemaRegistry] remove schema prefix in params (#21675)
swathipil Nov 9, 2021
76821d1
Re-add get-codeowners.ps1 (#21676)
azure-sdk Nov 9, 2021
654fed5
resolve mac agent failure (#21677)
azure-sdk Nov 9, 2021
13fec80
Update CHANGELOG.md (#21679)
YalinLi0312 Nov 10, 2021
4205ea9
raise decode error instead of ContentDecodingError (#19433)
xiangyan99 Nov 10, 2021
9498721
Increment version for communication releases (#21667)
azure-sdk Nov 10, 2021
8176594
Increment version for storage releases (#21652)
azure-sdk Nov 10, 2021
a5ad9d5
Increment version for cognitivelanguage releases (#21566)
azure-sdk Nov 10, 2021
e16b73b
Increment version for videoanalyzer releases (#21455)
azure-sdk Nov 10, 2021
aafdfd2
Increment version for formrecognizer releases (#21678)
azure-sdk Nov 10, 2021
1508fb9
Update CHANGELOG.md (#21681)
Nov 10, 2021
13f2d0f
Update docs for Web PubSub GA (#21659)
vicancy Nov 10, 2021
bd45d3c
Migration Guide from Azure-loganalytics (#21674)
Nov 10, 2021
e2316d8
Update Monitor Query API ref link (#21683)
scottaddie Nov 10, 2021
d3ee41d
[Test Proxy] Add fixture to automatically start/stop Docker container…
mccoyp Nov 10, 2021
02c6ca3
update automatic close mechanism (#21580)
RAY-316 Nov 10, 2021
4e9c3a1
[webpubsub] regen with hub as a client parameter (#21688)
msyyc Nov 10, 2021
0a0cc97
[Key Vault] Add support for multi-tenant authentication (#21290)
mccoyp Nov 10, 2021
e43c29e
[webpubsub] fix some typehints (#21692)
iscai-msft Nov 10, 2021
096b89c
[SchemaRegistry] update changelog (#21695)
swathipil Nov 10, 2021
8a47e24
[Key Vault] Skip SKR tests on KV (#21694)
mccoyp Nov 10, 2021
a1ca839
[webpubsub] add async type hints (#21697)
iscai-msft Nov 10, 2021
898921d
Update CHANGELOG.md (#21699)
YalinLi0312 Nov 10, 2021
66ea54c
Update CHANGELOG.md (#21702)
YalinLi0312 Nov 10, 2021
71e4888
[webpubsub] add jwt and reverse proxy tests (#21680)
iscai-msft Nov 11, 2021
9516d0b
[SchemaRegistry] bump sr version in avrosr (#21590)
swathipil Nov 11, 2021
4cad218
Sync eng/common directory with azure-sdk-tools for PR 2249 (#21705)
azure-sdk Nov 11, 2021
ffa9b92
[AutoRelease] t2-desktopvirtualization-2021-10-28-59198 (#21466)
Nov 11, 2021
46670b3
[webpubsub] prepare for release (#21707)
iscai-msft Nov 11, 2021
d6bd0c3
[AutoRelease] t2-avs-2021-10-26-52978(Do not merge) (#21422)
Nov 11, 2021
37fd5e8
[AutoRelease] t2-iotcentral-2021-10-12-72051(Do not merge) (#21229)
Nov 11, 2021
a44dd20
[Key Vault] Update changelogs for release (#21710)
mccoyp Nov 11, 2021
b5590b3
[AutoRelease] t2-keyvault-2021-11-11-01788 (#21712)
Nov 11, 2021
596227a
communication identity related codes replaced to tests folder from sh…
AikoBB Nov 11, 2021
e5adfaf
Increment package version after release of azure-appconfiguration (#2…
azure-sdk Nov 11, 2021
27b7806
Increment package version after release of azure-data-tables (#21709)
azure-sdk Nov 11, 2021
a5594b6
[SchemaRegistry] avro docs update (#21721)
swathipil Nov 11, 2021
535e43f
Increment package version after release of azure-keyvault-administrat…
azure-sdk Nov 11, 2021
cd452cd
make Log analytics track1 obselete (#21730)
Nov 11, 2021
98a07a2
[formrecognizer] Add samples for searching with spans (#21704)
catalinaperalta Nov 12, 2021
68e3587
[AutoRelease] t2-resourceconnector-2021-10-22-84842 (#21383)
Nov 12, 2021
9023226
Remove DeployArmTemplate flag, Remove legacy resource group live test…
rikogeln Nov 12, 2021
33777b2
Add default cloud configuration values to source (#21723)
azure-sdk Nov 12, 2021
7100624
[textanalytics] raise better error message in job failure (#21742)
kristapratico Nov 12, 2021
4dd23a9
Mixed Reality Authentication 1.0.0b1 release preparation (#21744)
craigktreasure Nov 12, 2021
fe9b0f8
simplify the commit history so that the patch can apply properly (#21…
azure-sdk Nov 13, 2021
6341dc0
[AutoRelease] t2-cognitiveservices-2021-11-03-56855 (#21556)
Nov 15, 2021
772f197
add dependency to azure-mixedreality-authentication library (#21757)
rikogeln Nov 15, 2021
23e8d52
fix azure remote rendering release date in CHANGELOG.md (#21758)
rikogeln Nov 15, 2021
664855a
Use arm template parameters as sole input for live test environment v…
benbp Nov 15, 2021
7278e97
Sync eng/common directory with azure-sdk-tools for PR 2265 (#21759)
azure-sdk Nov 15, 2021
62df354
[storage] remove private code from proxy sample (#21762)
iscai-msft Nov 15, 2021
d4eaec5
Merge branch 'main' into feature/communication-CallingServer-preview
cochi2 Nov 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
/sdk/communication/ @acsdevx-msft
/sdk/communication/azure-communication-phonenumbers/ @RoyHerrod @danielav7 @whisper6284 @AlonsoMondal
/sdk/communication/azure-communication-sms/ @RoyHerrod @arifibrahim4
/sdk/communication/azure-communication-identity/ @Azure/acs-identity-sdk

# PRLabel: %KeyVault
/sdk/keyvault/ @schaabs @chlowell @mccoyp @YalinLi0312
Expand All @@ -65,7 +66,7 @@
/sdk/containerservice/ @samkreter @zqingqing1 @GaneshaThirumurthi

# PRLabel: %Cosmos
/sdk/cosmos/ @southpolesteve @zfoster
/sdk/cosmos/ @kushagraThapar @simorenoh @simplynaveen20 @xinlian12 @moderakh

# PRLabel: %Data Factory
/sdk/datafactory/ @hvermis
Expand Down
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,17 @@ venv/
code_reports

# Azure Storage test credentials
sdk/storage/azure-storage-blob/tests/settings/settings_real.py
sdk/storage/azure-storage-queue/tests/settings/settings_real.py
sdk/storage/azure-storage-file-share/tests/settings/settings_real.py
sdk/storage/azure-storage-file-datalake/tests/settings/settings_real.py


# The locations below are deprecated - keep to prevent any accidental secrets leakage ==========
sdk/storage/azure-storage-blob/tests/_shared/settings_real.py
sdk/storage/azure-storage-queue/tests/_shared/settings_real.py
sdk/storage/azure-storage-file-share/tests/_shared/settings_real.py
sdk/storage/azure-storage-file-datalake/tests/settings_real.py

# The locations below are deprecated - keep to prevent any accidental secrets leakage ==========
sdk/storage/azure-storage-blob/tests/settings_real.py
sdk/storage/azure-storage-queue/tests/settings_real.py
sdk/storage/azure-storage-file-share/tests/settings_real.py
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can find the [most up to date list of all of the new packages on our page](h

### Client: Previous Versions

Last stable versions of packages that have been provided for usage with Azure and are production-ready. These libraries provide you with similar functionalities to the Preview ones as they allow you to use and consume existing resources and interact with them, for example: upload a blob. They might not implement the [guidelines](https://azure.github.io/azure-sdk/python/guidelines/index.html) or have the same feature set as the Novemeber releases. They do however offer wider coverage of services.
Last stable versions of packages that have been provided for usage with Azure and are production-ready. These libraries provide you with similar functionalities to the Preview ones as they allow you to use and consume existing resources and interact with them, for example: upload a blob. They might not implement the [guidelines](https://azure.github.io/azure-sdk/python/guidelines/index.html) or have the same feature set as the November releases. They do however offer wider coverage of services.

### Management: New Releases
A new set of management libraries that follow the [Azure SDK Design Guidelines for Python](https://azure.github.io/azure-sdk/python/guidelines/) are now available. These new libraries provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more.
Expand Down
2 changes: 1 addition & 1 deletion doc/dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Overview of the documents:
- [Release](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/release.md) : How to release a package when ready
- [Packaging](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/packaging.md) : How to organize packaging information for packages under `azure`
- [Testing](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/tests.md): How to write unit and functional tests for a library
- [Docstrings and Type hints](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/docstring_typehint.md): How to document an SDK for compatability with internal tools (API View) and our documentation at [MS Docs][ms_docs] and the [azure.github.io][azure_github_io] site.
- [Docstrings and Type hints](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/docstring_typehint.md): How to document an SDK for compatibility with internal tools (API View) and our documentation at [MS Docs][ms_docs] and the [azure.github.io][azure_github_io] site.

The [mgmt](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/mgmt) folder contains information specific to management packages (i.e. packages prefixed by `azure-mgmt`)

Expand Down
2 changes: 1 addition & 1 deletion doc/dev/get_unreleased_package_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ The following figure shows the wheel and zip of the package.Click to download th
(1) If there is no link in the figure above, it may be folded. You can also find it in the check.
![img.png](unreleased_package_guide_example3.png)

(2) [Private repo](https://github.com/Azure/azure-rest-api-specs-pr) can only be triggered when the target branch is `main`
(2) The private Azure/azure-rest-api-specs-pr repo can only be triggered when the target branch is `main`
44 changes: 44 additions & 0 deletions doc/dev/package_version/package_version_rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
This file claims the rules how Python decide next version number for package.

The package version contains two part:
1. the package is preview or stable?
2. version number

# How to judge preview or stable?
Python SDK is generated with [swagger](https://github.com/Azure/azure-rest-api-specs), so if swagger content is preview,
the package is preview; if swagger content is stable, the package is stable.

(1) For single api package(for example: [datadog](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/datadog)),
as long as the current tag is preview, the package version should be preview

(2) For multi api package(for example: [network](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/network/azure-mgmt-network)),
there will be `DEFAULT_API_VERSION`(for example: [`DEFAULT_API_VERSION` of network](https://github.com/Azure/azure-sdk-for-python/blob/59709af16b7cd29a51d562137bc5bbfdf53f9327/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py#L60)).
As long as it is preview, then the package version is preview.

(note1: If the name of tag contains 'preview' or the tag contains files of 'preview' folder, then the tag is preview tag.
For exampe: [preview tag](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/compute/resource-manager#tag-package-2021-06-01-preview))

(note2: If the api-version contains 'preview', then it is preview api-version. for example: [preview api-version](https://github.com/Azure/azure-rest-api-specs/blob/69eacf00a36d565d3220d5dd6f4a5293664f1ae9/specification/network/resource-manager/Microsoft.Network/preview/2015-05-01-preview/network.json#L6))

(note3: The difference about single api and multi api, please see the detailed file)

(note4: preview package version contains `b`, for example: `1.0.0b1`)

# How to decide next version number
1\. If current version is preview version, the new tag is preview tag, then next version is `x.x.xbx+1`

2\. If current version is stable version, the new tag is stable tag, then :
* if there is breaking change, next version is `x+1.x.x`
* if there is new feature but no breaking change, next version is `x.x+1.x`
* if there is only bugfix, next version is `x.x.x+1`

3\. If current version is stable version, the new tag is preview tag, calculate version number according to `2`
and then append `b1` in the result


According to the up rules, we could summarize all the possibilities in the following table:

![img.png](version_summary.png)

(`-` means that this item doesn't influence result)

Binary file added doc/dev/package_version/version summary.xlsx
Binary file not shown.
Binary file added doc/dev/package_version/version_summary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/dev/perfstress_tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The framework has a series of common command line options built in:
- `-w --warm-up=5` Number of seconds to spend warming up the connection before measuring begins. Default is 5.
- `--sync` Whether to run the tests in sync or async. Default is False (async).
- `--no-cleanup` Whether to keep newly created resources after test run. Default is False (resources will be deleted).
- `-x --test-proxy` Whether to run the tests against the test proxy server. Specfiy the URL for the proxy endpoint (e.g. "https://localhost:5001").
- `-x --test-proxies` Whether to run the tests against the test proxy server. Specify the URL(s) for the proxy endpoint(s) (e.g. "https://localhost:5001").
- `--profile` Whether to run the perftest with cProfile. If enabled (default is False), the output file of the **last completed single iteration** will be written to the current working directory in the format `"cProfile-<TestClassName>-<TestID>-<sync/async>.pstats"`.


Expand Down
53 changes: 45 additions & 8 deletions doc/dev/test_proxy_migration_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,25 @@ class TestExample(AzureTestCase):
### New test structure

To use the proxy, test classes should inherit from AzureRecordedTestCase and recorded test methods should use a
RecordedByProxy decorator:
`recorded_by_proxy` decorator:

```py
from devtools_testutils import AzureRecordedTestCase, RecordedByProxy
from devtools_testutils import AzureRecordedTestCase, recorded_by_proxy

class TestExample(AzureRecordedTestCase):

@RecordedByProxy
@recorded_by_proxy
def test_example(self):
...

@ExamplePreparer()
@RecordedByProxy
@recorded_by_proxy
def test_example_with_preparer(self):
...
```

For async tests, import the RecordedByProxyAsync decorator from `devtools_testutils.aio` and use it in the same
way as RecordedByProxy.
For async tests, import the `recorded_by_proxy_async` decorator from `devtools_testutils.aio` and use it in the same
way as `recorded_by_proxy`.

> **Note:** since AzureRecordedTestCase doesn't inherit from `unittest.TestCase`, test class names need to start
> with "Test" in order to be properly collected by pytest by default. For more information, please refer to
Expand Down Expand Up @@ -135,6 +135,43 @@ made to `https://fakeendpoint-secondary.table.core.windows.net`, and URIs will a

For more details about sanitizers and their options, please refer to [devtools_testutils/sanitizers.py][py_sanitizers].

### Record test variables

To run recorded tests successfully when there's an element of non-secret randomness to them, the test proxy provides a
[`variables` API](https://github.com/Azure/azure-sdk-tools/tree/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy#storing-variables).
This makes it possible for a test to record the values of variables that were used during recording and use the same
values in playback mode without a sanitizer.

For example, imagine that a test uses a randomized `table_name` variable when creating resources. The same random value
for `table_name` can be used in playback mode by using this `variables` API.

There are two requirements for a test to use recorded variables. First, the test method should accept `**kwargs` and/or
a `variables` parameter. Second, the test method should `return` a dictionary with any test variables that it wants to
record. This dictionary will be stored in the recording when the test is run live, and will be passed to the test as a
`variables` keyword argument when the test is run in playback.

Below is a code example of how a test method could use recorded variables:

```python
from devtools_testutils import AzureRecordedTestCase, recorded_by_proxy

class TestExample(AzureRecordedTestCase):

@recorded_by_proxy
def test_example(self, variables):
# in live mode, variables is an empty dictionary
# in playback mode, the value of variables is {"table_name": "random-value"}
if self.is_live:
table_name = "random-value"
variables = {"table_name": table_name}

# use variables["table_name"] when using the table name throughout the test
...

# return the variables at the end of the test
return variables
```

## Implementation details

### What does the test proxy do?
Expand All @@ -147,7 +184,7 @@ For example, if an operation would typically make a GET request to
`https://localhost:5001/Tables` instead. The original endpoint should be stored in an `x-recording-upstream-base-uri` --
the proxy will send the original request and record the result.

The RecordedByProxy and RecordedByProxyAsync decorators patch test requests to do this for you.
The `recorded_by_proxy` and `recorded_by_proxy_async` decorators patch test requests to do this for you.

### How does the test proxy know when and what to record or play back?

Expand Down Expand Up @@ -179,7 +216,7 @@ Running tests in playback follows the same pattern, except that requests will be
`/playback/stop` instead. A header, `x-recording-mode`, should be set to `record` for all requests when recording and
`playback` when playing recordings back. More details can be found [here][detailed_docs].

The RecordedByProxy and RecordedByProxyAsync decorators send the appropriate requests at the start and end of each test
The `recorded_by_proxy` and `recorded_by_proxy_async` decorators send the appropriate requests at the start and end of each test
case.

[detailed_docs]: https://github.com/Azure/azure-sdk-tools/tree/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md
Expand Down
1 change: 1 addition & 0 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ known_content_issues:
- ['sdk/purview/azure-purview-scanning/swagger/README.md',  '#4554']
- ['sdk/agrifood/azure-agrifood-farming/swagger/README.md',  '#4554']
- ['sdk/purview/azure-purview-account/swagger/README.md', '#4554']
- ['sdk/purview/azure-purview-administration/swagger/README.md', '#4554']
- ['sdk/containerregistry/azure-containerregistry/swagger/README.md', '#4554']
- ['sdk/appconfiguration/azure-appconfiguration/swagger/README.md', '#4554']
- ['sdk/attestation/azure-security-attestation/swagger/README.md', '#4554']
Expand Down
2 changes: 1 addition & 1 deletion eng/CredScanSuppression.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"sdk/identity/azure-identity/tests/ec-certificate.pem",
"sdk/core/azure-servicemanagement-legacy/tests/legacy_mgmt_settings_fake.py",
"sdk/storage/azure-storage-blob/tests/fake_credentials.py",
"sdk/storage/azure-storage-file-datalake/tests/fake_credentials.py",
"tools/azure-sdk-tools/devtools_testutils/fake_credentials.py",
"tools/azure-sdk-tools/devtools_testutils/mgmt_settings_fake.py"
],
"_justification": "File contains private key used by test code."
Expand Down
7 changes: 5 additions & 2 deletions eng/ci_tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ cryptography==3.1
setuptools==44.1.0; python_version == '2.7'
setuptools==46.4.0; python_version >= '3.5'
virtualenv==20.0.23
wheel==0.34.2
wheel==0.37.0
Jinja2==2.11.2
packaging==20.4
tox==3.15.0
tox-monorepo==0.1.2
twine==1.15.0; python_version == '2.7' or python_version == '3.5'
twine==3.1.1; python_version >= '3.6'
pathlib2==2.3.5
readme-renderer[md]==25.0
readme-renderer[md]==25.0; python_version < '3.10'
doc-warden==0.7.1
# we pin coverage to 4.5.4 because there is an bug with `pytest-cov`. the generated coverage files cannot be `coverage combine`ed
coverage==4.5.4
Expand All @@ -22,6 +22,9 @@ pip==20.3
black==21.6b0; python_version >= '3.6'
wrapt<=1.12.1; python_version == '2.7'

# python 3.10 pinned packages
cffi==1.15.0rc2; python_version >= '3.10'

# locking packages defined as deps from azure-sdk-tools or azure-devtools
pytoml==0.1.21
pyOpenSSL==19.1.0
Expand Down
30 changes: 24 additions & 6 deletions eng/common/TestResources/New-TestResources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,13 @@ if (!$PSBoundParameters.ContainsKey('ErrorAction')) {
$ErrorActionPreference = 'Stop'
}

function Log($Message) {
function Log($Message)
{
Write-Host ('{0} - {1}' -f [DateTime]::Now.ToLongTimeString(), $Message)
}

function Retry([scriptblock] $Action, [int] $Attempts = 5) {
function Retry([scriptblock] $Action, [int] $Attempts = 5)
{
$attempt = 0
$sleep = 5

Expand All @@ -109,7 +111,20 @@ function Retry([scriptblock] $Action, [int] $Attempts = 5) {
}
}

function MergeHashes([hashtable] $source, [psvariable] $dest) {
function LoadCloudConfig([string] $env)
{
$configPath = "$PSScriptRoot/clouds/$env.json"
if (!(Test-Path $configPath)) {
Write-Warning "Could not find cloud configuration for environment '$env'"
return @{}
}

$config = Get-Content $configPath | ConvertFrom-Json -AsHashtable
return $config
}

function MergeHashes([hashtable] $source, [psvariable] $dest)
{
foreach ($key in $source.Keys) {
if ($dest.Value.ContainsKey($key) -and $dest.Value[$key] -ne $source[$key]) {
Write-Warning ("Overwriting '$($dest.Name).$($key)' with value '$($dest.Value[$key])' " +
Expand All @@ -119,7 +134,8 @@ function MergeHashes([hashtable] $source, [psvariable] $dest) {
}
}

function BuildBicepFile([System.IO.FileSystemInfo] $file) {
function BuildBicepFile([System.IO.FileSystemInfo] $file)
{
if (!(Get-Command bicep -ErrorAction Ignore)) {
Write-Error "A bicep file was found at '$($file.FullName)' but the Azure Bicep CLI is not installed. See https://aka.ms/install-bicep-pwsh"
throw
Expand Down Expand Up @@ -334,7 +350,7 @@ try {
$serviceName = if (Split-Path $ServiceDirectory) {
Split-Path -Leaf $ServiceDirectory
} else {
$ServiceDirectory
$ServiceDirectory.Trim('/')
}

$ResourceGroupName = if ($ResourceGroupName) {
Expand Down Expand Up @@ -492,6 +508,8 @@ try {
$templateParameters.Add('testApplicationSecret', $TestApplicationSecret)
}

$defaultCloudParameters = LoadCloudConfig $Environment
MergeHashes $defaultCloudParameters $(Get-Variable templateParameters)
MergeHashes $ArmTemplateParameters $(Get-Variable templateParameters)
MergeHashes $AdditionalParameters $(Get-Variable templateParameters)

Expand Down Expand Up @@ -600,7 +618,7 @@ try {
$outputFile = "$($templateFile.originalFilePath).env"

$environmentText = $deploymentOutputs | ConvertTo-Json;
$bytes = ([System.Text.Encoding]::UTF8).GetBytes($environmentText)
$bytes = [System.Text.Encoding]::UTF8.GetBytes($environmentText)
$protectedBytes = [Security.Cryptography.ProtectedData]::Protect($bytes, $null, [Security.Cryptography.DataProtectionScope]::CurrentUser)

Set-Content $outputFile -Value $protectedBytes -AsByteStream -Force
Expand Down
15 changes: 15 additions & 0 deletions eng/common/TestResources/clouds/AzureChinaCloud.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"azConfigEndpointSuffix": ".azconfig.azure.cn",
"azureAuthorityHost": "https://login.chinacloudapi.cn/",
"cognitiveServicesEndpointSuffix": ".cognitiveservices.azure.cn",
"containerRegistryEndpointSuffix": ".azurecr.cn",
"cosmosEndpointSuffix": "cosmos.azure.cn",
"enableStorageVersioning": false,
"keyVaultDomainSuffix": ".vault.azure.cn",
"keyVaultEndpointSuffix": ".vault.azure.cn",
"keyVaultSku": "standard",
"searchEndpointSuffix": "search.azure.cn",
"serviceBusEndpointSuffix": ".servicebus.chinacloudapi.cn",
"storageEndpointSuffix": "core.chinacloudapi.cn",
"textAnalyticsSku": "S"
}
8 changes: 8 additions & 0 deletions eng/common/TestResources/clouds/AzureCloud.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"azureAuthorityHost": "https://login.microsoftonline.com/",
"cognitiveServicesEndpointSuffix": ".cognitiveservices.azure.com",
"communicationServicesEndpointSuffix": ".communication.azure.com",
"keyVaultDomainSuffix": ".vault.azure.net",
"keyVaultEndpointSuffix": ".vault.azure.net",
"storageEndpointSuffix": "core.windows.net"
}
15 changes: 15 additions & 0 deletions eng/common/TestResources/clouds/AzureUSGovernment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"azConfigEndpointSuffix": ".azconfig.azure.us",
"azureAuthorityHost": "https://login.microsoftonline.us/",
"cognitiveServicesEndpointSuffix": ".cognitiveservices.azure.us",
"containerRegistryEndpointSuffix": ".azurecr.us",
"cosmosEndpointSuffix": "cosmos.azure.us",
"enableStorageVersioning": false,
"formRecognizerLocation": "usgovvirginia",
"keyVaultDomainSuffix": ".vault.usgovcloudapi.net",
"keyVaultEndpointSuffix": ".vault.usgovcloudapi.net",
"keyVaultSku": "premium",
"searchEndpointSuffix": "search.azure.us",
"serviceBusEndpointSuffix": ".servicebus.usgovcloudapi.net",
"storageEndpointSuffix": "core.usgovcloudapi.net"
}
Loading