Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
357 commits
Select commit Hold shift + click to select a range
99ab168
Fix live tests (#20886)
Sep 27, 2021
9824165
Use stress-test-resources file naming to avoid live test auto-discove…
azure-sdk Sep 27, 2021
50e50af
Enable API change detection as part of PR pipelines (#20803)
praveenkuttappan Sep 27, 2021
646d87a
Disable api change detection (#20892)
praveenkuttappan Sep 27, 2021
186b55c
Add Python 2 deprecation on front page (#20799)
lmazuel Sep 27, 2021
4aaa1e8
[Perf] keyvault-secrets test improvements (#20900)
mikeharder Sep 27, 2021
03efaee
Python 2.7 warning (#20895)
Sep 28, 2021
d6f5ea9
[AutoRelease] t2-extendedlocation-2021-09-22-24922 (#20782)
Sep 28, 2021
f88dc92
[AutoRelease] t2-netapp-2021-09-22-09782 (#20783)
Sep 28, 2021
131546b
Small tweaks to Monitor Query SDK README (#20905)
scottaddie Sep 28, 2021
831d3c6
[formrecognizer] regenerate on latest (#20867)
kristapratico Sep 28, 2021
be52288
[formrecognizer] Add prebuilt-document samples and tests (#20894)
catalinaperalta Sep 28, 2021
878a12e
[rest] add response backcompat mixin (#20827)
iscai-msft Sep 28, 2021
20f7701
[eng] have verify autorest warn instead of raise (#20913)
iscai-msft Sep 28, 2021
77820ae
Resolving Build Warnings (#20887)
scbedd Sep 29, 2021
b9211fb
[formrecognizer] Fix v2 custom forms tests (#20923)
catalinaperalta Sep 29, 2021
84214fb
Update Monitor Query README and logs query client comments (#20933)
scottaddie Sep 29, 2021
14d26ae
fix CI (#20936)
msyyc Sep 29, 2021
c1c84eb
[ServiceBus] Add large message support to SBAdministrationClient (#20…
yunhaoling Sep 29, 2021
6216cd9
Sync eng/common directory with azure-sdk-tools for PR 2046 (#20911)
azure-sdk Sep 29, 2021
1a3ad63
Oct release (#20890)
xiangyan99 Sep 29, 2021
66e4720
disable regression testing for beta version of questionanswering (#20…
scbedd Sep 29, 2021
ae69e4b
[Purview catalog] release for new api-version `2021-09-01` (#20822)
msyyc Sep 29, 2021
b0acdfb
[purview scanning] new release by new LLC version (#20823)
msyyc Sep 29, 2021
2257388
[Key Vault] Get default API version from sync client base (#20379)
mccoyp Sep 29, 2021
aed72ee
skip v2.0 compatibility tests (#20949)
catalinaperalta Sep 29, 2021
7f151c8
New Events (#20951)
Sep 29, 2021
a6e0d12
Update samples in ACR (#20902)
Sep 29, 2021
5aadfb2
Ma test fixes (#20946)
xiangyan99 Sep 29, 2021
ffeb366
[formrecognizer] Print fields in custom documents samples (#20904)
catalinaperalta Sep 29, 2021
99d52a5
Prepare EG for release (#20956)
Sep 30, 2021
8935901
docstring feedback from service team (#20955)
kristapratico Sep 30, 2021
3a13c9c
[rest] fix aiohttp read in rest (#20952)
iscai-msft Sep 30, 2021
1bc3354
[formrecognizer] fixing error on ModelOperation to include details (#…
kristapratico Sep 30, 2021
6e10afe
[SchemaRegistry] add lru cache to avro serializer (#20813)
swathipil Sep 30, 2021
ac10472
update changelog (#20958)
xiangyan99 Sep 30, 2021
c7ff91d
[formrecognizer] Update doc strings for v3 (#20920)
catalinaperalta Sep 30, 2021
639d8fe
[AutoRelease] t2-fluidrelay-2021-09-30-54645 (#20962)
Sep 30, 2021
4e02ec4
[AutoRelease] t2-quota-2021-09-07-50984 (#20558)
Sep 30, 2021
a8b85fc
update code owner for identity and synapse (#20941)
xiangyan99 Sep 30, 2021
7217219
[formrecognizer] update readme (#20868)
kristapratico Sep 30, 2021
78a4a8a
[formrecognizer] Small sample fixes (#20959)
catalinaperalta Sep 30, 2021
8b885da
[formrecognizer] sample fixes (#20964)
kristapratico Sep 30, 2021
8b1ec0b
[Monitor exporter] Update OT Exporter to latest spec changes (#20770)
lzchen Sep 30, 2021
c912672
Increment package version after release of azure-core (#20980)
azure-sdk Sep 30, 2021
5069292
Update 3.10 and 2.7 disclaimer (#20979)
xiangyan99 Sep 30, 2021
561d522
reenable tests (#20978)
kristapratico Sep 30, 2021
40f984e
Prep for release (#20991)
Sep 30, 2021
73f924f
[formrecognizer] Update field schema links in v3 samples (#20988)
catalinaperalta Sep 30, 2021
6aabc2e
[formrecognizer] update sample readme (#20961)
kristapratico Sep 30, 2021
6812755
[KV] Add Py 2.7 disclaimer, 3.10 classifier (#20990)
mccoyp Sep 30, 2021
5c3c625
remove TODOs from samples (#20994)
catalinaperalta Sep 30, 2021
d1b2a62
Add credential Scope keyword (#20987)
Sep 30, 2021
abc9a1c
Add PoliCheck (#20776)
chidozieononiwu Sep 30, 2021
ebce185
[qna] regen with latest and implement design changes (#20975)
iscai-msft Sep 30, 2021
848cc57
[qna] address heath's comments (#20998)
iscai-msft Sep 30, 2021
3f2a011
[cognitivelanguage] add live pipeline (#20986)
iscai-msft Oct 1, 2021
f463e0b
[Key Vault] Add support for key rotation (#20416)
mccoyp Oct 1, 2021
40f3d19
ignore sample chat (#21000)
iscai-msft Oct 1, 2021
d23b8c9
Update README.md (#20992)
Oct 1, 2021
969195d
add prebuilt document to readme examples + print styles (#20996)
kristapratico Oct 1, 2021
0481e9d
updating codeowners for azure communication services SMS & PhoneNumbe…
AlonsoMondal Oct 1, 2021
08b17d8
[Search] Regenerate Search SDK (#20977)
tjprescott Oct 1, 2021
bf0e40e
[formrecognizer] updating docs with aka.ms links (#21012)
kristapratico Oct 1, 2021
cfb945d
[formrecognizer] Update changelog for release (#20963)
catalinaperalta Oct 1, 2021
6b33654
[SchemaRegistry] rename namespace (#20965)
swathipil Oct 1, 2021
ca6dba4
Rebase after merge. (#21014)
iscai-msft Oct 1, 2021
14f9076
[formrecognizer] Add migration guide (#20960)
catalinaperalta Oct 1, 2021
01d0b99
Update Multi-Tenant support to incorporate Arch Board Feedback (#20940)
xiangyan99 Oct 1, 2021
6299e0f
Update docker-start-proxy.ps1 (#21018)
azure-sdk Oct 1, 2021
a826e0a
[formrecognizer] update links (#21016)
kristapratico Oct 1, 2021
5ed3bcc
[Identity] Update README based on consistency review (#20780)
mccoyp Oct 1, 2021
fc95f8d
[Identity] Align samples with other languages (#20966)
mccoyp Oct 1, 2021
02db90a
Update setup.py (#21021)
Oct 1, 2021
31f1e7b
[conversations] initial (#21019)
iscai-msft Oct 1, 2021
3e72868
Monitor Prep release (#21003)
Oct 1, 2021
9b2a640
[SchemaRegistry] remove all serializer caches (#21020)
swathipil Oct 1, 2021
60fb182
[Schema Registry] Update 3.10 and 2.7 disclaimer (#20982)
yunhaoling Oct 1, 2021
9922c0b
adding terminology section, plus fixes (#21031)
catalinaperalta Oct 4, 2021
dc22490
[formrecognizer] docs edits (#21030)
kristapratico Oct 4, 2021
d332e47
run black on code (#21033)
catalinaperalta Oct 4, 2021
17117b5
Rename metrics result to metrics query result (#21036)
Oct 4, 2021
2e111fa
[Test Proxy] Add registration methods for all sanitizers (#20819)
mccoyp Oct 4, 2021
aeacef5
[Perf Framework] Use urljoin to concatenate URLs (#20899)
mikeharder Oct 4, 2021
139aae2
[SchemaRegistry] prepare for release (#21040)
swathipil Oct 4, 2021
253dab8
respect text encoding specified in argument (#20999)
xiangyan99 Oct 5, 2021
5ffe917
Edit pass on Monitor Query samples README (#21043)
scottaddie Oct 5, 2021
948b264
Pin wrapt version to pass on Windows with Python 2.7. (#21046)
tjprescott Oct 5, 2021
c7e5e70
Latest `wrapt` incompatible with py27 (#21048)
scbedd Oct 5, 2021
8465921
[formrecognizer] Doc fixes (#21032)
catalinaperalta Oct 5, 2021
2093082
Handle multiple segments in service directory path (#21034)
azure-sdk Oct 5, 2021
8bebd7d
Update _event_mappings.py (#21055)
Oct 5, 2021
d1c3641
Update CHANGELOG.md (#21056)
kristapratico Oct 5, 2021
9760298
Revert change back (#21047)
azure-sdk Oct 5, 2021
aed92a3
Increment package version after release of azure-search-documents (#2…
azure-sdk Oct 5, 2021
f4b70e9
deps (#21054)
lzchen Oct 5, 2021
0e3087f
[SchemaRegistry] update serializer dependency to srb3 (#21024)
swathipil Oct 5, 2021
7bbd055
[SchemaRegistry] avro Readme (#21067)
swathipil Oct 5, 2021
2b612da
[Key Vault] Add key rotation sample in readme (#21060)
mccoyp Oct 5, 2021
cabb8fc
[Key Vault] Add KeyClient.get_cryptography_client method (#21006)
mccoyp Oct 5, 2021
1267f7c
[formrecognizer] Rename general document model (#21072)
catalinaperalta Oct 6, 2021
65cd0fc
override (#21075)
swathipil Oct 6, 2021
eb5ece7
[Monitor exporter] Do not install alpha version of sdk/api (#21068)
lzchen Oct 6, 2021
35ee301
Some docs updates (#21069)
annatisch Oct 6, 2021
5f9cad6
Sync eng/common directory with azure-sdk-tools for PR 2064 (#21073)
azure-sdk Oct 6, 2021
a6a6bf7
Revert "[ServiceBus] Add large message support to SBAdministrationCli…
yunhaoling Oct 6, 2021
a8d59c1
Add devops variable setting/clearing to eng/common (#21065)
azure-sdk Oct 6, 2021
eb331bc
[formrecognizer] Update changelog for release (#21086)
catalinaperalta Oct 6, 2021
d19234a
[EventHubs & ServiceBus] raise error for loop param if Python 3.10 (#…
swathipil Oct 6, 2021
fa3aac2
[KV] Update keys changelog for release (#21078)
mccoyp Oct 6, 2021
3ab04e7
[formrecognizer] update readme with paul's feedback (#21084)
kristapratico Oct 6, 2021
c91d0ca
Package Requirement parsing fix (#21087)
scbedd Oct 6, 2021
eccb8cf
[formrecognizer] Address migration guide feedback (#21089)
catalinaperalta Oct 6, 2021
c53f129
Increment version for monitor releases (#21088)
azure-sdk Oct 6, 2021
ea4793f
[SchemaRegistry] update changelog date (#21095)
swathipil Oct 6, 2021
d318e36
Remove audience (#21097)
Oct 6, 2021
0f6308f
[ServiceBus & EventHubs] Update 3.10 and 2.7 (#20985)
yunhaoling Oct 6, 2021
8dc12a7
adding MAXIUMUM supported override as well as minimum (#21103)
scbedd Oct 6, 2021
5724877
[formrecognizer] Small sample reorganization (#21108)
catalinaperalta Oct 6, 2021
eb2e310
[formrecognizer] Fix sample directives (#21102)
catalinaperalta Oct 6, 2021
8b292dc
Update CHANGELOG.md (#21111)
Oct 6, 2021
2a7a465
[KV] Adjust rotation test for preview behavior (#21093)
mccoyp Oct 7, 2021
bdaa13a
Increment version for servicebus releases (#21114)
azure-sdk Oct 7, 2021
f3268ec
Increment version for schemaregistry releases (#21064)
azure-sdk Oct 7, 2021
fd07595
Increment version for schemaregistry releases (#21104)
azure-sdk Oct 7, 2021
acab5a1
Skip unnecessary and misleading role assignment warnings in local tes…
azure-sdk Oct 7, 2021
c7d9644
Increment version for synapse releases (#21052)
azure-sdk Oct 7, 2021
3e4dfec
[KV] Run parameterized administration tests in live pipeline (#20752)
mccoyp Oct 7, 2021
bb6d5f1
[Test Proxy] Update sanitizer section of migration guide (#21077)
mccoyp Oct 7, 2021
2b6a2be
Increment version for formrecognizer releases (#21128)
azure-sdk Oct 7, 2021
e8e4b4f
Increment version for keyvault releases (#21127)
azure-sdk Oct 7, 2021
7c0dce9
Increment package version after release of azure-containerregistry (#…
azure-sdk Oct 7, 2021
d1c2808
Update migration_guide.md (#20428)
SiddyP Oct 7, 2021
cb90cde
change azure data tables to azure tables (#20637)
mario-guerra Oct 7, 2021
bd9a0ce
address review feedback (#21109)
xiangyan99 Oct 7, 2021
0afb161
[AutoRelease] t2-storagecache-2021-09-30-71992 (#20974)
Oct 8, 2021
2116141
[AutoRelease] t2-datafactory-2021-09-18-74999(Do not merge) (#20755)
Oct 8, 2021
1a89eab
Revert "[AutoRelease] t2-datafactory-2021-09-18-74999" (#21167)
msyyc Oct 8, 2021
808b31a
Making identity optional when getting TURN credentials (#21023)
AriZavala2 Oct 8, 2021
fbdf6f4
Resolve Installation Ordering during dev build (#21025)
scbedd Oct 8, 2021
af4869b
[Perf] Call Run() once before starting recording (#21162)
mikeharder Oct 8, 2021
cd4d365
Avoid overwriting package info properties when dev version is added (…
azure-sdk Oct 8, 2021
8b97ddd
[KV] Fix flakiness in release policy test (#21181)
mccoyp Oct 9, 2021
cbf7ba8
[KV] Add executable rotation samples (#21161)
mccoyp Oct 9, 2021
62f14c7
[AutoRelease] t2-datafactory-2021-10-08-83776 (#21172)
Oct 9, 2021
952058c
delete old changelog (#21188)
BigCat20196 Oct 9, 2021
1714d7b
[AutoRelease] t2-servicelinker-2021-09-28-35602 (#20906)
Oct 9, 2021
408c06d
Update release-issue-status (#21189)
RAY-316 Oct 9, 2021
6207bfc
[AutoRelease] t2-datafactory-2021-10-09-95574(Do not merge) (#21192)
Oct 9, 2021
430d268
[AutoRelease] t2-network-2021-09-22-71444(Do not merge) (#20785)
Oct 11, 2021
9beca49
[AutoRelease] t2-synapse-2021-10-09-97705 (#21185)
Oct 11, 2021
0c016cf
[Storage]Edit doc for api_version (#21085)
xiafu-msft Oct 11, 2021
f24da44
[Datalake][Blob]Fix class type and doc (#20805)
xiafu-msft Oct 11, 2021
00a738b
Test new swagger (#20943)
xiafu-msft Oct 12, 2021
be678f1
[AutoRelease] t2-rdbms-2021-10-08-46793 (#21163)
Oct 12, 2021
e9869fa
Fix docs in ServiceBusMessage class (#20876)
rsdoherty Oct 12, 2021
60ea3ec
Fix auto-close bug (#21214)
BigCat20196 Oct 12, 2021
d41486f
Doc private package for python SDK (#21219)
BigCat20196 Oct 12, 2021
a7181e7
[AutoRelease] t2-hdinsight-2021-10-08-10223 (#21171)
Oct 12, 2021
2dba6fa
[purview account] Delete azure-purview-account directory (#21215)
msyyc Oct 12, 2021
1ded429
Added daily branch ci-config updates, and queue the python docs ci (#…
sima-zhu Oct 12, 2021
bd16c42
Setup a pipeline job for publishing Docs to daily branch. (#20809)
sima-zhu Oct 12, 2021
6d1afed
Increment package version after release of azure-monitor-query (#21120)
azure-sdk Oct 12, 2021
41074db
Increment version for eventgrid releases (#21062)
azure-sdk Oct 12, 2021
1b85f03
fix tests after service updates (#21232)
kristapratico Oct 12, 2021
9b54ea4
[AutoRelease] t2-compute-2021-10-12-49115 (#21218)
Oct 13, 2021
1a5e075
[Identity] Add known issues section to readme (#21222)
mccoyp Oct 13, 2021
0c1017c
Sync eng/common directory with azure-sdk-tools for PR 2095 (#21228)
azure-sdk Oct 13, 2021
7862449
Sample Skipping Update (#21247)
scbedd Oct 13, 2021
bb89244
Increment version for eventhub releases (#21112)
azure-sdk Oct 13, 2021
ec2292e
Increment package version after release of azure-ai-language-question…
azure-sdk Oct 13, 2021
31e6898
fix bug in session id being empty string and partition key fails to p…
yunhaoling Oct 13, 2021
2a0e927
Enabling Python 3.10 in build matrix (#21063)
scbedd Oct 13, 2021
98df46a
[formrecognizer] Fix get operations samples (#21242)
catalinaperalta Oct 14, 2021
19dffa9
[AutoRelease] t2-containerinstance-2021-10-13-38386 (#21248)
Oct 14, 2021
84b3839
[AutoRelease] t2-storagepool-2021-09-28-69422(Do not merge) (#20917)
Oct 14, 2021
304429f
[Blob]Migration Guide (#21082)
xiafu-msft Oct 14, 2021
8f0d3e6
[AutoRelease] t2-baremetalinfrastructure-2021-09-10-67045 (#20647)
Oct 14, 2021
c9a28b9
Release issue status (#21256)
RAY-316 Oct 14, 2021
edca9a5
webpubsub config (#21255)
RAY-316 Oct 14, 2021
8a48e5d
[AutoRelease] t2-webpubsub-2021-10-11-60291 (#21194)
Oct 14, 2021
c7edd33
Enable API change detection for Python PR (#21195)
praveenkuttappan Oct 14, 2021
0127451
udpate release date (#21267)
xiangyan99 Oct 14, 2021
ab96d70
[Blob]ARM migration (#21117)
xiafu-msft Oct 14, 2021
368091d
Increment version for identity releases (#21268)
azure-sdk Oct 14, 2021
d616b36
Fix typo (#20398)
paikend Oct 14, 2021
9bb9379
Share tests (#20559)
xiafu-msft Oct 14, 2021
4691c52
Fix BuildTargetingString and identity variables in search and digital…
benbp Oct 14, 2021
bfd3e81
[Datalake]Batch delete files or empty directories (#21269)
xiafu-msft Oct 14, 2021
9ac7834
[packaging] Include license in PyPi packages (#20193)
major Oct 14, 2021
e98f73f
Added OrMetadata Transform (#21270)
tasherif-msft Oct 14, 2021
ec313ba
Added new test settings locations to gitignore (#21271)
tasherif-msft Oct 15, 2021
788e57a
[AutoRelease] t2-recoveryservicesbackup-2021-08-24-85532 (#20395)
Oct 15, 2021
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)
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
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.
9 changes: 6 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Service team
####
# PRLabel: %Azure.Identity
/sdk/identity/ @chlowell @mccoyp @schaabs
/sdk/identity/ @chlowell @mccoyp @schaabs @xiangyan99

# PRLabel: %Event Hubs
/sdk/eventhub/ @annatisch @yunhaoling @swathipil @rakshith91
Expand All @@ -39,6 +39,9 @@

# PRLabel: %Communication
/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 @@ -63,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 Expand Up @@ -101,7 +104,7 @@
/sdk/servicebus/ @annatisch @yunhaoling @swathipil @rakshith91

# PRLabel: %Synapse
/sdk/synapse/ @aim-for-better @idear1203
/sdk/synapse/ @wonner @idear1203 @xiangyan99

# PRLabel: %EngSys
/sdk/template/ @Azure/azure-sdk-eng
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
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our [public developer docs](https://docs.microsoft.com/python/azure/) or our versioned [developer docs](https://azure.github.io/azure-sdk-for-python).

## _Disclaimer_

_Azure SDK Python packages support for Python 2.7 is ending 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_

## Getting started

For your convenience, each service has a separate set of libraries that you can choose to use instead of one, large Azure package. To get started with a specific library, see the `README.md` (or `README.rst`) file located in the library's project folder.
Expand Down Expand Up @@ -32,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
4 changes: 2 additions & 2 deletions doc/dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Overview of the documents:
- [Developer Set-Up](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/dev_setup.md) : How to create a development environment for this repo
- [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](./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.
- [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 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/docstring_typehint.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All public methods should have docstrings to document the parameters, keywords,

* [Docstrings](#docstrings)
* [Method Docstrings](#method_docstrings)
* [Model and Client Docstrings](#Model_and_Client_Docstrings)
* [Model and Client Docstrings](#model_and_client_docstrings)
* [Type Hints](#type_hints)
* [Type Hints for Python 2.7 and 3.5+](#type_hints_for_python_2.7_and_3.5+)
* [Type Hints for Python 3.5+](#type_hints_for_python_3.5+)
Expand Down
19 changes: 19 additions & 0 deletions doc/dev/get_unreleased_package_guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Get the Unreleased Package

This guide is to help Python SDK users to get unreleased package.

(1) Submit a draft PR to https://github.com/Azure/azure-rest-api-specs.

(Any modification is OK, because only the pipeline needs to be triggered)
![img.png](unreleased_package_guide_example1.png)

(2) Wait until swagger generation artifacts is complete.

The following figure shows the wheel and zip of the package.Click to download them.
![img.png](unreleased_package_guide_example2.png)

## Note
(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) The private Azure/azure-rest-api-specs-pr repo can only be triggered when the target branch is `main`
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
193 changes: 193 additions & 0 deletions doc/dev/test_proxy_migration_guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
# Guide for migrating to the test proxy from vcrpy

This guide describes the changes that service SDKs should make to their test frameworks in order to take advantage of
the Azure SDK test proxy.

Documentation of the motivations and goals of the test proxy can be found [here][general_docs] in the azure-sdk-tools
GitHub repository, and documentation of how to set up and use the proxy can be found [here][detailed_docs].

## Update existing tests

### Current test structure

Test classes currently inherit from AzureTestCase, and test methods can optionally use decorators:

```py
from devtools_testutils import AzureTestCase

class TestExample(AzureTestCase):

def test_example(self):
...

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

### New test structure

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

```py
from devtools_testutils import AzureRecordedTestCase, RecordedByProxy

class TestExample(AzureRecordedTestCase):

@RecordedByProxy
def test_example(self):
...

@ExamplePreparer()
@RecordedByProxy
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.

> **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
> [pytest's documentation][pytest_collection].

## Run the tests

### Perform one-time setup

The test proxy is made available for your tests via a Docker container. Some tests require an SSL connection to work, so
the Docker image used for the container has a certificate imported that you need to trust on your machine. Instructions
on how to do so can be found [here][proxy_cert_docs].

### Start the proxy server

There is a [PowerShell script][docker_start_proxy] in `eng/common/testproxy` that will fetch the proxy Docker image if
you don't already have it, and will start or stop a container running the image for you. You can run the following
command from the root of the `azure-sdk-for-python` directory to start the container whenever you want to make the test
proxy available for running tests:

```powershell
.\eng\common\testproxy\docker-start-proxy.ps1 "start"
```

Note that the proxy is available as long as the container is running. In other words, you don't need to start and
stop the container for each test run or between tests for different SDKs. You can run the above command in the morning
and just stop the container whenever you'd like. To stop the container, run the same command but with `"stop"` in place
of `"start"`. In the future, the proxy container will be set up and started automatically when tests are run, and
starting it manually will be optional.

For more details on proxy startup, please refer to the [proxy documentation][detailed_docs].

### Record or play back tests

Configuring live and playback tests is done with the `AZURE_TEST_RUN_LIVE` environment variable. When this variable is
set to "true" or "yes", live tests will run and produce recordings. When this variable is set to "false" or "no", or
not set at all, tests will run in playback mode and attempt to match existing recordings.

Recordings for a given package will end up in that package's `/tests/recordings` directory, just like they currently
do.

> **Note:** at this time, support for configuring live or playback tests with a `testsettings_local.cfg` file has been
> deprecated in favor of using just `AZURE_TEST_RUN_LIVE`.

### Register sanitizers

Since the test proxy doesn't use [`vcrpy`][vcrpy], tests don't use a scrubber to sanitize values in recordings.
Instead, sanitizers (as well as matchers and transforms) can be registered on the proxy as detailed in
[this][sanitizers] section of the proxy documentation. Sanitizers can be registered via `add_*_sanitizer` methods in
`devtools_testutils`. For example, the general-use method for sanitizing recording bodies, headers, and URIs is
`add_general_regex_sanitizer`. Other sanitizers are available for more specific scenarios and can be found at
[devtools_testutils/sanitizers.py][py_sanitizers].

Sanitizers, matchers, and transforms remain registered until the proxy container is stopped, so for any sanitizers that
are shared by different tests, using a session fixture declared in a `conftest.py` file is recommended. Please refer to
[pytest's scoped fixture documentation][pytest_fixtures] for more details.

As a simple example, to emulate the effect registering a name pair with a `vcrpy` scrubber, you can provide the exact
value you want to sanitize from recordings as the `regex` in the general regex sanitizer. To replace all instances of
the string "my-key-vault" with "fake-vault" in recordings, you could add something like the following in the package's
`conftest.py` file:

```python
from devtools_testutils import add_general_regex_sanitizer

# autouse=True will trigger this fixture on each pytest run, even if it's not explicitly used by a test method
@pytest.fixture(scope="session", autouse=True)
def add_sanitizers():
add_general_regex_sanitizer(regex="my-key-vault", value="fake-vault")
```

For a more advanced scenario, where we want to sanitize the account names of all storage endpoints in recordings, we
could instead call

```python
add_general_regex_sanitizer(
regex="(?<=\\/\\/)[a-z]+(?=(?:|-secondary)\\.(?:table|blob|queue)\\.core\\.windows\\.net)",
value="fakeendpoint",
)
```

`add_general_regex_sanitizer` accepts a regex, replacement value, and capture group as keyword-only arguments. In the
snippet above, any storage endpoint URIs that match the specified URI regex will have their account name replaced with
"fakeendpoint". A request made to `https://tableaccount-secondary.table.core.windows.net` will be recorded as being
made to `https://fakeendpoint-secondary.table.core.windows.net`, and URIs will also be sanitized in bodies and headers.

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

## Implementation details

### What does the test proxy do?

The gist of the test proxy is that it stands in between your tests and the service. What this means is that test
requests which would usually go straight to the service should instead point to the locally-hosted test proxy.

For example, if an operation would typically make a GET request to
`https://fakeazsdktestaccount.table.core.windows.net/Tables`, that operation should now be sent 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.

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

This is achieved by making POST requests to the proxy server that say whether to start or stop recording or playing
back, as well as what test is being run.

To start recording a test, the server should be primed with a POST request:

```
URL: https://localhost:5001/record/start
headers {
"x-recording-file": "<path-to-test>/recordings/<testfile>.<testname>"
}
```

This will return a recording ID in an `x-recording-id` header. This ID should be sent as an `x-recording-id` header in
all further requests during the test.

After the test has finished, a POST request should be sent to indicate that recording is complete:

```
URL: https://localhost:5001/record/stop
headers {
"x-recording-id": "<x-recording-id>"
}
```

Running tests in playback follows the same pattern, except that requests will be sent to `/playback/start` and
`/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
case.

[detailed_docs]: https://github.com/Azure/azure-sdk-tools/tree/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md
[docker_start_proxy]: https://github.com/Azure/azure-sdk-for-python/blob/main/eng/common/testproxy/docker-start-proxy.ps1
[general_docs]: https://github.com/Azure/azure-sdk-tools/blob/main/tools/test-proxy/README.md
[proxy_cert_docs]: https://github.com/Azure/azure-sdk-tools/blob/main/tools/test-proxy/documentation/trusting-cert-per-language.md
[py_sanitizers]: https://github.com/Azure/azure-sdk-for-python/blob/main/tools/azure-sdk-tools/devtools_testutils/sanitizers.py
[pytest_collection]: https://docs.pytest.org/latest/goodpractices.html#test-discovery
[pytest_fixtures]: https://docs.pytest.org/latest/fixture.html#scope-sharing-fixtures-across-classes-modules-packages-or-session
[sanitizers]: https://github.com/Azure/azure-sdk-tools/blob/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md#session-and-test-level-transforms-sanitiziers-and-matchers
[vcrpy]: https://vcrpy.readthedocs.io
Binary file added doc/dev/unreleased_package_guide_example1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/dev/unreleased_package_guide_example2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/dev/unreleased_package_guide_example3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading