Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
8f85d8c
Updated blobs shared code
annatisch Jul 19, 2019
a3aff08
Started blob refactor
annatisch Jul 19, 2019
90b9640
Refactoring upload
annatisch Jul 22, 2019
6d33776
Merge remote-tracking branch 'upstream/storage-preview2'
annatisch Jul 22, 2019
de42b24
Updated shared code
annatisch Jul 22, 2019
d8ec863
Started fixing tests
annatisch Jul 22, 2019
8d9bd39
Merge remote-tracking branch 'upstream/storage-preview2'
annatisch Jul 22, 2019
3a231d8
Refactored sync blobs
annatisch Jul 23, 2019
d527688
Added blob async APIs
annatisch Jul 24, 2019
76b9e3c
Some fixes
annatisch Jul 24, 2019
9a8fb9d
Append blob async tests
annatisch Jul 24, 2019
900e07b
blob access async tests
annatisch Jul 24, 2019
c8668c9
Blob client async tests
annatisch Jul 24, 2019
05b9020
encryption async tests
annatisch Jul 24, 2019
bee7e3f
Patch for azure core exception
annatisch Jul 24, 2019
dda031b
blob retry async
annatisch Jul 24, 2019
99bc35d
Retry async tests
annatisch Jul 24, 2019
4fd5b84
Get blob async tests
annatisch Jul 25, 2019
1eb8192
Bug fix for clear page operation
annatisch Jul 25, 2019
24dd430
More async tests + upload fix
annatisch Jul 26, 2019
30cbc1b
Merged from preview 2
annatisch Jul 26, 2019
076d062
Merged blobs
annatisch Jul 26, 2019
fa808bb
Updated Files shared code
annatisch Jul 26, 2019
38f6fc5
Updated queue shared code
annatisch Jul 26, 2019
e6d9544
Merge from upstream
annatisch Jul 26, 2019
704d8bb
async tests pass except 2 common blob tests
kristapratico Jul 26, 2019
9bcd94a
adds async paging to blobs and some async tests (not all pass)
kristapratico Jul 29, 2019
8a6df99
Merge pull request #2 from annatisch/async-blob-tests
kristapratico Jul 29, 2019
d28961c
initial commit
rakshith91 Jul 30, 2019
375323e
block_blob_tests
rakshith91 Jul 30, 2019
35261e9
page blob tests
rakshith91 Jul 30, 2019
0b5eaed
Merge pull request #3 from annatisch/async_tests
Jul 30, 2019
bdd8396
Merge branch 'storage-preview2' into master
kristapratico Jul 31, 2019
37fb8e3
fix for special chars, some tests, and recordings
kristapratico Jul 31, 2019
4bcbca7
add to shared storage and fix import
kristapratico Jul 31, 2019
a984b39
adding more tests/recordings
kristapratico Jul 31, 2019
90a7c61
more tests/recordings
kristapratico Aug 1, 2019
36155a8
Merge pull request #4 from annatisch/async-blob-tests
kristapratico Aug 1, 2019
5fb77f5
rerecord tests, fix imports
kristapratico Aug 1, 2019
e97af55
Merge pull request #5 from annatisch/async-blob-tests
kristapratico Aug 1, 2019
4687f62
fix import again
kristapratico Aug 1, 2019
7552cdb
Merge pull request #6 from annatisch/async-blob-tests
kristapratico Aug 1, 2019
753006e
blacklist azure-servicemanagement-legacy
kristapratico Aug 1, 2019
748237e
Merge pull request #7 from annatisch/async-blob-tests
kristapratico Aug 1, 2019
dfabb8b
get CI to run
kristapratico Aug 1, 2019
0ad6851
Merge pull request #8 from annatisch/async-blob-tests
kristapratico Aug 1, 2019
634a74a
rerecord all async tests
kristapratico Aug 2, 2019
2848c33
Merge pull request #9 from annatisch/async-blob-tests
kristapratico Aug 2, 2019
c607dde
testing
kristapratico Aug 2, 2019
b3b67fc
Merge pull request #10 from annatisch/async-blob-tests
kristapratico Aug 2, 2019
4df2eef
add variable indirection for storage live tests. this is a temporary …
danieljurek Aug 2, 2019
615fc42
newline
danieljurek Aug 2, 2019
f51dfb4
Merge pull request #11 from danieljurek/async-blob-tests
kristapratico Aug 2, 2019
7edbc6e
print envar
kristapratico Aug 2, 2019
ace7ea7
Merge pull request #12 from annatisch/async-blob-tests
kristapratico Aug 2, 2019
85490ca
remove testing
kristapratico Aug 3, 2019
d48e917
Merge pull request #13 from annatisch/async-blob-tests
kristapratico Aug 3, 2019
20adbbc
adjust pypy testing
kristapratico Aug 3, 2019
2b1a0ae
Merge pull request #14 from annatisch/async-blob-tests
kristapratico Aug 3, 2019
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
add to shared storage and fix import
  • Loading branch information
kristapratico committed Jul 31, 2019
commit 4bcbca7e3aedc436222b9b853e574c75cd29ba36
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

import logging
import sys
from yarl import URL

try:
from urllib.parse import urlparse, unquote
from yarl import URL
except ImportError:
from urlparse import urlparse # type: ignore
from urllib2 import unquote # type: ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@

import logging
import sys

try:
from urllib.parse import urlparse, unquote
from yarl import URL
except ImportError:
from urlparse import urlparse # type: ignore
from urllib2 import unquote # type: ignore

from azure.core.exceptions import ClientAuthenticationError
from azure.core.pipeline.policies import SansIOHTTPPolicy
from azure.core.pipeline.transport import AioHttpTransport

from . import sign_string

Expand Down Expand Up @@ -64,6 +67,9 @@ def _get_verb(self, request):

def _get_canonicalized_resource(self, request):
uri_path = urlparse(request.http_request.url).path
if isinstance(request.context.transport, AioHttpTransport):
uri_path = URL(uri_path)
return '/' + self.account_name + str(uri_path)
return '/' + self.account_name + uri_path

def _get_canonicalized_headers(self, request):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@

import logging
import sys

try:
from urllib.parse import urlparse, unquote
from yarl import URL
except ImportError:
from urlparse import urlparse # type: ignore
from urllib2 import unquote # type: ignore

from azure.core.exceptions import ClientAuthenticationError
from azure.core.pipeline.policies import SansIOHTTPPolicy
from azure.core.pipeline.transport import AioHttpTransport

from . import sign_string

Expand Down Expand Up @@ -64,6 +67,9 @@ def _get_verb(self, request):

def _get_canonicalized_resource(self, request):
uri_path = urlparse(request.http_request.url).path
if isinstance(request.context.transport, AioHttpTransport):
uri_path = URL(uri_path)
return '/' + self.account_name + str(uri_path)
return '/' + self.account_name + uri_path

def _get_canonicalized_headers(self, request):
Expand Down