Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
f1aeb2f
Merge pull request #1 from Azure/master
BigCat20196 Jun 7, 2021
89cb1ee
Merge pull request #2 from Azure/main
BigCat20196 Jun 21, 2021
ceb1300
Merge pull request #3 from Azure/main
BigCat20196 Jul 1, 2021
23da66e
Merge pull request #4 from Azure/main
BigCat20196 Jul 7, 2021
25145b5
Merge pull request #5 from Azure/main
BigCat20196 Jul 9, 2021
b24885e
Merge pull request #6 from Azure/main
BigCat20196 Jul 12, 2021
2ef256c
Merge pull request #7 from Azure/main
BigCat20196 Jul 27, 2021
10a97e5
Merge pull request #8 from Azure/main
BigCat20196 Aug 4, 2021
24f65c3
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Oct 9, 2021
3fdba01
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Oct 12, 2021
3e8eb8e
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Oct 13, 2021
92b06a6
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Oct 28, 2021
40ce8cc
Merge branch 'main' of https://github.com/BigCat20196/azure-sdk-for-p…
BigCat20196 Jun 22, 2022
675245f
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Jun 22, 2022
b0b6c17
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Jun 29, 2022
71a41f2
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Jun 30, 2022
246c7bf
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Jul 5, 2022
4d20deb
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Jul 6, 2022
268bbd8
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Jul 13, 2022
c61de8f
format generate sample
BigCat20196 Jul 15, 2022
f28ce2b
test
BigCat20196 Jul 15, 2022
7e2c7ce
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Jul 15, 2022
2dd3328
test
BigCat20196 Jul 15, 2022
038d916
test
BigCat20196 Jul 15, 2022
077c5af
test
BigCat20196 Jul 15, 2022
516b03e
test
BigCat20196 Jul 15, 2022
404d182
test
BigCat20196 Jul 15, 2022
f985f92
test
BigCat20196 Jul 15, 2022
a058098
test
BigCat20196 Jul 18, 2022
3fa9519
change
BigCat20196 Jul 18, 2022
59af9f1
test
BigCat20196 Jul 18, 2022
ccbc2f2
test
BigCat20196 Jul 18, 2022
fab2e91
test
BigCat20196 Jul 19, 2022
cbdaeb3
reset
BigCat20196 Jul 19, 2022
d68ff22
update format samples
BigCat20196 Jul 19, 2022
b89ece3
update
BigCat20196 Jul 19, 2022
dce9130
update
BigCat20196 Jul 19, 2022
e04bac4
update
BigCat20196 Jul 19, 2022
e473025
update
BigCat20196 Jul 19, 2022
d6adaac
update
BigCat20196 Jul 19, 2022
9849665
update
BigCat20196 Jul 19, 2022
1596ba7
update
BigCat20196 Jul 19, 2022
109e02b
code and test
Jul 19, 2022
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
4 changes: 4 additions & 0 deletions sdk/servicebus/azure-mgmt-servicebus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 0.0.0 (it should be stable) (2022-07-19)



## 7.1.0 (2021-09-23)

**Features**
Expand Down
3 changes: 2 additions & 1 deletion sdk/servicebus/azure-mgmt-servicebus/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include _meta.json
recursive-include tests *.py *.yaml
recursive-include tests *.py *.json
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
include LICENSE
include azure/mgmt/servicebus/py.typed
10 changes: 5 additions & 5 deletions sdk/servicebus/azure-mgmt-servicebus/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.5",
"autorest": "3.7.2",
"use": [
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
"@autorest/python@5.16.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "1ebd7cba28910bc3d01fbc625f81e6a6e9a2756f",
"commit": "f6967adc2b48d4c93d46586d96adaeb308f87388",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/servicebus/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"autorest_command": "autorest specification/servicebus/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/servicebus/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from azure.core.configuration import Configuration
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy
from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy

from ._version import VERSION

Expand Down Expand Up @@ -68,4 +68,4 @@ def _configure(
self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs)
self.authentication_policy = kwargs.get('authentication_policy')
if self.credential and not self.authentication_policy:
self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs)
self.authentication_policy = ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@

from typing import TYPE_CHECKING

from msrest import Deserializer, Serializer

from azure.mgmt.core import ARMPipelineClient
from azure.profiles import KnownProfiles, ProfileDefinition
from azure.profiles.multiapiclient import MultiApiClientMixin
from msrest import Deserializer, Serializer

from ._configuration import ServiceBusManagementClientConfiguration

Expand All @@ -23,7 +24,6 @@
from typing import Any, Optional

from azure.core.credentials import TokenCredential
from azure.core.pipeline.transport import HttpRequest, HttpResponse

class _SDKClient(object):
def __init__(self, *args, **kwargs):
Expand Down Expand Up @@ -70,12 +70,10 @@ def __init__(
credential, # type: "TokenCredential"
subscription_id, # type: str
api_version=None, # type: Optional[str]
base_url=None, # type: Optional[str]
base_url="https://management.azure.com", # type: str
profile=KnownProfiles.default, # type: KnownProfiles
**kwargs # type: Any
):
if not base_url:
base_url = 'https://management.azure.com'
self._config = ServiceBusManagementClientConfiguration(credential, subscription_id, **kwargs)
self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
super(ServiceBusManagementClient, self).__init__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "7.1.0"
VERSION = "0.0.0 (it should be stable)"
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from azure.core.configuration import Configuration
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy
from azure.mgmt.core.policies import ARMHttpLoggingPolicy, AsyncARMChallengeAuthenticationPolicy

from .._version import VERSION

Expand Down Expand Up @@ -64,4 +64,4 @@ def _configure(
self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs)
self.authentication_policy = kwargs.get('authentication_policy')
if self.credential and not self.authentication_policy:
self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs)
self.authentication_policy = AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@

from typing import Any, Optional, TYPE_CHECKING

from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from msrest import Deserializer, Serializer

from azure.mgmt.core import AsyncARMPipelineClient
from azure.profiles import KnownProfiles, ProfileDefinition
from azure.profiles.multiapiclient import MultiApiClientMixin
from msrest import Deserializer, Serializer

from ._configuration import ServiceBusManagementClientConfiguration

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials import TokenCredential
from azure.core.credentials_async import AsyncTokenCredential

class _SDKClient(object):
Expand Down Expand Up @@ -68,12 +69,10 @@ def __init__(
credential: "AsyncTokenCredential",
subscription_id: str,
api_version: Optional[str] = None,
base_url: Optional[str] = None,
base_url: str = "https://management.azure.com",
profile: KnownProfiles = KnownProfiles.default,
**kwargs # type: Any
) -> None:
if not base_url:
base_url = 'https://management.azure.com'
self._config = ServiceBusManagementClientConfiguration(credential, subscription_id, **kwargs)
self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
super(ServiceBusManagementClient, self).__init__(
Expand Down

This file was deleted.

Loading