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

[AutoPR track2_azure-mgmt-iothub] iothub t2 readme config #5232

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
2316 commits
Select commit Hold shift + click to select a range
e46f410
Added support for BlobClient -> ContainerClient -> BlobServiceClient …
tasherif-msft Mar 29, 2021
70bf0f0
[Key Vault] Test keys library against managed HSM (#17458)
mccoyp Mar 29, 2021
e4ed55f
[AutoRelease] t2-cdn-2021-03-29 (#17618)
msyyc Mar 30, 2021
dc2c811
[pipeline]Upgrade autorest.python to 5.6.2 (#17623)
00Kai0 Mar 30, 2021
41f1bbe
[AutoRelease] t2-communication-2021-03-29 (#17622)
msyyc Mar 30, 2021
99e27ee
[AutoRelease] t2-support-2021-03-29-38122(wave4) (#17621)
msyyc Mar 30, 2021
a46589f
[AutoRelease] t2-frontdoor-2021-03-26-19435(wave4) (#17595)
msyyc Mar 30, 2021
e6b2644
test,version,CHANGELOG (#17565)
zhangyan133 Mar 30, 2021
340e41d
Upload metadata function for track2 (#17082)
00Kai0 Mar 30, 2021
7cb210f
Adding update_sync_token functionality to Appconfig Clients (#17421)
seankane-msft Mar 30, 2021
11b37fd
readme fixes (#17634)
seankane-msft Mar 30, 2021
63bc8a0
update version to 1.2.0b1 (#17663)
xiangyan99 Mar 30, 2021
41db0ef
[translation] adds docstrings and code snippets (#17642)
kristapratico Mar 30, 2021
d678b06
update readme for preview.3 (#17649)
catalinaperalta Mar 30, 2021
49e5182
[Key Vault] Fix backup/restore samples (#17648)
mccoyp Mar 30, 2021
cc29b97
Add DependsOn parameter to matrix job generation template (#17664)
azure-sdk Mar 30, 2021
c9761ef
[Perf] Align storage-blob Track1 arguments with Track2 (#17654)
mikeharder Mar 30, 2021
331b16d
remove 3.5 support (#17636)
xiangyan99 Mar 30, 2021
dd61dd5
[translation] unexpose filters and add default_format_version (#17678)
kristapratico Mar 30, 2021
a8f6c0d
[Doc][Fix]Add link for optional configuration (#17647)
xiafu-msft Mar 30, 2021
e3d44e4
[AppConfig] adding samples based on .NET samples (#17677)
seankane-msft Mar 30, 2021
10bc4e8
Fixed github issue for phone numbers and sms readme files (#17681)
lsundaralingam Mar 30, 2021
0aa924a
[DataLake][Fix]only set recursive=True for delete directory (#17671)
xiafu-msft Mar 31, 2021
dee491e
[Storage]Make key in conn_str case insensitive (#17670)
xiafu-msft Mar 31, 2021
aaa41cd
Search adls gen2 (#17684)
xiangyan99 Mar 31, 2021
c9db468
adding line items to invoice samples (#17682)
catalinaperalta Mar 31, 2021
abba261
[core] connection string parser only (#17640)
swathipil Mar 31, 2021
a70c40c
[EH&SB] update doc for transport type (#17698)
yunhaoling Mar 31, 2021
93f9f0b
Removing administration package (#17668)
jbeauregardb Mar 31, 2021
b285461
[doc translator] adding tests (#17511)
Mar 31, 2021
45dcdfc
[formrecognizer] Adding tests for the reading order kwarg (#17686)
catalinaperalta Mar 31, 2021
5bb85ae
[Tables] Added query injection test (#17547)
annatisch Mar 31, 2021
473a64e
adding id doc samples to samples readme (#17706)
catalinaperalta Mar 31, 2021
1839ca8
move API Review after artifact publish (#17691)
scbedd Mar 31, 2021
7ace5b1
undo remove requests (#17702)
swathipil Mar 31, 2021
fe3508a
Fix RetryPolicy setting extremely long connection timeout (#17610)
chlowell Mar 31, 2021
cf1a078
Sync eng/common directory with azure-sdk-tools repository (#17710)
azure-sdk Mar 31, 2021
83eb6e3
[formrecognizer] update test-resources.json (#17709)
kristapratico Mar 31, 2021
d5c04f0
[formrecognizer] Release script changelog update (#17712)
catalinaperalta Mar 31, 2021
49e545d
Updated deletion tag for identity tests (#17665)
lsundaralingam Mar 31, 2021
eaa4acf
Update OT to 1.0.0 (#16982)
Mar 31, 2021
f777abe
updated model attributes (#17719)
Apr 1, 2021
43ab3a4
Update changelog date on OT, OC (#17725)
Apr 1, 2021
8c28b75
[AutoRelease] t2-labservices-2021-03-31-84474(Do not merge) (#17694)
msyyc Apr 1, 2021
279e2a3
[Auto-Release-Pipeline] Python Auto Release Pipeline (#17730)
msyyc Apr 1, 2021
1bf8589
[AutoRelease] t2-compute-2021-03-26-71715(Do not merge) (#17587)
msyyc Apr 1, 2021
625e10e
adding passport tests for id docs model (#17721)
catalinaperalta Apr 1, 2021
fac3304
Update README.md (#17729)
Rodrigossz Apr 1, 2021
2acd938
Sync eng/common directory with azure-sdk-tools for PR 1525 (#17717)
azure-sdk Apr 1, 2021
b591ce7
default version of python no longer ships with setuptools. make certa…
scbedd Apr 1, 2021
01f32e9
Acr auth flow (#17540)
seankane-msft Apr 1, 2021
c4acce9
[KeyVault] tests-mgmt.yml (#17707)
swathipil Apr 1, 2021
6a3665d
add __repr__ to models (#17726)
Apr 1, 2021
a1918ff
applied changes suggested by @kristapratico (#17738)
Apr 1, 2021
f722d4c
setuptools is no longer present in the default python install. (#17737)
scbedd Apr 1, 2021
a12fdd3
[translation] add error state tests (#17716)
kristapratico Apr 1, 2021
8cdc660
SHA e6fa7db931a3e5182e5685630971b64987719938 (#17756)
xiangyan99 Apr 1, 2021
acd8518
add adf support (SHA f953424dd168e71373bc52edb9713d2d86a14ada) (#17635)
xiangyan99 Apr 1, 2021
4fbf75b
expose new skills (#17759)
xiangyan99 Apr 2, 2021
51011c3
[ContainerRegistry] Pre-release script (#17676)
seankane-msft Apr 2, 2021
da03e16
[SB] tests-mgmt.yml (#17699)
swathipil Apr 2, 2021
808f66e
[Container Registry] Acr delete tag (#17608)
seankane-msft Apr 2, 2021
9315f34
[EG] tests-mgmt.yml (#17704)
swathipil Apr 2, 2021
e7cefc0
[Container Registry] Acr delete repo (#17660)
seankane-msft Apr 2, 2021
5c4d08b
[Container Registry] Acr delete artifact (#17645)
seankane-msft Apr 2, 2021
a27bae5
[SB] update template path (#17772)
swathipil Apr 2, 2021
3670a16
[EG] update template path (#17771)
swathipil Apr 2, 2021
a1f6028
[EH] tests-mgmt.yml (#17652)
swathipil Apr 2, 2021
72ea38b
[ContainerRegistry] Acr set operations (#17701)
seankane-msft Apr 2, 2021
6eb912d
update reading order kwarg docs (#17768)
catalinaperalta Apr 2, 2021
607d305
Changed threshold value to fix Datalake upload performance (#17773)
tasherif-msft Apr 2, 2021
acf303a
[EH] drop 3.5 (#17753)
swathipil Apr 2, 2021
c850b89
[AppConfig] pre-release script (#17675)
seankane-msft Apr 2, 2021
8554251
Consolidate proactive token refreshing code (#17722)
chlowell Apr 2, 2021
7c4cfe2
[EventHub] update checkpointstore service operations to take kwargs (…
swathipil Apr 2, 2021
de272ae
Update azure-identity readme (#17777)
chlowell Apr 3, 2021
7915990
Add azure Sas credential support (#17733)
Apr 3, 2021
294668b
Adapt SB to latest OT changes (#17761)
Apr 5, 2021
8fee2b6
[Container Registry] Transport wrapper (#17633)
seankane-msft Apr 5, 2021
8972875
Increment package version after release of azure-core (#17770)
azure-sdk Apr 5, 2021
8a7c5a4
[ServiceBus] Bump uamqp dependency (#17673)
yunhaoling Apr 5, 2021
18a9442
[SB] update Python 3.5 to 3.6 (#17751)
swathipil Apr 5, 2021
c5c4228
Adapt EH to OT 1.0.0 (#17783)
Apr 5, 2021
9aeeca6
Fixed parse_connection_str function to have better error handling (#1…
jbeauregardb Apr 5, 2021
a51f9d5
Use single quotes for matrix generator command line arguments (#17754)
azure-sdk Apr 5, 2021
908835c
[SB] update release date (#17791)
swathipil Apr 5, 2021
2c5245f
[OT] Warn only on attribute error (#17784)
Apr 5, 2021
9487d10
add samples readme (#17782)
Apr 5, 2021
fed3b36
Add FeatureFlagConfigurationSetting, SecretReferenceConfigurationSett…
seankane-msft Apr 5, 2021
658d94b
Search nomalizer (#17579)
xiangyan99 Apr 5, 2021
2a80053
[EventHubs] Bump uamqp dependency (#17674)
yunhaoling Apr 5, 2021
cff7650
[ContainerRegistry] new swagger (#17790)
seankane-msft Apr 5, 2021
6603722
updated changelog for release (#17700)
seankane-msft Apr 5, 2021
fa00c1d
[Tables] Updated datetime de/serialization (#17776)
annatisch Apr 5, 2021
b0b5a20
update credential type (#17798)
swathipil Apr 5, 2021
5bcfe3f
[Storage] mgmt live tests (#17774)
swathipil Apr 5, 2021
698a7a4
[EH] update credential type to AsyncTokenCredential (#17799)
swathipil Apr 5, 2021
f15f11d
you cannot pass a Null value to a tag. need to set a real value if EN…
scbedd Apr 5, 2021
d4811cf
[SB] update async client to take AsyncTokenCredential (#17802)
swathipil Apr 5, 2021
105a27c
Use base platform matrix for CI tests (#17667)
benbp Apr 5, 2021
0523eab
[translation] rename package/namespace (#17792)
kristapratico Apr 5, 2021
53033f2
[ContainerRegistry] ACR orderby (#17794)
seankane-msft Apr 5, 2021
9c0e712
[Communications-Chat] Refactor identifiers (#17680)
annatisch Apr 5, 2021
a9b77d7
add nspkg as a release artifact (#17809)
kristapratico Apr 5, 2021
4485013
Add Test Environment that runs tests w/out aiohttp (#17718)
scbedd Apr 5, 2021
379803f
Add WSL fallback to InteractiveBrowserCredential (#17752)
chlowell Apr 5, 2021
3086be4
[Container Registry] ACR docs (#17807)
seankane-msft Apr 5, 2021
2264517
[Key Vault] Add local crypto support for AES-CBCPAD (#17762)
mccoyp Apr 5, 2021
472b1d4
Revise AuthenticationRecord to align with other SDKs (#17689)
chlowell Apr 5, 2021
39a0685
[Key Vault] Update changelog for keys 4.4.0b4 (#17813)
mccoyp Apr 6, 2021
e3495f8
Update changelog for azure-identity 1.6.0b3 (#17815)
chlowell Apr 6, 2021
824665d
[Tables] Fix for async retry policy (#17810)
annatisch Apr 6, 2021
160e3ed
[Container Registry] ACR list_repositories pageable (#17714)
seankane-msft Apr 6, 2021
830db5d
update changelog date for release (#17811)
kristapratico Apr 6, 2021
d336589
Increment package version after release of azure-search-documents (#1…
azure-sdk Apr 6, 2021
25a8e4f
[EH] update api ref links to point to latest (#17831)
swathipil Apr 6, 2021
a555acd
Increment version for storage releases (#17012)
azure-sdk Apr 6, 2021
b20bcbf
Update eng_sys_checks to highlight the queue time options for skippin…
scbedd Apr 6, 2021
e95f3a2
[EventHubs] Improvement on doc and sample (#17833)
yunhaoling Apr 6, 2021
ee88e31
[Blob] Fixed the ability to upload from a generator (#17551)
tasherif-msft Apr 6, 2021
5d30958
Upgrade OT monitor exporter to 1.0.0, remove support for Python 3.5 (…
lzchen Apr 6, 2021
8db319c
small fixes to samples and readme (#17842)
seankane-msft Apr 6, 2021
d72b1ce
Increment package version after release of azure-data-tables (#17834)
azure-sdk Apr 6, 2021
c48529b
Increment package version after release of azure-keyvault-keys (#17843)
azure-sdk Apr 6, 2021
b34a952
Date on changelog (#17846)
Apr 6, 2021
f9d5fd3
Increment package version after release of azure-ai-translation-docum…
azure-sdk Apr 6, 2021
ba32ad5
Increment package version after release of azure-ai-formrecognizer (#…
azure-sdk Apr 6, 2021
0761479
Increment package version after release of azure-identity (#17844)
azure-sdk Apr 6, 2021
1e3683d
Update try_import to be aware of what package it's running against (#…
scbedd Apr 6, 2021
14b70f5
Update Date (#17849)
Apr 6, 2021
4d50ff1
Extend whl_no_aio pytest filter glob (#17854)
scbedd Apr 6, 2021
e8f5cca
Avoid running non-2.7 and non-3.6 python versions for windows/macos C…
benbp Apr 7, 2021
1b24873
[AutoRelease] t2-compute-2021-04-06-94854 (#17820)
msyyc Apr 7, 2021
60495f1
[AutoRelease] t2-cosmosdb-2021-04-06-06793(Do not merge) (#17826)
msyyc Apr 7, 2021
3bc2c9c
Increment package version after release of azure-core-tracing-opentel…
azure-sdk Apr 7, 2021
88a578b
[AutoRelease] t2-synapse-2021-04-07-40286 (#17863)
msyyc Apr 7, 2021
f16535e
[AutoRelease] t2-datamigration-2021-04-07-23754(wave4) (#17861)
msyyc Apr 7, 2021
3318cee
[AutoRelease] t2-loganalytics-2021-04-06-87551 (#17824)
msyyc Apr 7, 2021
78cbd62
Changed version to b1 for fixing build pipeline (#17858)
tasherif-msft Apr 7, 2021
0168981
Added missing README line create_file() (#17731)
tasherif-msft Apr 7, 2021
21f1bac
azure-identity performance tests (#17490)
chlowell Apr 7, 2021
11bbd11
adding myself to appconfig and tables (#17877)
seankane-msft Apr 7, 2021
4bb2951
CertificateCredential requires either certificate_path or certificate…
chlowell Apr 7, 2021
47cbcfa
[autorest] updating to point to new readme.md (#17853)
JoshuaLai Apr 7, 2021
d953be7
Prepare for release EG (#17881)
Apr 7, 2021
a1752b3
Rename - remove_participant -> user -> identifier (#17814)
sarkar-rajarshi Apr 7, 2021
54a8553
Increment package version after release of azure-servicebus (#17878)
azure-sdk Apr 7, 2021
3c5a63c
Increment package version after release of azure-eventgrid (#17887)
azure-sdk Apr 7, 2021
3dc25cc
[Key Vault] Update live MHSM pipeline testing setup (#17886)
mccoyp Apr 7, 2021
03ea632
Added managed identity tests to PNM (#17884)
jbeauregardb Apr 7, 2021
4e42772
Temporarily replace macOS CI tests with ubuntu CI tests (#17885)
benbp Apr 7, 2021
379a23f
[Container Registry] Test fixes (#17847)
seankane-msft Apr 7, 2021
8fe589d
[AutoRelease] t2-changeanalysis-2021-04-06-95497 (#17819)
msyyc Apr 8, 2021
58a1c0d
[Key Vault] Target multiple API versions with tests (certificates) (#…
mccoyp Apr 8, 2021
c1af73f
add override resourcegraph (#17866)
zhangyan133 Apr 8, 2021
f1a6b32
[AutoRelease] t2-containerservice-2021-04-07-68775(Do not merge) (#17…
msyyc Apr 8, 2021
8bda918
[AutoRelease] t2-storagesync-2021-04-07-19792 (#17869)
msyyc Apr 8, 2021
d34872c
[AutoRelease] t2-resourcegraph-2021-03-31-51385 (#17692)
msyyc Apr 8, 2021
1c71790
[AutoRelease] t2-azurestack-2021-04-08-81999 (#17892)
msyyc Apr 8, 2021
ea8a73b
scrubbing url (#17872)
seankane-msft Apr 8, 2021
cb464b2
[Tables] Cosmos workaround for Merge/Update (#17888)
seankane-msft Apr 8, 2021
7ed5194
Python SDK: CognitiveServices ComputerVision API 3.2 (v0.8.0) (#17482)
tjprescott Apr 8, 2021
f22f1ab
semantic search (#17690)
xiangyan99 Apr 8, 2021
17bd690
Change date for releases (#17907)
Apr 8, 2021
d695852
catch general exception, remove azure.core import (#17908)
seankane-msft Apr 8, 2021
d16d477
Added typing-extensions dep to identity (#17912)
annatisch Apr 8, 2021
fbfe330
[Tables] fixing test failure b/c of cosmos rate limiting (#17922)
seankane-msft Apr 8, 2021
fa8a0ab
azure core dependency update (#17921)
sarkar-rajarshi Apr 8, 2021
9a6fb0e
updating template to not break on twine checks (#17812)
seankane-msft Apr 8, 2021
99a1c75
skip bad target tests (#17925)
kristapratico Apr 8, 2021
0b9bfd6
[AutoRelease] t2-customproviders-2021-04-08-50278 (#17897)
msyyc Apr 9, 2021
37c925e
[AutoRelease] t2-appplatform-2021-04-08-16036 (#17896)
msyyc Apr 9, 2021
d2e5820
Acr remove delete (#17943)
seankane-msft Apr 9, 2021
92973d2
Update README.md (#17945)
Apr 9, 2021
d2af6af
Fix BaseName initialization (#17948)
azure-sdk Apr 9, 2021
838081a
Add and fix samples for OT (#17876)
Apr 9, 2021
4283862
Added test pass info for python (#16026)
LarryOsterman Apr 9, 2021
c8658b8
move apireview step into the analyze stage (#17924)
scbedd Apr 9, 2021
f3760fc
Sync eng/common directory with azure-sdk-tools for PR 1548 (#17952)
azure-sdk Apr 10, 2021
6f4a33e
Sync eng/common directory with azure-sdk-tools for PR 1515 (#17935)
azure-sdk Apr 12, 2021
20a3df6
[AutoRelease] t2-datashare-2021-04-12-49497 (#17959)
msyyc Apr 12, 2021
9afa924
[AutoRelease] t2-hanaonazure-2021-04-12-42294 (#17966)
msyyc Apr 12, 2021
ff15463
Add ubuntu 18.04 agent VM DNS workaround to CI tests (#17975)
benbp Apr 12, 2021
76f9ca7
Removed the update CI target packages step. (#17984)
azure-sdk Apr 12, 2021
66416e7
Sync eng/common directory with azure-sdk-tools for PR 1551 (#17986)
azure-sdk Apr 12, 2021
75c8874
Update eng/common dev version template. (#17993)
azure-sdk Apr 13, 2021
8f7f585
Enable retain runs. (#17960)
mitchdenny Apr 13, 2021
40e7f7d
Revise integration stage condition. (#17998)
mitchdenny Apr 13, 2021
c57ebb4
upgrade version for autorest and nodejs (#18000)
msyyc Apr 13, 2021
a992c8b
Quick fix for retain runs (#18001)
mitchdenny Apr 13, 2021
e558eaf
Sync eng/common directory with azure-sdk-tools for PR 1553 (#18002)
azure-sdk Apr 13, 2021
e748baa
Revert retain. (#18004)
mitchdenny Apr 13, 2021
b2dff18
[AutoRelease] t2-healthcareapis-2021-04-12-56802 (#17968)
msyyc Apr 13, 2021
5bf3d84
Remove unnecessary attribute access (#18007)
jiasli Apr 13, 2021
03bed39
[Communication] - SDK - Synced SMS and Phone Numbers shared folders (…
jbeauregardb Apr 13, 2021
a14cebf
update release date (#17988)
xiangyan99 Apr 13, 2021
6b640a4
Update document translation sample slug (#17989)
kristapratico Apr 13, 2021
6f01b19
updating generated code (#17874)
seankane-msft Apr 13, 2021
80382ed
[AppConfiguration] fix tests (#17917)
seankane-msft Apr 13, 2021
1f28dd5
Sync eng/common directory with azure-sdk-tools for PR 1552 (#18011)
azure-sdk Apr 13, 2021
f8e1b23
fix search fields (#18014)
xiangyan99 Apr 13, 2021
2701194
Add Conda Publishing (#17889)
scbedd Apr 13, 2021
1019494
[Communication]: Removed error code assertion from unauthorized phone…
lsundaralingam Apr 13, 2021
01c8b28
[Container Registry] fixing up the test-resources-post script (#17883)
seankane-msft Apr 13, 2021
1b33479
[Communication]: Migrated python identity tests to use ARM template (…
lsundaralingam Apr 13, 2021
f44d28b
Increment package version after release of azure-search-documents (#1…
azure-sdk Apr 13, 2021
6cd1f37
add perf tests (#17519)
xiangyan99 Apr 14, 2021
e55a470
Deprecate Azure-Synapse (#18027)
scbedd Apr 14, 2021
e01a658
shared_requirements msrest verison update (#17938)
RAY-316 Apr 14, 2021
7f94101
[Container Registry] adding blurb about env vars to set (#17976)
seankane-msft Apr 14, 2021
f241e37
[Communication]: Added exception to begin_update_phone_number_capabil…
lsundaralingam Apr 14, 2021
9c65b7a
Fixed identity samples (#18046)
lsundaralingam Apr 14, 2021
2be0cad
Call bypass-local-dns.yml from verify-agent-os.yml - Easy way to ensu…
azure-sdk Apr 15, 2021
b1ebc32
Sync eng/common directory with azure-sdk-tools for PR 1555 (#18051)
azure-sdk Apr 15, 2021
6fb418f
Update swagger_to_sdk_config_autorest.json (#18058)
msyyc Apr 15, 2021
f394ae8
Sync eng/common directory with azure-sdk-tools for PR 1559 (#18064)
azure-sdk Apr 15, 2021
f4c8a8c
[AutoRelease] t2-dns-2021-04-14-12237 (#18039)
msyyc Apr 15, 2021
6d6f68b
[AutoRelease] t2-hybridcompute-2021-04-15-18223 (#18062)
msyyc Apr 15, 2021
a527161
Fix Opentelemetry exporter azuremonitor Readme issues (#18069)
v-xuto Apr 15, 2021
7fe58e9
remove multiapi generated code (#18052)
xiangyan99 Apr 15, 2021
0629108
allow filtering live test sets based on package name (#18013)
GoWang Apr 15, 2021
8a143e1
[EventHubs] user agent impl update (#18040)
yunhaoling Apr 15, 2021
61cdfd2
update sample slugs for services (#18081)
kristapratico Apr 15, 2021
4c6112b
Update sample readme slug (#18009)
chlowell Apr 15, 2021
99cf2bd
[ServiceBus] update samples, docs and tests for sql rule filter (#18042)
yunhaoling Apr 15, 2021
77feaf1
recording processor updating for foreign clouds (#18073)
seankane-msft Apr 15, 2021
ebb02e3
dns changelog config (#18070)
RAY-316 Apr 16, 2021
46b402f
Support both master and main in Python (#18074)
sima-zhu Apr 16, 2021
a5607a7
[ServiceBus] validate iso8601 duration format in mgmt module (#18044)
yunhaoling Apr 16, 2021
6be6d47
[Tables] Client and pipeline refactor (#18045)
annatisch Apr 16, 2021
c6fb23f
Update azure-template (#18056)
scbedd Apr 16, 2021
e7682d1
Release CognitiveServices AnomalyDetector 3.0.0b3 (#18080)
tjprescott Apr 16, 2021
b1b18de
fix build (#18108)
Apr 16, 2021
a162bf2
CODEOWNERS tests.yml: @danieljurek -> @benbp (#18111)
danieljurek Apr 16, 2021
a5d0e97
[Key Vault] Add public_exponent option to create_key (#18024)
mccoyp Apr 16, 2021
66f11d7
Correct expiration epoch time (#18026)
Leoaqr Apr 17, 2021
40d4e13
Enabled exists() for CPK encrypted blobs (#18106)
tasherif-msft Apr 19, 2021
28545a0
[AutoRelease] t2-resource-2021-04-16-89132 (#18097)
msyyc Apr 19, 2021
4deec3e
[AutoRelease] t2-storage-2021-04-13-34265 (#18003)
msyyc Apr 19, 2021
dffee64
Fix pypi link (#18136)
lzchen Apr 19, 2021
2a2cf6b
[Tables] Test fixes (#18075)
seankane-msft Apr 19, 2021
bc317cc
Sync eng/common directory with azure-sdk-tools for PR 1560 (#18112)
azure-sdk Apr 19, 2021
4d29aef
[Tables] Adding azurite support (#17944)
seankane-msft Apr 19, 2021
91d2509
[EventHub] improved migration guide (#17953)
swathipil Apr 19, 2021
796be71
[Tables] Removed batching result (#18132)
annatisch Apr 19, 2021
064e436
Use underscore-prefixed variable name when setting sub config values …
azure-sdk Apr 19, 2021
2ada230
unredact headers and query params for logging (#18117)
kristapratico Apr 19, 2021
68095e0
[Blob][Fix]fix downloader.chunks() return chunks in different size (#…
xiafu-msft Apr 20, 2021
390e17c
[Storage]fix retry on large block upload (#17909)
xiafu-msft Apr 20, 2021
5f3b6a1
CodeGen from PR 13980 in Azure/azure-rest-api-specs
Apr 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename - remove_participant -> user -> identifier (Azure#17814)
* Rename - remove_participant -> user -> identifier

* Minor doc updates

* test files modified

* Minor doc updates

* Rename ChatThreadParticipant to ChatParticipant

* modified tests

* Renamed ChatParticipant.user to ChatParticipant.identifier

* Docstring update MicrosoftTeamsUserIdentifier.is_anonymous 'str' to 'bool'

* Minor test refactoring

* Update CHANGELOG.md and README.md

* Import changes for CommunicationUserIdentifier in samples

* Update sdk/communication/azure-communication-chat/README.md

Co-authored-by: Dominik <domessin@microsoft.com>
  • Loading branch information
sarkar-rajarshi and DominikMe authored Apr 7, 2021
commit a1752b3fa1aa8f4b7b839e6704bbdb89c696c6db
4 changes: 4 additions & 0 deletions sdk/communication/azure-communication-chat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
- Changed return type of `send_message` to `SendChatMessageResult`.
- Replaced `CommunicationError` with `ChatError`.
- Refactored `CommunicationTokenCredential` constructor to accept `token` instead of `CommunicationTokenRefreshOptions`.
- Renamed `ChatThreadParticipant` to `ChatParticipant`.
- Renamed attribute `ChatParticipant.user` to `ChatParticipant.identifier`.
- Renamed argument `user` to `identifier` in `ChatThreadClient.remove_participant`.
- Refactored implementation of `CommunicationUserIdentifier`, `PhoneNumberIdentifier`, `MicrosoftTeamsUserIdentifier`, `UnknownIdentifier` to use a `dict` property bag.

## 1.0.0b5 (2021-03-09)
### Breaking Changes
Expand Down
52 changes: 26 additions & 26 deletions sdk/communication/azure-communication-chat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Perform CRD(Create-Read-Delete) operations on thread participants
```Python
list_participants(**kwargs)
add_participants(thread_participants, **kwargs)
remove_participant(participant_id, **kwargs)
remove_participant(participant_identifier, **kwargs)
```

## Send typing notification
Expand Down Expand Up @@ -171,7 +171,7 @@ The following sections provide several code snippets covering some of the most c
Use the `create_chat_thread` method to create a chat thread.

- Use `topic`, required, to give a thread topic;
- Use `thread_participants`, optional, to provide a list the `ChatThreadParticipant` to be added to the thread;
- Use `thread_participants`, optional, to provide a list the `ChatParticipant` to be added to the thread;
- `user`, required, it is the `CommunicationUserIdentifier` you created by CommunicationIdentityClient.create_user()
from User Access Tokens
<!-- [User Access Tokens](#user-access-tokens) -->
Expand All @@ -194,7 +194,7 @@ chat_thread_client = chat_client.get_chat_thread_client(create_chat_thread_resul
```Python
# With idempotency_token and thread_participants
from azure.communication.identity import CommunicationIdentityClient
from azure.communication.chat import ChatThreadParticipant, ChatClient, CommunicationTokenCredential
from azure.communication.chat import ChatParticipant, ChatClient, CommunicationTokenCredential
import uuid
from datetime import datetime

Expand All @@ -207,7 +207,7 @@ tokenresponse = identity_client.get_token(user, scopes=["chat"])
token = tokenresponse.token

## OR pass existing user
# from azure.communication.identity import CommunicationUserIdentifier
# from azure.communication.chat import CommunicationUserIdentifier
# user_id = 'some_user_id'
# user = CommunicationUserIdentifier(user_id)

Expand All @@ -221,8 +221,8 @@ def get_unique_identifier_for_request(**kwargs):
return res

topic = "test topic"
thread_participants = [ChatThreadParticipant(
user=user,
thread_participants = [ChatParticipant(
identifier=user,
display_name='name',
share_history_time=datetime.utcnow()
)]
Expand Down Expand Up @@ -408,57 +408,57 @@ Use `list_participants` to retrieve the participants of the thread.
- Use `results_per_page`, optional, The maximum number of participants to be returned per page.
- Use `skip`, optional, to skips participants up to a specified position in response.

An iterator of `[ChatThreadParticipant]` is the response returned from listing participants
An iterator of `[ChatParticipant]` is the response returned from listing participants

```python
chat_thread_participants = chat_thread_client.list_participants(results_per_page=5, skip=5)
for chat_thread_participant_page in chat_thread_participants.by_page():
for chat_thread_participant in chat_thread_participant_page:
print("ChatThreadParticipant: ", chat_thread_participant)
chat_participants = chat_thread_client.list_participants(results_per_page=5, skip=5)
for chat_participant_page in chat_participants.by_page():
for chat_participant in chat_participant_page:
print("ChatParticipant: ", chat_participant)
```

### Add thread participants

Use `add_participants` method to add thread participants to the thread.

- Use `thread_participants`, required, to list the `ChatThreadParticipant` to be added to the thread;
- Use `thread_participants`, required, to list the `ChatParticipant` to be added to the thread;
- `user`, required, it is the `CommunicationUserIdentifier` you created by CommunicationIdentityClient.create_user() from User Access Tokens
<!-- [User Access Tokens](#user-access-tokens) -->
- `display_name`, optional, is the display name for the thread participant.
- `share_history_time`, optional, time from which the chat history is shared with the participant.

A `list(tuple(ChatThreadParticipant, ChatError))` is returned. When participant is successfully added,
A `list(tuple(ChatParticipant, ChatError))` is returned. When participant is successfully added,
an empty list is expected. In case of an error encountered while adding participant, the list is populated
with the failed participants along with the error that was encountered.

```Python
from azure.communication.identity import CommunicationIdentityClient
from azure.communication.chat import ChatThreadParticipant
from azure.communication.chat import ChatParticipant
from datetime import datetime

# create 2 users
identity_client = CommunicationIdentityClient.from_connection_string('<connection_string>')
new_users = [identity_client.create_user() for i in range(2)]

# # conversely, you can also add an existing user to a chat thread; provided the user_id is known
# from azure.communication.identity import CommunicationUserIdentifier
# from azure.communication.chat import CommunicationUserIdentifier
#
# user_id = 'some user id'
# user_display_name = "Wilma Flinstone"
# new_user = CommunicationUserIdentifier(user_id)
# participant = ChatThreadParticipant(
# user=new_user,
# participant = ChatParticipant(
# identifier=new_user,
# display_name=user_display_name,
# share_history_time=datetime.utcnow())

participants = []
for _user in new_users:
chat_thread_participant = ChatThreadParticipant(
user=_user,
chat_participant = ChatParticipant(
identifier=_user,
display_name='Fred Flinstone',
share_history_time=datetime.utcnow()
)
participants.append(chat_thread_participant)
participants.append(chat_participant)

response = chat_thread_client.add_participants(thread_participants=participants)

Expand All @@ -478,18 +478,18 @@ if retry:
### Remove thread participant

Use `remove_participant` method to remove thread participant from the thread identified by threadId.
`user` is the `CommunicationUserIdentifier` you created by CommunicationIdentityClient.create_user() from User Access Tokens
`identifier` is the `CommunicationUserIdentifier` you created by CommunicationIdentityClient.create_user() from `azure-communication-identity`
<!-- [User Access Tokens](#user-access-tokens) -->
and was added into this chat thread.
- Use `user` to specify the `CommunicationUserIdentifier` you created
- Use `identifier` to specify the `CommunicationUserIdentifier` you created
```python
chat_thread_client.remove_participant(user=new_user)
chat_thread_client.remove_participant(identifier=new_user)

# # converesely you can also do the following; provided the user_id is known
# from azure.communication.identity import CommunicationUserIdentifier
# # conversely you can also do the following; provided the user_id is known
# from azure.communication.chat import CommunicationUserIdentifier
#
# user_id = 'some user id'
# chat_thread_client.remove_participant(user=CommunincationUserIdentfier(new_user))
# chat_thread_client.remove_participant(identifier=CommunicationUserIdentifier(new_user))

```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
)

from ._models import (
ChatThreadParticipant,
ChatParticipant,
ChatMessage,
ChatThreadProperties,
ChatMessageReadReceipt,
Expand Down Expand Up @@ -39,7 +39,7 @@
'SendChatMessageResult',
'ChatThreadProperties',
'ChatThreadItem',
'ChatThreadParticipant',
'ChatParticipant',
'ChatMessageType',
'CreateChatThreadResult',
'ChatError',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def create_chat_thread(
:param topic: Required. The thread topic.
:type topic: str
:keyword thread_participants: Optional. Participants to be added to the thread.
:paramtype thread_participants: List[~azure.communication.chat.ChatThreadParticipant]
:paramtype thread_participants: List[~azure.communication.chat.ChatParticipant]
:keyword idempotency_token: Optional. If specified, the client directs that the request is
repeatable; that is, the client can make the request multiple times with the same
Idempotency_Token and get back an appropriate response without the server executing the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
SendChatMessageResult
)
from ._models import (
ChatThreadParticipant,
ChatParticipant,
ChatMessage,
ChatMessageReadReceipt,
ChatThreadProperties
Expand Down Expand Up @@ -464,13 +464,13 @@ def list_participants(
self,
**kwargs # type: Any
):
# type: (...) -> ItemPaged[ChatThreadParticipant]
# type: (...) -> ItemPaged[ChatParticipant]
"""Gets the participants of a thread.

:keyword int results_per_page: The maximum number of participants to be returned per page.
:keyword int skip: Skips participants up to a specified position in response.
:return: An iterator like instance of ChatThreadParticipant
:rtype: ~azure.core.paging.ItemPaged[~azure.communication.chat.ChatThreadParticipant]
:return: An iterator like instance of ChatParticipant
:rtype: ~azure.core.paging.ItemPaged[~azure.communication.chat.ChatParticipant]
:raises: ~azure.core.exceptions.HttpResponseError, ValueError

.. admonition:: Example:
Expand All @@ -490,27 +490,27 @@ def list_participants(
self._thread_id,
max_page_size=results_per_page,
skip=skip,
cls=lambda objs: [ChatThreadParticipant._from_generated(x) for x in objs], # pylint:disable=protected-access
cls=lambda objs: [ChatParticipant._from_generated(x) for x in objs], # pylint:disable=protected-access
**kwargs)


@distributed_trace
def add_participants(
self,
thread_participants, # type: List[ChatThreadParticipant]
thread_participants, # type: List[ChatParticipant]
**kwargs # type: Any
):
# type: (...) -> List[Tuple[ChatThreadParticipant, ChatError]]
# type: (...) -> List[Tuple[ChatParticipant, ChatError]]
"""Adds thread participants to a thread. If participants already exist, no change occurs.

If all participants are added successfully, then an empty list is returned;
otherwise, a list of tuple(chat_thread_participant, chat_error) is returned,
of failed participants and its respective error

:param thread_participants: Thread participants to be added to the thread.
:type thread_participants: List[~azure.communication.chat.ChatThreadParticipant]
:return: List[Tuple[ChatThreadParticipant, ChatError]]
:rtype: List[Tuple[~azure.communication.chat.ChatThreadParticipant, ~azure.communication.chat.ChatError]]
:type thread_participants: List[~azure.communication.chat.ChatParticipant]
:return: List[Tuple[ChatParticipant, ChatError]]
:rtype: List[Tuple[~azure.communication.chat.ChatParticipant, ~azure.communication.chat.ChatError]]
:raises: ~azure.core.exceptions.HttpResponseError

.. admonition:: Example:
Expand Down Expand Up @@ -545,14 +545,14 @@ def add_participants(
@distributed_trace
def remove_participant(
self,
user, # type: CommunicationIdentifier
identifier, # type: CommunicationIdentifier
**kwargs # type: Any
):
# type: (...) -> None
"""Remove a participant from a thread.

:param user: Required. User identity of the thread participant to remove from the thread.
:type user: ~azure.communication.chat.CommunicationIdentifier
:param identifier: Required. Identifier of the thread participant to remove from the thread.
:type identifier: ~azure.communication.chat.CommunicationIdentifier
:return: None
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError, ValueError
Expand All @@ -566,12 +566,12 @@ def remove_participant(
:dedent: 8
:caption: Removing participant from chat thread.
"""
if not user:
raise ValueError("user cannot be None.")
if not identifier:
raise ValueError("identifier cannot be None.")

return self._client.chat_thread.remove_chat_participant(
chat_thread_id=self._thread_id,
participant_communication_identifier=serialize_identifier(user),
participant_communication_identifier=serialize_identifier(identifier),
**kwargs)

def close(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union, Tuple


class ChatThreadParticipant(object):
class ChatParticipant(object):
"""A participant of the chat thread.

All required parameters must be populated in order to send to Azure.

:ivar user: Required. The communication identifier.
:type user: CommunicationIdentifier
:ivar identifier: Required. The communication identifier.
:type identifier: CommunicationIdentifier
:ivar display_name: Display name for the chat thread participant.
:type display_name: str
:ivar share_history_time: Time from which the chat history is shared with the participant. The
Expand All @@ -37,21 +37,21 @@ def __init__(
):
# type: (...) -> None

self.user = kwargs['user']
self.identifier = kwargs['identifier']
self.display_name = kwargs.get('display_name', None)
self.share_history_time = kwargs.get('share_history_time', None)

@classmethod
def _from_generated(cls, chat_thread_participant):
return cls(
user=deserialize_identifier(chat_thread_participant.communication_identifier),
identifier=deserialize_identifier(chat_thread_participant.communication_identifier),
display_name=chat_thread_participant.display_name,
share_history_time=chat_thread_participant.share_history_time
)

def _to_generated(self):
return ChatParticipantAutorest(
communication_identifier=serialize_identifier(self.user),
communication_identifier=serialize_identifier(self.identifier),
display_name=self.display_name,
share_history_time=self.share_history_time
)
Expand Down Expand Up @@ -144,7 +144,7 @@ class ChatMessageContent(object):
:type topic: str
:ivar participants: Chat message content for messages of types participantAdded or
participantRemoved.
:type participants: List[~azure.communication.chat.models.ChatThreadParticipant]
:type participants: List[~azure.communication.chat.models.ChatParticipant]
:ivar initiator: Chat message content for messages of types participantAdded or
participantRemoved.
:type initiator: CommunicationIdentifier
Expand All @@ -166,7 +166,7 @@ def _from_generated(cls, chat_message_content):
participants_list = chat_message_content.participants
if participants_list is not None and len(participants_list) > 0:
participants = [
ChatThreadParticipant._from_generated(participant) for participant in # pylint:disable=protected-access
ChatParticipant._from_generated(participant) for participant in # pylint:disable=protected-access
participants_list
]
else:
Expand Down Expand Up @@ -270,7 +270,7 @@ class CreateChatThreadResult(object):
:ivar chat_thread: Chat thread.
:type chat_thread: ~azure.communication.chat.ChatThreadProperties
:ivar errors: Errors encountered during the creation of the chat thread.
:type errors: List[Tuple[~azure.communication.chat.ChatThreadParticipant, ~azure.communication.chat.ChatError]]
:type errors: List[Tuple[~azure.communication.chat.ChatParticipant, ~azure.communication.chat.ChatError]]
"""

def __init__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class MicrosoftTeamsUserIdentifier(object):
- `cloud` (str): Cloud environment that this identifier belongs to.

:param str user_id: Microsoft Teams user id.
:keyword str is_anonymous: `True` if the identifier is anonymous. Default value is `False`.
:keyword bool is_anonymous: `True` if the identifier is anonymous. Default value is `False`.
:keyword cloud: Cloud environment that the user belongs to. Default value is `PUBLIC`.
:paramtype cloud: str or ~azure.communication.chat.CommunicationCloudEnvironment
"""
Expand Down
Loading