Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
2cba844
Certs Final PR (#7076)
iscai-msft Sep 6, 2019
7e0ddbe
Perform encrypt/verify/wrap locally when possible (#6939)
chlowell Sep 7, 2019
6aba868
[EventHubs] Track2 Preview3 (#7059)
yunhaoling Sep 9, 2019
cf18c2b
[AutoPR] reservations/resource-manager (#6861)
AutorestCI Sep 9, 2019
c9f3e9c
setting a maxparallel paramter for the storage livetests. we need to …
scbedd Sep 9, 2019
dcaa3c2
Enable SSO on Windows (#7006)
chlowell Sep 9, 2019
54a1af0
adjusting where inconsistency is set. if we are inconsistent, but the…
scbedd Sep 10, 2019
34b1cba
revert changes to doc build host machine. we need to push some docs o…
scbedd Sep 10, 2019
ee0f3b7
Fix tracing if method raise exception (#7133)
lmazuel Sep 10, 2019
ce6484e
fix link to azure-identity readme (#7169)
chlowell Sep 10, 2019
5a6764d
Eventhubs preview3 documentation update (#7139)
YijunXieMS Sep 10, 2019
ad4a001
msal_extensions -> msal-extensions (#7172)
chlowell Sep 10, 2019
3037d37
update doc (#7131)
xiangyan99 Sep 10, 2019
a267b95
[Cosmos] Preview2 (#7140)
annatisch Sep 10, 2019
2aa33cf
Key Vault: added example and fixed link in Certificates README (#7151)
iscai-msft Sep 10, 2019
475545f
Key Vault: fixed certificate docstring errors (#7132)
iscai-msft Sep 10, 2019
2b6068b
Key Vault: added certificate changelog (#7128)
iscai-msft Sep 10, 2019
fe4c62a
remove duplicate enum key (#7173)
kayousef Sep 10, 2019
90fe8d9
azure-keyvault-nspkg (#7125)
chlowell Sep 10, 2019
c433e47
Storage Preview 3 Release (#7154)
rakshith91 Sep 10, 2019
b3790cd
update readme and history (#7188)
Sep 11, 2019
7354bbd
Skip Building on incompatible Python Versions (#7160)
scbedd Sep 11, 2019
ab3f145
Disable dev-setup "Develop" mode in CI checks (#7162)
scbedd Sep 11, 2019
59e24d1
Eventhubs preview3 doc update
yunhaoling Sep 11, 2019
dc84cca
Final Key Vault 4.0.0b3 updates (#7189)
chlowell Sep 11, 2019
3c5304d
add cryptography dependency (#7207)
chlowell Sep 11, 2019
21d1741
Eventhubs blobstorage merge to master (#7150)
YijunXieMS Sep 11, 2019
1016d17
Increment Key Vault versions (#7211)
chlowell Sep 11, 2019
26319a8
Increment azure-identity version (#7176)
chlowell Sep 11, 2019
758f358
Doc build resolution for extension package (#7217)
scbedd Sep 11, 2019
21c62d7
removing stray == (#7218)
scbedd Sep 11, 2019
b30de5a
handle 0 packages being passed to dev_setup from setup_execute_tests.…
scbedd Sep 11, 2019
fc0d440
adding line item entry (#7221)
scbedd Sep 11, 2019
483a334
KeyVault: Removing JsonWeb prefix from enums (#7212)
iscai-msft Sep 11, 2019
c3fece1
Eventhubs blobstorage docs update (#7216)
YijunXieMS Sep 12, 2019
fdf78d5
fixed certificates 4.0.0b3 changelog (#7214)
iscai-msft Sep 12, 2019
58e3bf1
[cognitive-services] cog services devtools test framework (#7087)
kristapratico Sep 12, 2019
1caeded
Key Vault: reworked certificates samples, all passing (#7225)
iscai-msft Sep 12, 2019
3a97e09
adding azure-eventhubs to the exception list. should result in what w…
scbedd Sep 12, 2019
977cbda
add ability to specify job timeout (#7237)
danieljurek Sep 12, 2019
56c39bb
Cosmos Pipeline Refactor (#7227)
danieljurek Sep 12, 2019
54c452f
Fix spelling mistakes in cosmos_db.py (#6980)
James-DBA-Anderson Sep 12, 2019
71c31c4
Fix doc link (#6458)
jongio Sep 12, 2019
d1cf7e2
class links with extra text need :class: (#7215)
bryevdv Sep 12, 2019
16fca20
Key Vault: added certificate rst files to sphinx doc (#7248)
iscai-msft Sep 12, 2019
d73d926
Address nspkg Failures (#7243)
scbedd Sep 12, 2019
a1c2a91
Update Dependency Script to Key of Package Name for SDIST, update ove…
scbedd Sep 13, 2019
71e62fa
Un-use deprecated method in devtools (#7222)
Sep 13, 2019
2a0c6c3
[AutoPR compute/resource-manager] added missing packages to compute r…
AutorestCI Sep 16, 2019
fa91e4e
Fix error creating EnvironmentCredential with username/password (#7260)
chlowell Sep 16, 2019
5038f0b
update sphinx sources for certificates (#7290)
scbedd Sep 16, 2019
e461f03
Resolve faulty package filter when building for release (#7297)
scbedd Sep 16, 2019
ededddf
Read env variables and not settings if available (#7101)
lmazuel Sep 16, 2019
225f0e3
update requirements versions and fix breaks
danieljurek Sep 13, 2019
d2c001e
update to September 2019 release
danieljurek Sep 13, 2019
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
  •  
  •  
  •  
Prev Previous commit
Next Next commit
Storage Preview 3 Release (#7154)
* Storage swagger (#6777)

* Python swagger update

This only changes to the official swagger version and regenerates

* Upgrade blobs swagger to 2019-02-02

* Fixed namespace dir and header

* Enable XML for blobs

* Generate vanilla blobs

* Fixed global parameters in swagger spec

* Regenerated blobs

* Revert "Fixed global parameters in swagger spec"

This reverts commit 75bd21b.

* Moved parameter fix to readme

* Fixed blob list serialization

* Fix for new metadata model

* Fixed datetime formatting

* Fixed required access policy

* Fixed readme analysis

* Regenerated queues

* Regenerated files

* Fixed files datetime

* Skip tests pending msrest fix

* Fixed for queue XML

* Fix for docsettings

* [storage] Fix for Files upload return type (#6772)

* Fix missing import

* Fix for Files inconsistent return types

* Blob async trace decorators

* [SnapshotSAS]Add Snapshot SAS (#6819)

* [SnapshotSAS]Add Snapshot SAS

* [SnapshotSAS]Extract SharedAccessSignature for Blob File and Queue

* [SnapshotSAS]Fix Typo

* [SnapshotSAS]Delete Redundant code

The removed code is for another feature.

* [SnapshotSAS]Stylistic Tweak

* Updating Storage Files swagger to 2019-02-02 (#6872)

* Updating Storage Files swagger to 2019-02-02

This includes a few transform changes to set default values for new required
parameters and marked certain 8601 dates as strings when they use more precision
that Python's dates.

I'm seeing a few test failures that I'm hoping someone on the Python side can
investigate (mostly "The specified share is being deleted. Try operation later."
that I was seeing before my changes).  There are a few other failures related to
new service features that we can fix if easy or disable and file a work item to
get these changes in.  The recorded tests will also have to be updated, but we
don't need to block on that right now.

* skip file permission related tests

* [Storage] File swagger updates (#6926)

* Updating Storage Files swagger to 2019-02-02

This includes a few transform changes to set default values for new required
parameters and marked certain 8601 dates as strings when they use more precision
that Python's dates.

I'm seeing a few test failures that I'm hoping someone on the Python side can
investigate (mostly "The specified share is being deleted. Try operation later."
that I was seeing before my changes).  There are a few other failures related to
new service features that we can fix if easy or disable and file a work item to
get these changes in.  The recorded tests will also have to be updated, but we
don't need to block on that right now.

* swagger changes

* [storage] make storage pylint-clean (#6929)

* make storage pylint-clean

* feedback

* Remove Storage swagger files and reference azure-rest-api-specs (#6943)

Also includes some changes to the generated code updated to the latest version
of blobs

* Append block from url sync and async (#6925)

* [Sync][AppendBlock]

* [Async][AppendBlock]Add append_block_from_url

* [Blob][AppendBlock]add recordings for append_block_from_url

* [Blob][AppendBlock]fix failing CI

* [Blob][AppendBlock]fix Pylint

* [Blob][AppendBlock]Adjust Stylistic Things

* [UpdatePage]add upload_pages_from_url sync and async (#6960)

* [UpdatePage]add upload_pages_from_url sync and async

* [UploadPage]Adjust Stylistic Things

* Fix Pylint

* Fix Pylint

* [Queues] Migrate to devtools test framework (#6882)

* initial migration

* samples

* comments

* queues test fixes

* recodings update

* update

* comment address

* pylint fix

* comments address

* Put range from url (#7081)

* [File]Upload Range From Url Sync

* [File]Upload Range From Url ASync

* Fix Pylint

* Fix Pylint

* CPK--Client Provided Encryption Key (#7104)

* [Blob]CPK without test

* Add Generated Code

* Fix Pylint

* [Blob][CPK]Test

* Add Missing Recordings

* [Blob][CPK]use existing field self.scheme

* File rest parity (#7001)

* [File][RestParity]Rest Parity Sync

Add Rest Parity Sync part(except create permission)
tweak _shared package a bit

* [File][RestParity]Rest Parity Async

Add Rest Parity Async part(except create permission)

* [File][RestParity]Add Rest Parity Async Recording Files

Add recording files for both sync and async

* [File][RestParity]Fix CI

* [File][RestParity]Recording again to fix CI

* Add Generated Code

* Stylistic Things and Record

* [Swagger][BugFix]workaround to fix swagger generated code

* [File][RestParity]Add Create_Permission API and Test

* Fix Test

* Fix Pylint

* Revert the workaround

* [File][RestParity]Tweak Documentation and Tests

* delete .dat file

* [Blob][SAS] Added support for identity SAS (#7020)

* [Storage] Incremented version for preview 3 and updated change log (#7156)

* Update Azure Core and msrest

* Add Workaround for SharePermissions,revert msrest

* Update version and history.md

* updates on history.md

* minor change

* more changes

* [Storage] Fix flaky tests (#7179)

* Update HISTORY.md

* Fix some typo in error message

* Fix Some Tests

* some more fixes

* Skip OAUTH Test
  • Loading branch information
rakshith91 authored and zezha-msft committed Sep 10, 2019
commit c433e47397e2fc10cc72ff1874983392766271d1
3 changes: 3 additions & 0 deletions .docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ known_content_issues:
- ['sdk/loganalytics/azure-loganalytics/README.rst', '#4554']
- ['sdk/servicefabric/azure-servicefabric/README.rst', '#4554']
- ['sdk/core/azure-servicemanagement-legacy/README.rst', '#4554']
- ['sdk/storage/azure-storage-file/swagger/README.md', '#4554']
- ['sdk/storage/azure-storage-queue/swagger/README.md', '#4554']
- ['sdk/storage/azure-storage-blob/swagger/README.md', '#4554']

# nspckg and common.
- ['sdk/cognitiveservices/azure-cognitiveservices-nspkg/README.rst', 'nspkg and common']
Expand Down
21 changes: 21 additions & 0 deletions sdk/storage/azure-storage-blob/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
# Change Log azure-storage-blob


## Version 12.0.0b3:

**New features**
- Added SAS support for snapshot and identity.
- Distributed tracing framework OpenCensus is now supported.
- Added support for append_block_from_url API for append blobs.
- Added support for upload_pages_from_url API for page blobs.
- Added support for client provided encryption key to numerous APIs.

**Dependency updates**
- Adopted [azure-core](https://pypi.org/project/azure-core/) 1.0.0b3
- If you later want to revert to previous versions of azure-storage-blob, or another Azure SDK
library requiring azure-core 1.0.0b1 or azure-core 1.0.0b2, you must explicitly install
the specific version of azure-core as well. For example:

`pip install azure-core==1.0.0b2 azure-storage-blob==12.0.0b2`

**Fixes and improvements**
- Fix where content-type was being added in the request when not mentioned explicitly.


## Version 12.0.0b2:

**Breaking changes**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: skip-file

from ._configuration import AzureBlobStorageConfiguration
from ._azure_blob_storage import AzureBlobStorage
__all__ = ['AzureBlobStorage', 'AzureBlobStorageConfiguration']
__all__ = ['AzureBlobStorage']

from .version import VERSION

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: skip-file

from azure.core import PipelineClient
from msrest import Serializer, Deserializer
Expand All @@ -17,6 +16,7 @@
from azure.core.exceptions import map_error
from .operations import ServiceOperations
from .operations import ContainerOperations
from .operations import DirectoryOperations
from .operations import BlobOperations
from .operations import PageBlobOperations
from .operations import AppendBlobOperations
Expand All @@ -29,38 +29,42 @@ class AzureBlobStorage(object):


:ivar service: Service operations
:vartype service: blob.operations.ServiceOperations
:vartype service: azure.storage.blob.operations.ServiceOperations
:ivar container: Container operations
:vartype container: blob.operations.ContainerOperations
:vartype container: azure.storage.blob.operations.ContainerOperations
:ivar directory: Directory operations
:vartype directory: azure.storage.blob.operations.DirectoryOperations
:ivar blob: Blob operations
:vartype blob: blob.operations.BlobOperations
:vartype blob: azure.storage.blob.operations.BlobOperations
:ivar page_blob: PageBlob operations
:vartype page_blob: blob.operations.PageBlobOperations
:vartype page_blob: azure.storage.blob.operations.PageBlobOperations
:ivar append_blob: AppendBlob operations
:vartype append_blob: blob.operations.AppendBlobOperations
:vartype append_blob: azure.storage.blob.operations.AppendBlobOperations
:ivar block_blob: BlockBlob operations
:vartype block_blob: blob.operations.BlockBlobOperations
:vartype block_blob: azure.storage.blob.operations.BlockBlobOperations

:param url: The URL of the service account, container, or blob that is the
targe of the desired operation.
:type url: str
"""

def __init__(self, url, config=None, **kwargs):
def __init__(self, url, **kwargs):

base_url = '{url}'
self._config = config or AzureBlobStorageConfiguration(url, **kwargs)
self._config = AzureBlobStorageConfiguration(url, **kwargs)
self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2018-03-28'
self.api_version = '2019-02-02'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.service = ServiceOperations(
self._client, self._config, self._serialize, self._deserialize)
self.container = ContainerOperations(
self._client, self._config, self._serialize, self._deserialize)
self.directory = DirectoryOperations(
self._client, self._config, self._serialize, self._deserialize)
self.blob = BlobOperations(
self._client, self._config, self._serialize, self._deserialize)
self.page_blob = PageBlobOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: skip-file

from azure.core.configuration import Configuration, ConnectionConfiguration
from azure.core.configuration import Configuration
from azure.core.pipeline import policies

from .version import VERSION
Expand All @@ -37,18 +36,17 @@ def __init__(self, url, **kwargs):
super(AzureBlobStorageConfiguration, self).__init__(**kwargs)
self._configure(**kwargs)

self.user_agent_policy.add_user_agent('azureblobstorage/{}'.format(VERSION))
self.user_agent_policy.add_user_agent('azsdk-python-azureblobstorage/{}'.format(VERSION))
self.generate_client_request_id = True
self.accept_language = None

self.url = url
self.version = "2018-03-28"
self.version = "2019-02-02"

def _configure(self, **kwargs):
self.connection = ConnectionConfiguration(**kwargs)
self.user_agent_policy = policies.UserAgentPolicy(**kwargs)
self.headers_policy = policies.HeadersPolicy(**kwargs)
self.proxy_policy = policies.ProxyPolicy(**kwargs)
self.logging_policy = policies.NetworkTraceLoggingPolicy(**kwargs)
self.retry_policy = policies.RetryPolicy(**kwargs)
self.redirect_policy = policies.RedirectPolicy(**kwargs)
self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs)
self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs)
self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs)
self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs)
self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs)
self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs)
self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: skip-file

from ._azure_blob_storage_async import AzureBlobStorage
from ._configuration_async import AzureBlobStorageConfiguration
__all__ = ['AzureBlobStorage', 'AzureBlobStorageConfiguration']
__all__ = ['AzureBlobStorage']
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: skip-file

from azure.core import AsyncPipelineClient
from msrest import Serializer, Deserializer
Expand All @@ -17,6 +16,7 @@
from azure.core.exceptions import map_error
from .operations_async import ServiceOperations
from .operations_async import ContainerOperations
from .operations_async import DirectoryOperations
from .operations_async import BlobOperations
from .operations_async import PageBlobOperations
from .operations_async import AppendBlobOperations
Expand All @@ -29,39 +29,43 @@ class AzureBlobStorage(object):


:ivar service: Service operations
:vartype service: blob.aio.operations_async.ServiceOperations
:vartype service: azure.storage.blob.aio.operations_async.ServiceOperations
:ivar container: Container operations
:vartype container: blob.aio.operations_async.ContainerOperations
:vartype container: azure.storage.blob.aio.operations_async.ContainerOperations
:ivar directory: Directory operations
:vartype directory: azure.storage.blob.aio.operations_async.DirectoryOperations
:ivar blob: Blob operations
:vartype blob: blob.aio.operations_async.BlobOperations
:vartype blob: azure.storage.blob.aio.operations_async.BlobOperations
:ivar page_blob: PageBlob operations
:vartype page_blob: blob.aio.operations_async.PageBlobOperations
:vartype page_blob: azure.storage.blob.aio.operations_async.PageBlobOperations
:ivar append_blob: AppendBlob operations
:vartype append_blob: blob.aio.operations_async.AppendBlobOperations
:vartype append_blob: azure.storage.blob.aio.operations_async.AppendBlobOperations
:ivar block_blob: BlockBlob operations
:vartype block_blob: blob.aio.operations_async.BlockBlobOperations
:vartype block_blob: azure.storage.blob.aio.operations_async.BlockBlobOperations

:param url: The URL of the service account, container, or blob that is the
targe of the desired operation.
:type url: str
"""

def __init__(
self, url, config=None, **kwargs):
self, url, **kwargs):

base_url = '{url}'
self._config = config or AzureBlobStorageConfiguration(url, **kwargs)
self._config = AzureBlobStorageConfiguration(url, **kwargs)
self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2018-03-28'
self.api_version = '2019-02-02'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.service = ServiceOperations(
self._client, self._config, self._serialize, self._deserialize)
self.container = ContainerOperations(
self._client, self._config, self._serialize, self._deserialize)
self.directory = DirectoryOperations(
self._client, self._config, self._serialize, self._deserialize)
self.blob = BlobOperations(
self._client, self._config, self._serialize, self._deserialize)
self.page_blob = PageBlobOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: skip-file

from azure.core.configuration import Configuration, ConnectionConfiguration
from azure.core.configuration import Configuration
from azure.core.pipeline import policies

from ..version import VERSION
Expand All @@ -37,18 +36,18 @@ def __init__(self, url, **kwargs):
super(AzureBlobStorageConfiguration, self).__init__(**kwargs)
self._configure(**kwargs)

self.user_agent_policy.add_user_agent('azureblobstorage/{}'.format(VERSION))
self.user_agent_policy.add_user_agent('azsdk-python-azureblobstorage/{}'.format(VERSION))
self.generate_client_request_id = True
self.accept_language = None

self.url = url
self.version = "2018-03-28"
self.version = "2019-02-02"

def _configure(self, **kwargs):
self.connection = ConnectionConfiguration(**kwargs)
self.user_agent_policy = policies.UserAgentPolicy(**kwargs)
self.headers_policy = policies.HeadersPolicy(**kwargs)
self.proxy_policy = policies.ProxyPolicy(**kwargs)
self.logging_policy = policies.NetworkTraceLoggingPolicy(**kwargs)
self.retry_policy = policies.AsyncRetryPolicy(**kwargs)
self.redirect_policy = policies.AsyncRedirectPolicy(**kwargs)
self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs)
self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs)
self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs)
self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs)
self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs)
self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs)
self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: skip-file

from ._service_operations_async import ServiceOperations
from ._container_operations_async import ContainerOperations
from ._directory_operations_async import DirectoryOperations
from ._blob_operations_async import BlobOperations
from ._page_blob_operations_async import PageBlobOperations
from ._append_blob_operations_async import AppendBlobOperations
Expand All @@ -20,6 +20,7 @@
__all__ = [
'ServiceOperations',
'ContainerOperations',
'DirectoryOperations',
'BlobOperations',
'PageBlobOperations',
'AppendBlobOperations',
Expand Down
Loading