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

[EventHubs] pyamqp rebase main with uamqp switch #25822

Conversation

swathipil
Copy link
Member

@swathipil swathipil commented Aug 23, 2022

This PR is for rebasing the feature/eventhub/pyproto changes onto our current main, for a cleaner merge of the two branches for the GA.

Addressing Anna's comments from uamqp switch PR (#25193):

Issue created [here] to address the below TODOs in a separate PR:

lzchen and others added 30 commits July 27, 2022 11:39
* Bump MacOs version to macos-11

* Update eng/common/scripts/job-matrix/tests/job-matrix-functions.tests.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/job-matrix/tests/job-matrix-functions.tests.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
…re#25340)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: zhenbiao wei <424401670@qq.com>
Co-authored-by: Zhenbiao Wei (WICRESOFT NORTH AMERICA LTD) <v-zhenbwei@microsoft.com>
* add PyYAML

* code

* README.md format

* multi client

* code

* gen multi client

* single client gen

* compatible with meta storage code

* add log to lookup readme

* dpg package does not need _meta.json in MAINFEST.in

* add language, apiviewartifacts

* optimize

* Update setup.py

* sdk generation pipeline support dpg

Signed-off-by: Zhou Zheng <zhouzheng@microsoft.com>

* auto codegen don't use specFolder to define swagger repo's location

Signed-off-by: Zhou Zheng <zhouzheng@microsoft.com>

* fetch automation_generate.sh recent change to sdk_generate.sh

Signed-off-by: Zhou Zheng <zhouzheng@microsoft.com>

* set default spec flord as global constant

Signed-off-by: Zhou Zheng <zhouzheng@microsoft.com>

* set DEFAULT_SPEC_FOLDER in generate_utils

Signed-off-by: Zhou Zheng <zhouzheng@microsoft.com>

* code

* Update sdk_generate.sh

* Update sdk_init.sh

* Update generate_utils.py

Co-authored-by: Zhou Zheng <zhouzheng@microsoft.com>
* add sample

* update

* update

* update

* update port

* Update sdk/identity/azure-identity/samples/azure-aad-auth-with-redis-py.md

Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>

* update

* update

* update

* update

* Update sdk/identity/azure-identity/samples/azure-aad-auth-with-redis-py.md

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* Update sdk/identity/azure-identity/samples/azure-aad-auth-with-redis-py.md

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* Update sdk/identity/azure-identity/samples/azure-aad-auth-with-redis-py.md

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* Update sdk/identity/azure-identity/samples/azure-aad-auth-with-redis-py.md

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
Co-authored-by: Zhenbiao Wei (WICRESOFT NORTH AMERICA LTD) <v-zhenbwei@microsoft.com>
…zure#25424)

* code and test

* Update tests

* Update ci.yml

* Update test_mgmt_datalake.pyTestMgmtDatalaketest_generate_recommendations.json

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Zhenbiao Wei (WICRESOFT NORTH AMERICA LTD) <v-zhenbwei@microsoft.com>
Co-authored-by: zhenbiao wei <424401670@qq.com>
* SDK generated autorest

* upload function added

* patch.py changed

* upload updated

* whl file removed

* whls deleted

* aio updated

* spell check added

* spell check

* Update shared_requirements.txt

* Update MANIFEST.in

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>

* Update setup.py

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>

* spell added

* patch.py updated

* linting corrected

* Update allowed_pylint_failures.py

* readme updated

* patch.py updation

* Update _patch.py

* tests added

* async naming

* test and result

* push the test result

* fix

* fix

* tests added and async built

* yaml added

* yaml updated

* sample and readme updated

* fix ci.yml

* more tests and samples addded and readme updated

* tests

* fix

* fix2

* type added

* type added

* Update CHANGELOG.md

* chnaged to developer

* renamed package

* chnaged ci files

* linting fixes

* changed namespace from analytics to developer

* app_component naming cleaned

* folded get_app_component

* various name changes and added type hinting

* lint changes

* added wrapper for LoadTestClient

* removed msrest dependencies

* corrected Serializer method

* test_smoke fixed

* fixes in aio class

* updates samples

* namespace chg AppComponent, serverMetrics, test

* updated samples

* namespace changes done

* LoadTestClient -> LoadTestingClient

* apnd load_test to test_run & adminstration

* added Readme Descirption

* few changes in tests

* moved SUBSCRIPTION_ID to .env

* resloved readme issues by @iscai-msft in Azure#24744

* resolved #discussion_r925248158

* resolving other issue by @iscai-msft Azure#24744

* Azure#25264#discussion_r925284462

* cleaned tests

* namechanges

* resolved folding issues

* fixing dependencies verison

* added tests for _patch(es)

* removed subs id from recordings

* fixing isodate requirements

* removed SaaS key from smoke test

* folder name chnage + setup.py cleaned

* Readme changes suggested by @msyyc

* added dependencies in shared_requirements.txt

* removed os.environ from tests

* liniting

* removed async test

* fixing tests

* ci fix try

* trying dev_tools

* fix for azure-mgmt-loadtestservice dev_reqs

* added async tests

* some tests

* cleaned setup

* fixing async tests

* added mgmt to loadtestservice to ci

* changed fie mode from json to BinaryIO

* reverting merge by @BigCat20196

* removed TEST_ID

* solving issues by @lmazuel

* update with autorest6.1.0 and update tests

* update and format

* fix playback failed

* Update test_smoke.test_create_or_update_test_run.yaml

* Update test_smoke.test_smoke_create_or_update_test.yaml

* Update test_smoke_async.test_smoke_create_or_update_test.yaml

* updated README

Co-authored-by: Yashika Jain <t-yjain@microsoft.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
Co-authored-by: Yashika Jain <70585531+Yashikaj14@users.noreply.github.com>
Co-authored-by: Jiefeng Chen (WICRESOFT NORTH AMERICA LTD) <v-jiechen@microsoft.com>
Co-authored-by: Nivedit Jain <jain.22@iitj.ac.in>
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
Co-authored-by: BigCat20196 <1095260342@qq.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
* Update _container.py

* Update container.py

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update README.md

* Update README.md

* Update README.md
…25313)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com>
* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: zhenbiao wei <424401670@qq.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
* Adding python SDK

* Updating sdk tests

* Updating constructor and fixing linting errors

* Adding python SDK

* Updating sdk tests

* Updating constructor and fixing linting errors

* Removing pytest from dev_requirements.txt

* Updating azure core dependency

* Updating azure core version

* Adding policy file back into sms module

* Adding newline to policy file

* Adding python SDK

* Updating sdk tests

* Updating constructor and fixing linting errors

* Adding dev requirements

* Removing pytest from dev_requirements.txt

* Adding policy file back into sms module

* Adding newline to policy file

* Updating tests with message id

* Packaging update of azure-communication-email

* Fixing spelling errors

* Fixing spelling

* Including samples and fixing README.md

* Packaging update of azure-communication-email

* Updating packaging file

* Update README and MANIFEST

* Addressing PR comments

* Addressing PR comments

* Fixing comment error

* Updating imports

Co-authored-by: Yogesh Mohanraj <ymohanraj@microsoft.com>
Co-authored-by: Azure SDK Bot <adxpysdk@microsoft.com>
* rename source param and reorder

* changelog, docs, samples updates
* remove vscodecred

* update

* update

* update

* update
swathipil and others added 25 commits August 23, 2022 10:19
…24444)

* adam's working changes

* Adding back Rakshith's websocket changes (Azure#24410)

* Adding back Rakshith's sync websocket changes

* fix async send and receive

* fix transport bugs

* add websocket to dev reqs + async fix hostname

* thank you kashif

* fix tests + turn on websocket tests

* update consumer test timing

* fix merge bugs + remove pyamqp specific tests

* update sleep time in test
* sync websocket timeout to operationtimeout, not changing other transport types just yet

* async websocket to operation timeout

* upstream

* default timeout 1.0

* default timeout 1

* throwing a socket timeout, operationtimeout was throwing out a real error

* replacing socket.timeout with TimeoutError, added into except statments as well

* timeout is inherited from oserror, dont need both

* test timeoutexception throwing errors

* deafult timeout to 1
* websocket timeout fix

* timeout interval for both ssl and webscoket
* sync ce

* async ce

* add string ending

* only pass to transport

* running into same recieve issue with sync

* fixing async - needs to pass to sasl

* remove logger

* stopping here

* adding prefix to fix sample

* add in prefetch

* fixing transport remove print

* host being overriden

* removing trace

* fix to use url async

* aligning sync/async pattern

* removing uneeded hostname switch

* string formatting

* changelog

* adding docstrings for supported events

* pr comments refactoring sync

* mirroring on async

* pr comment docstring

* removing import

* missing _

* missing ssl

* if no port given, we use default set in config

* async of same ^

* add default port in connection stage if port is none

* adding in docstring to cliet/connection string constructor

* custom_endpoint_address in client base async to match sync

* fix import on websocket test

* fix import 2

* skipping tests

* removing import

* pytest.mark
Increment package version after release of azure-eventhub
* prefetch fix

* adding async - sorry!

* async
* starting tests

* updates to websocket sync

* moving around format - unittest and live test

* live test + unittests starting

* websocket async passing

* eol

* assert not return

* assert not return

* fixed assert

* auth tests

* auth unittest pyamqp

* replicating uamqp tests

* keep_alive_thread

* skip for now - no keep alive

* pickle/deepcopy, might not want to keep all

* stopping here for now - need tls on rabbitmq

* cleaning up tests - pickle

* removing and editing uneeded tests

* removing unused test

* added receive amqp tests

* exceptions with pytest.raises, not live

* moving around tests

* testing mgmt calls like _start_producer

* Use --no-cone in pipeline sparse checkout script (Azure#25165)

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>

* unused imports

Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
* pass in right kwarg for network tracing

* remove client changes. Another PR
* enhanced logging for linkedin

* stuff

* fixes

* minor sample fix

* Changelog

* remove unused imports

* fix formatting changes

* change debug level

* update version info

* update changelog

* fix sample

* fix logging message for empty access token
Increment package version after release of azure-eventhub
* fix to keep proxy params

* async changes for proxy

* unit tests

* changes

* more changes

Co-authored-by: swathipil <76007337+swathipil@users.noreply.github.com>

Co-authored-by: swathipil <76007337+swathipil@users.noreply.github.com>
* set default SSL version

* dont need it for EH & SB

* wont impact us, check mtg notes

* decode error wont affect us

* address in SB PR

* change language on logger

* it does close socket

* no other closes needed

* keep for better tracking

* close w/ error when max frame size is invalid

* detach links on session end

* clean up links on session outgoing_end

* reject link by detaching

* uncomment logging for later review

* reject the link that was set in the try
* test fixes for pipeline

* connect to EHerror
* reform stress test

* reform stress test

* updating stress test format

* can specify azure_identity on producer

* epoch level sync

* removing commands

* aligning sync/async

* pyamqp logging

* uamqp to pyamqp

* import remove

* fixing deploy commands

* values file

* checking eng/ file resources

* remove version

* moving location of this folder

* imagepullpolicy, azure_identity for consumer
@swathipil swathipil changed the base branch from feature/eventhub/pyproto to main August 23, 2022 17:44
@swathipil swathipil changed the base branch from main to feature/eventhub/pyproto August 23, 2022 18:11
@swathipil swathipil closed this Aug 31, 2022
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-python that referenced this pull request Sep 26, 2023
AKS Fleet 2023 08 15 preview (Azure#25756)

* Adds base for updating Microsoft.ContainerService/fleet from version preview/2023-06-15-preview to version 2023-08-15-preview

* Updates readme

* Updates API version in new specs and examples

* [Fleet][Dev] Strategy resource API (Azure#25582)

* Adds base for updating Microsoft.ContainerService/fleet from version preview/2023-06-15-preview to version 2023-07-15-preview

* rebase

* Updates API version in new specs and examples

* new tsp files

* new tsp files

* readme files

* copy example files

* new example files

* fix example files

* compile

* compile to add new example files

* improve comments

* format tsp files

* re-compile

* improve comments

* visibility concistency

* [Fleet] Add VMSize to hub profile (Azure#25709)

* add VMSize to hub profile
* add VMSize examples
* improve description
* format

* Add portal FQDN to fleet hub profile (Azure#25766)

Co-authored-by: nguyenmin <nguyenmin@microsoft.com>

* [Fleet] Move VMSize into AgentProfile (Azure#25805)

* move vm size into agent profile

* re-generate

* [Fleet] Fix readme.md for 0815 (Azure#25822)

* fix readme

* format

---------

Co-authored-by: Minh Nguyen <comrc019@icloud.com>
Co-authored-by: nguyenmin <nguyenmin@microsoft.com>
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-python that referenced this pull request Oct 19, 2023
AKS Fleet 2023 10 15 (Azure#25768)

* rebase

* rebase

* rebase

* rebase

* rebase

* rebase

* rebase

* [Fleet] Fix readme.md for 0815 (Azure#25822)

* fix readme

* format

* remove hub profile

* examples

* fixed example

* fix example

* fix readme

* rebase

* suppress versioning error

* compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.