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

Storage code migration #3014

Merged
merged 680 commits into from
Mar 8, 2019
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
680 commits
Select commit Hold shift + click to select a range
203a5c7
CR feedback and changelog
rickle-msft May 16, 2018
622ddee
Merge pull request #313 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft May 23, 2018
9aa9c40
Testing out functionality of defining error type in swagger
rickle-msft Mar 27, 2018
88c8729
Added ResponseError and utility to error wrap in Singles
rickle-msft May 14, 2018
7a34cb4
Added the error wrapping to all the responses
rickle-msft May 14, 2018
a1bbc23
Generated swagger with extra error details
rickle-msft May 14, 2018
ee0f1fe
Added tests for StorageException
rickle-msft May 15, 2018
249f2b3
Finished testing that apis return storageException
rickle-msft May 16, 2018
bbd994a
Added ErrorCode
rickle-msft May 16, 2018
6f3da2f
Modified the name and schema of the error type
rickle-msft May 16, 2018
497b9b0
Removed proxy setting from one test
rickle-msft May 23, 2018
f3bd6ba
Updated a failing test
rickle-msft May 23, 2018
408c7b0
Merge pull request #314 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft May 23, 2018
3b30b09
Fixed another failing test and a null pointer exception
rickle-msft May 23, 2018
ea61644
Revert "New storage sdk v10 preview dev"
rickle-msft May 23, 2018
1638199
Merge pull request #315 from Azure/revert-314-New-Storage-SDK-V10-Pre…
rickle-msft May 23, 2018
a34db49
Updated shared key signing to work with high concurrency
rickle-msft May 8, 2018
fbf721b
CR feedback and changelog
rickle-msft May 16, 2018
2c43cd1
Testing out functionality of defining error type in swagger
rickle-msft Mar 27, 2018
e419af0
Added ResponseError and utility to error wrap in Singles
rickle-msft May 14, 2018
07a2bd8
Added the error wrapping to all the responses
rickle-msft May 14, 2018
2869b19
Generated swagger with extra error details
rickle-msft May 14, 2018
01ee5a3
Added tests for StorageException
rickle-msft May 15, 2018
855dff4
Finished testing that apis return storageException
rickle-msft May 16, 2018
d9c2a91
Added ErrorCode
rickle-msft May 16, 2018
3b6362a
Modified the name and schema of the error type
rickle-msft May 16, 2018
55fd4c4
Removed proxy setting from one test
rickle-msft May 23, 2018
18a28e3
Updated a failing test
rickle-msft May 23, 2018
a32f152
Fixed another failing test and a null pointer exception
rickle-msft May 23, 2018
efeee8f
Merge remote-tracking branch 'upstream/New-Storage-SDK-V10-Preview-de…
rickle-msft May 23, 2018
15bea1c
Merge branch 'New-Storage-SDK-V10-Preview-dev' of github.com:rickle-m…
rickle-msft May 23, 2018
eef5a2a
Merge pull request #316 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft May 23, 2018
c87afcd
Reconfigured project so all tests run with mvn test
rickle-msft May 23, 2018
93d0267
Merge pull request #317 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft May 23, 2018
25f8999
Wrote test. Test cleanup having some trouble
rickle-msft May 18, 2018
db3f3f7
Merge pull request #318 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft May 24, 2018
f9f3119
Wrote test. Test cleanup having some trouble
rickle-msft May 18, 2018
bf8e4a7
Retry Reader implemented and initial tests passing
rickle-msft Jun 29, 2018
ce1451b
Failure tests passing
rickle-msft Jun 29, 2018
ac7ce51
More tests
rickle-msft Jun 29, 2018
6eba47c
All retry reader tests passing
rickle-msft Jul 2, 2018
6b5da1e
DownloadResponse added and integrated
rickle-msft Jul 2, 2018
008902f
Added sample
rickle-msft Jul 2, 2018
e63a9bf
Changelog updates
rickle-msft Jul 2, 2018
d863bbe
Final changes before review
rickle-msft Jul 2, 2018
e2fd1e3
Made some classes/fields private
rickle-msft Jul 3, 2018
a06e7c2
Block blob tests
rickle-msft May 24, 2018
0328f14
Changing method of comparing flowable data to buffer list
rickle-msft May 25, 2018
8940f15
Only fromFile and fromBuffer tests remaining
rickle-msft May 26, 2018
17ee89c
Finished up transfer manager tests
rickle-msft Jun 12, 2018
5b16ddc
Resolved some CR comments
rickle-msft Jun 26, 2018
a3ed05e
CR feedback
rickle-msft Jun 26, 2018
b878e05
Updated some project infrastructure. Fixed some failing tests. Three …
rickle-msft Jul 3, 2018
852a046
Added some missing licenses to tests
rickle-msft Jun 19, 2018
73c802d
Started writing retry policy
rickle-msft Jun 19, 2018
ee89655
Implemented first test scenario. Not tested.
rickle-msft Jun 20, 2018
a8b3620
Fixed up some container tests that weren't actually validating proper…
rickle-msft Jun 21, 2018
e6ea277
Added test for max retries and made fixes that now correctly capture …
rickle-msft Jun 21, 2018
0ab3550
Got a bit more of the delay test working
rickle-msft Jun 25, 2018
b4af057
All retry tests passing
rickle-msft Jun 25, 2018
3d20c53
Some cleanup
rickle-msft Jun 25, 2018
15b13b4
Minor fixes
rickle-msft Jun 26, 2018
fce6ae0
CR feedback
rickle-msft Jun 26, 2018
eafda0a
Moved some files around. Made getters on RetryOptions package private
rickle-msft Jun 27, 2018
f72ada5
Merge branch 'New-Storage-SDK-V10-Preview-dev' into New-Storage-SDK-V…
rickle-msft Jul 3, 2018
6a5ffc4
Merge pull request #334 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft Jul 3, 2018
45e4233
Merge pull request #337 from Azure/New-Storage-SDK-V10-Preview-dev
rickle-msft Jul 5, 2018
6c783b1
Removed an extra file left over from a merge
rickle-msft Jul 5, 2018
57ab5ab
Merge pull request #338 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft Jul 5, 2018
b7924c4
Merge pull request #339 from Azure/New-Storage-SDK-V10-Preview-dev
rickle-msft Jul 5, 2018
c1f4ed6
Update README.md
Jul 10, 2018
b35962e
Merge pull request #340 from Azure/seguler-patch-1
rickle-msft Jul 10, 2018
a04ece8
Tried making some swagger changes
rickle-msft Jul 7, 2018
8d7207a
Another iteration of swagger generation
rickle-msft Jul 10, 2018
b521b6c
Everything broken
rickle-msft Jul 11, 2018
259a860
Generated swagger with proper (de)serialization
rickle-msft Jul 12, 2018
7ac2d39
Merge remote-tracking branch 'upstream/New-Storage-SDK-V10-Preview-de…
rickle-msft Jul 12, 2018
40f6abf
Added support for setBlobTier. No tests or samples
rickle-msft Jul 6, 2018
c1531e0
Tests for blob tier
rickle-msft Jul 6, 2018
d4aae8d
CR feedback
rickle-msft Jul 13, 2018
68297c6
Doc for append blob create
rickle-msft Jun 19, 2018
44b33a1
Updated file reference
rickle-msft Jun 19, 2018
d6fcc9f
Added apiNote
rickle-msft Jun 19, 2018
a3aef84
Fixed sample ref path again
rickle-msft Jun 19, 2018
1945a68
Addressing the repo root as ..
rickle-msft Jun 19, 2018
351c7b6
Started on ref samples. Maybe a third of methods done.
rickle-msft Jul 5, 2018
4c78571
Moved the sample tags to the bottom
rickle-msft Jul 10, 2018
4b2cc27
added a few more samples
rickle-msft Jul 10, 2018
80fc36c
More samples
rickle-msft Jul 10, 2018
42cea58
More samples
rickle-msft Jul 11, 2018
73651ec
More samples
rickle-msft Jul 12, 2018
7b67f41
PageBlob Samples
rickle-msft Jul 12, 2018
643ab37
Added lease samples
rickle-msft Jul 16, 2018
6e373f2
api ref samples complete
rickle-msft Jul 16, 2018
23156e8
Merge pull request #342 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft Jul 16, 2018
87d756d
soft delete support. no tests or samples yet
rickle-msft Jul 6, 2018
12a6333
Changelog
rickle-msft Jul 6, 2018
dd054ec
Working on tests
rickle-msft Jul 6, 2018
8a13b51
Soft delete tests
rickle-msft Jul 12, 2018
f3305bd
Changelog and BreakingChanges
rickle-msft Jul 16, 2018
4ac72b8
CR feedback
rickle-msft Jul 16, 2018
24cc63b
Added api ref samples for tiers and soft delete
rickle-msft Jul 16, 2018
bdb3681
Fixed swagger README
rickle-msft Jul 17, 2018
49ce678
Fixed an api note to generate docs
rickle-msft Jul 26, 2018
a440ee7
PutBlockFromURL
rickle-msft Jul 30, 2018
e56860c
Improved ContainerURL tests
rickle-msft Jul 30, 2018
8c34649
Updated api ref samples
rickle-msft Jul 31, 2018
0d2069e
Merge remote-tracking branch 'upstream/New-Storage-SDK-V10-Preview-de…
rickle-msft Jul 31, 2018
dd704b1
Merge pull request #346 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft Jul 31, 2018
4238af3
Cleaned up some types in tests that were causing failures
rickle-msft Jul 31, 2018
14c5cb8
Fixing API ref links
Aug 7, 2018
f79b87b
Merge pull request #348 from seguler/New-Storage-SDK-V10-Preview-dev
rickle-msft Aug 7, 2018
22b0459
10.0.2-Preview release prep
rickle-msft Aug 7, 2018
c4db14e
Merge remote-tracking branch 'upstream/New-Storage-SDK-V10-Preview-de…
rickle-msft Aug 7, 2018
a48518b
Updated dependency and javadoc configuration
rickle-msft Aug 7, 2018
cd74c1f
Generated with new autorest version to comply with new runtime
rickle-msft Aug 7, 2018
d4c4d99
Merge pull request #349 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft Aug 7, 2018
b9965eb
Merge pull request #350 from Azure/New-Storage-SDK-V10-Preview-dev
rickle-msft Aug 7, 2018
4bef6f4
Updated dependency issue. Releasing 10.0.3-Preview to fix
rickle-msft Aug 8, 2018
1e7f879
Merge pull request #351 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft Aug 8, 2018
dfa24e5
Merge pull request #352 from Azure/New-Storage-SDK-V10-Preview-dev
rickle-msft Aug 8, 2018
dc0fd2b
Fix params
lrdcasimir Aug 11, 2018
8a4e700
Added worm support
rickle-msft Aug 1, 2018
945dc72
getAccountInfo apis added
rickle-msft Jul 31, 2018
e478095
Improved append blob tests
rickle-msft Aug 1, 2018
072afc9
Static websites
rickle-msft Aug 1, 2018
4c98782
Updated blob tests
rickle-msft Aug 3, 2018
2b2df98
Most page blob tests
rickle-msft Aug 6, 2018
014439a
Retry fixes
rickle-msft Aug 7, 2018
17ffe32
Service SAS Signature Values correctly handles nulllable fields
lrdcasimir Aug 14, 2018
ececde6
Merge pull request #357 from lrdcasimir/fix-sas-null-parameters
rickle-msft Aug 16, 2018
34c94e2
Merge remote-tracking branch 'upstream/New-Storage-SDK-V10-Preview-de…
rickle-msft Aug 16, 2018
dbb2b05
Page blob tests updates
rickle-msft Aug 6, 2018
8c87c15
Fixing links for API reference
Aug 21, 2018
52d39e4
Got some boilerplate going
rickle-msft Jul 24, 2018
be948ac
Got some preliminary tests written and passing
rickle-msft Jul 24, 2018
ed61030
Added some tests
rickle-msft Jul 26, 2018
c1b997e
downloadToBuffer complete
rickle-msft Jul 27, 2018
788abbf
downloadBlobToFile written
rickle-msft Jul 28, 2018
523c624
Nothing really
rickle-msft Jul 30, 2018
be67548
Basic test passing
rickle-msft Jul 31, 2018
cb3f609
downloadToFileTests complete
rickle-msft Jul 31, 2018
5986632
Moved sample tag
rickle-msft Jul 31, 2018
45ac08d
added a cast to prevent a potential overflow
rickle-msft Aug 1, 2018
88cbc7b
Added etag locking
rickle-msft Aug 2, 2018
49abf89
Made the options properties final as possible
rickle-msft Aug 2, 2018
fef79d6
CR feedback
rickle-msft Aug 8, 2018
4e8d8c9
Nothing special
rickle-msft Aug 8, 2018
b27ee68
Fixed issue in etag locking that messed up access conditions
rickle-msft Aug 9, 2018
14f2c5b
Removed memory mapping from TransferManager
rickle-msft Aug 16, 2018
cbef892
CR feedback
rickle-msft Aug 21, 2018
b82363a
ServiceSAS tests
rickle-msft Aug 16, 2018
9f6b2da
SAS tests complete
rickle-msft Aug 17, 2018
42f7625
Updated links for api refs
rickle-msft Aug 22, 2018
59cef17
Logging tests
rickle-msft Aug 21, 2018
0649e4f
Updated changelog
rickle-msft Aug 22, 2018
92cd335
Added a test to ensure uploadFromFile is replayable
rickle-msft Aug 22, 2018
fd2bf93
Last minute cleanup before release
rickle-msft Aug 22, 2018
549b1ae
Merge pull request #360 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft Aug 23, 2018
70eed09
Merge pull request #361 from Azure/New-Storage-SDK-V10-Preview-dev
rickle-msft Aug 23, 2018
f1ee73c
Fixed some transiet failures in incremental copy tests
rickle-msft Aug 24, 2018
e33f686
Interfaces for helper types updated
rickle-msft Aug 28, 2018
d15c864
Added reliable download functionality to DownloadResponse
rickle-msft Aug 28, 2018
7489ac1
Most tests converted to downloadResponse
rickle-msft Aug 30, 2018
9e688ba
Removed RetryReader
rickle-msft Aug 30, 2018
3df742e
Cleanup
rickle-msft Sep 7, 2018
be2d206
Reverted to retrying on IOException
rickle-msft Sep 7, 2018
ceb8447
Small doc update
rickle-msft Sep 7, 2018
d45d893
Added context class
rickle-msft Aug 23, 2018
086fbde
Switched to autorest generated headers and access conditions
rickle-msft Aug 31, 2018
8c9188e
Fixed tests
rickle-msft Sep 4, 2018
a3894e8
Extracted TransferManager inner classes to top level
rickle-msft Sep 10, 2018
e839bc9
Added hints to user that Flowables for upload must be replayable
rickle-msft Aug 13, 2018
87478ee
Incorporated new autorest exception type
rickle-msft Aug 21, 2018
8edb5ac
Updated some tests
rickle-msft Sep 10, 2018
f4cd2ed
Changelog breakingChanges
rickle-msft Sep 10, 2018
184f25f
Generated with context feature
rickle-msft Sep 5, 2018
d319f89
Added context parameter. need to add tests
rickle-msft Sep 6, 2018
21668ad
Started context tests
rickle-msft Sep 7, 2018
e6a46d4
Infra for context tests
rickle-msft Sep 8, 2018
356a167
Halfway through context tests
rickle-msft Sep 8, 2018
26642fc
Added tests for context
rickle-msft Sep 10, 2018
653791b
Changelog breakingChanges
rickle-msft Sep 10, 2018
7c140c2
Deleted some old files
rickle-msft Sep 11, 2018
edb4ca8
Fixed a broken test
rickle-msft Sep 11, 2018
c670ee2
Release cleanup
rickle-msft Sep 11, 2018
2d843c4
Merge pull request #364 from rickle-msft/New-Storage-SDK-V10-Preview-dev
rickle-msft Sep 11, 2018
ebdc214
Merge pull request #365 from Azure/New-Storage-SDK-V10-Preview-dev
rickle-msft Sep 11, 2018
1440ec7
Added min overloads
rickle-msft Sep 18, 2018
f117856
Cleaned up and reformatted some docs immediately postGA. Trying estab…
rickle-msft Sep 21, 2018
6ee6bd4
Added some test infra and logging to help debug errors in CI
rickle-msft Sep 21, 2018
e960860
Added package info for blob package for javadoc description
rickle-msft Sep 24, 2018
5c129b1
Fixed up api ref samples link and CI
rickle-msft Sep 24, 2018
6d90a30
Added deep sync copy support
rickle-msft Sep 26, 2018
5965a69
Merge pull request #372 from rickle-msft/dev
prjain-msft Oct 5, 2018
c362ce7
Added support for progress reporting
rickle-msft Oct 11, 2018
a1e7012
Fix failing unit tests (#381)
mikeharder Oct 12, 2018
9a28f04
Merge pull request #380 from rickle-msft/dev
prjain-msft Oct 12, 2018
d8d0477
Fixed some overflow bugs in TransferManager and reliable download set…
rickle-msft Oct 10, 2018
42e015f
CR feedback and updated Contributing doc
rickle-msft Oct 12, 2018
06fa772
Merge pull request #387 from rickle-msft/dev
prjain-msft Oct 22, 2018
5c11555
Added issue template
rickle-msft Oct 24, 2018
9f0c9f1
Added min overloads
rickle-msft Sep 18, 2018
b7bbf05
Cleaned up and reformatted some docs immediately postGA. Trying estab…
rickle-msft Sep 21, 2018
8a82566
Added some test infra and logging to help debug errors in CI
rickle-msft Sep 21, 2018
d0d11ac
Added package info for blob package for javadoc description
rickle-msft Sep 24, 2018
73fb80a
Fixed up api ref samples link and CI
rickle-msft Sep 24, 2018
cc63f2e
Added deep sync copy support
rickle-msft Sep 26, 2018
d976ce6
Added support for progress reporting
rickle-msft Oct 11, 2018
cd65ffd
Fixed some overflow bugs in TransferManager and reliable download set…
rickle-msft Oct 10, 2018
fe328c6
CR feedback and updated Contributing doc
rickle-msft Oct 12, 2018
1992f36
Release prep
rickle-msft Oct 29, 2018
683115d
Merge remote-tracking branch 'upstream/dev' into dev
rickle-msft Oct 29, 2018
988fd70
Merge pull request #391 from rickle-msft/dev
prjain-msft Oct 29, 2018
715496a
Merge pull request #392 from Azure/dev
rickle-msft Oct 29, 2018
f311f6d
Updated LoggingFactory to also log request HTTP method, URL, and head…
seanmcc-msft Oct 31, 2018
d9bd14c
Updated README to include table
rickle-msft Nov 1, 2018
777b9d9
Update README.md
Nov 2, 2018
5365419
Update README.md
Nov 2, 2018
1fb2d25
Fixed a flaky block blob test
rickle-msft Oct 30, 2018
19f4cd0
Added policy to set request on response object
rickle-msft Nov 7, 2018
9df20cf
Merge pull request #404 from rickle-msft/dev
rickle-msft Nov 14, 2018
88cba9f
Added custom deserializer to fix bug that would sometimes return inco…
rickle-msft Nov 7, 2018
d0b4b88
Merge pull request #1 from rickle-msft/async-blockListDeserialization
rickle-msft Nov 16, 2018
348cb4d
Merge pull request #405 from rickle-msft/dev
rickle-msft Nov 16, 2018
7372eef
Added support for slf4j. Added default logging
rickle-msft Nov 6, 2018
82fa66d
Merge branch 'dev' of github.com:rickle-msft/azure-storage-java into dev
rickle-msft Nov 16, 2018
9a6a2f8
Merge pull request #406 from rickle-msft/dev
rickle-msft Nov 16, 2018
628518e
10.3.0 release prep
rickle-msft Nov 19, 2018
147551b
Merge pull request #407 from rickle-msft/dev
rickle-msft Nov 19, 2018
1d0be05
Update ChangeLog.txt
rickle-msft Nov 19, 2018
13abebb
Update ChangeLog.txt
rickle-msft Nov 19, 2018
e5d51ee
Merge pull request #408 from Azure/dev
rickle-msft Nov 20, 2018
da2302c
Handle tmpdir with no trailing separator.
ataylor284 Nov 29, 2018
561936b
Merge pull request #414 from ataylor284/fix-logging-path2
rickle-msft Nov 30, 2018
9ca0d32
Removed some lingering dev notes
rickle-msft Nov 26, 2018
78d0d3a
Changed test behavior to allow for absence of some creds
rickle-msft Nov 27, 2018
5e7dfba
Release prep
rickle-msft Jan 11, 2019
5e74cb4
Merge pull request #421 from rickle-msft/dev
rickle-msft Jan 11, 2019
c22bdf0
Merge pull request #422 from Azure/dev
rickle-msft Jan 11, 2019
d25723c
Upload from non replayable flowable
rickle-msft Nov 16, 2018
e6cc684
Merge pull request #434 from rickle-msft/dev
rickle-msft Feb 15, 2019
d4a55dc
10.5.0 release prep
rickle-msft Feb 15, 2019
e463b46
Merge pull request #435 from rickle-msft/dev
rickle-msft Feb 15, 2019
12d9633
Merge pull request #436 from Azure/dev
rickle-msft Feb 15, 2019
fc17232
code restructure
g2vinay Mar 4, 2019
7765874
Merge remote-tracking branch 'storagesource/master' into storage-code…
g2vinay Mar 4, 2019
47bebc8
Merge branch 'master' into storage-code-migration
g2vinay Mar 4, 2019
8709cf1
Merge branch 'master' into storage-code-migration
g2vinay Mar 4, 2019
85ee865
Merge branch 'master' into storage-code-migration
JonathanGiles Mar 7, 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
15 changes: 15 additions & 0 deletions storage/data-plane/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties

# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
!/.mvn/wrapper/maven-wrapper.jar

*.iml
.idea/
5 changes: 5 additions & 0 deletions storage/data-plane/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: groovy
jdk:
- oraclejdk8
script:
- mvn test
25 changes: 25 additions & 0 deletions storage/data-plane/BreakingChanges.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
2018.08.11 Version 10.1.0
* Interfaces for helper types updated to be more consistent throughout the library. All types, with the exception of the options for pipeline factories, use a fluent pattern.
* Removed RetryReader type as it's functionality was moved to be built into the DownloadResponse. RetryReaderOptions are now named ReliableDownloadOptions.
* Restructured the access conditions to be more logically adhere to their respective functions.
* Added support for context parameter on each api to allow communication with the pipeline from the application level

2018.08.22 Version 10.0.4-rc
* Changed BlobURL.startCopy sourceAccessConditions parameter to be HTTPAccessConditions as lease is not actually supported.
* UploadFromFile now takes an AsynchronousFileChannel.
* UploadByteBuffersToBlockBlob, UploadByteBufferToBlockBlob, and DownloadToBuffer have been removed.
* IPRange fields are now strings.

2018.08.07 Version 10.0.2-Preview
* Changed BlobListingDetails constructor to take a flag to include deleted blobs.
* Restructured the blob and container listing responses.
* BlockBlobURL.MAX_PUT_BLOCK_BYTES renamed to BlockBlobURL.MAX_STAGE_BLOCK_BYTES.
* Changed the accessConditions parameter to be HTTPAccessConditions instead of BlobAccessConditions, since only http access conditions are supported.

2018.07.03 Version 10.0.1-Preview
* Created the StorageException type, which deserializes the XML payload in an error response if present and gives access to the ErrorCode header as a property.
* Changed the AppendBlobAccessConditions field types to be Long instead of Int.
* Changed RequestRetryOptions maxTries and tryTimeout fields to be Integer instead of int. 0 is no longer allowed.
* Changed the return type of BlobURL.download to be a DownloadResponse instead of BlobsDownloadResponse for integration with RetryReader.
* Changed CommonRestResponse.lastModifiedTime to be lastModified.
* Changed the dateProperty field in all auto-generated files to be date.
58 changes: 58 additions & 0 deletions storage/data-plane/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
Hello! Thank you for being interested in contributing to our project!
Please make sure you've followed the instructions provided in the [Azure Projects Contribution Guidelines](http://azure.github.io/guidelines/).
## Project Setup
The Azure Storage development team uses Intellij. However, any preferred IDE or other toolset should be usable.

### Install
* Java SE 8+
* [Maven](https://maven.apache.org/install.html)
* Clone the source code from GitHub

#### IntelliJ Installation
* [IntelliJ](https://www.jetbrains.com/idea/download)
* [Importing project from Maven for IntelliJ](https://www.jetbrains.com/help/idea//2017.1/importing-project-from-maven-model.html)

#### Eclipse Installation
* [Eclipse](https://eclipse.org/downloads/)
* [Maven plugin for Eclipse](http://www.eclipse.org/m2e/index.html). Some Eclipse packages (ex Eclipse IDE for Java Developers) may come with this plugin already installed.
* Open the project from Eclipse using File->Import->Maven->Existing Maven Projects and navigating to the azure-storage-java folder. Select the listed pom. This imports the source and the test files and downloads the required dependencies via Maven. If you'd like to import the samples, follow the same procedure but navigate to the azure-storage-java\microsoft-azure-storage-samples folder and select that pom. Both projects can be opened at the same time and will be shown in the Package Explorer.

## Tests

### Configuration
The only step to configure testing is to set the appropriate environment variables. Create environment variables named "ACCOUNT_NAME" and "ACCOUNT_KEY", holding your Azure storage account name and key respectively. This will satisfy most tests.
To run any tests requiring two accounts (generally those testing copy-related apis), set environment variables "SECONDARY_ACCOUNT_NAME", and "SECONDARY_ACCOUNT_KEY".
To run any tests related to setting blob tiers on block blobs, set environment variables "BLOB_STORAGE_ACCOUNT_NAME" and "BLOB_STORAGE_ACCOUNT_KEY". Note that a GPV2 account is also sufficient here.
To run any tests related to setting blob tiers on page blobs, set environment variables "PREMIUM_ACCOUNT_NAME" and "PREMIUM_ACCOUNT_KEY".
It is valid to use a single account for multiple scenarios; a GPV2 account would work for both the primary account and the blob storage account, for instance. The only restriction is that the primary and secondary accounts must be distinct.

### Running
To actually run tests, right click on the test class in the Package Explorer or the individual test in the Outline and select Run As->GroovyTest. Alternatively, run mvn test from the command line.
### Testing Features
As you develop a feature, you'll need to write tests to ensure quality. You should also run existing tests related to your change to address any unexpected breaks.

## Pull Requests

### Guidelines
The following are the minimum requirements for any pull request that must be met before contributions can be accepted.
* Make sure you've signed the CLA before you start working on any change.
* Discuss any proposed contribution with the team via a GitHub issue **before** starting development.
* Code must be professional quality
* No style issues
* You should strive to mimic the style with which we have written the library
* Clean, well-commented, well-designed code
* Try to limit the number of commits for a feature to 1-2. If you end up having too many we may ask you to squash your changes into fewer commits.
* [ChangeLog.md](ChangeLog.md) needs to be updated describing the new change
* Thoroughly test your feature

### Branching Policy
Changes should be based on the **dev** branch for non-breaking changes and **dev_breaking** for breaking changes. Do not submit pull requests against master as master is considered publicly released code. Each breaking change should be recorded in [BreakingChanges.md](BreakingChanges.md).

### Adding Features for Java 8+
We strive to release each new feature in a backward compatible manner. Therefore, we ask that all contributions be written to work in Java 8 and 9.

### Review Process
We expect all guidelines to be met before accepting a pull request. As such, we will work with you to address issues we find by leaving comments in your code. Please understand that it may take a few iterations before the code is accepted as we maintain high standards on code quality. Once we feel comfortable with a contribution, we will validate the change and accept the pull request.


Thank you for any contributions! Please let the team know if you have any questions or concerns about our contribution policy.
70 changes: 70 additions & 0 deletions storage/data-plane/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
2019.02.15 Version 10.5.0
* Added uploadFromNonReplayableFlowable to support uploading arbitrary data sources (like network streams) to a block blob.

2019.01.11 Version 10.4.0
* Fixed a bug that caused errors when java.io.tempdir has no trailing separator.
* Upgrade autorest-clientruntime dependency to include some bug fixes.

2018.11.19 Version 10.3.0
* Added support for SLF4J.
* Included default logging to log warnings and errors to the temp directory by default.
* Fixed a bug in hierarchical listings that would sometimes return incomplete results.
* Included the whole HTTP Request in log statements (except for sensitive authorization information, which is redacted).
* Fixed a bug that made the request property on the response object always null.

2018.10.29 Version 10.2.0
* Added overloads which only accept the required parameters.
* Added CopyFromURL, which will do a synchronous server-side copy, meaning the service will not return an HTTP response until it has completed the copy.
* Added support for IProgressReceiver in TransferManager operations. This parameter was previously ignored but is now supported.
* Removed internal dependency on javafx to be compatible with openjdk.
* Fixed a bug that would cause downloading large files with the TransferManager to fail.
* Fixed a bug in BlobURL.download() logic for setting up reliable download. This had the potential to download the wrong range when a download stream was retried.

2018.09.11 Version 10.1.0
* Interfaces for helper types updated to be more consistent throughout the library. All types, with the exception of the options for pipeline factories, use a fluent pattern.
* Removed RetryReader type as it's functionality was moved to be built into the DownloadResponse. RetryReaderOptions are now named ReliableDownloadOptions.
* Restructured the access conditions to be more logically adhere to their respective functions.
* Added support for context parameter on each api to allow communication with the pipeline from the application level

2018.08.22 Version 10.0.4-rc
* Support for the 2017-11-09 REST version. Please see our REST api documentation and blogs for information about the related added features.
* Support for 2018-03-28 REST version. Please see our REST api documentation and blogs for information about the related added features.
* Support for the getAccountInfo api on ServiceURL, ContainerURL, and BlobURL.
* Added support for setting service properties related to static websites.
* Changed BlobURL.startCopy sourceAccessConditions parameter to be HTTPAccessConditions as lease is not actually supported.
* Added methods to TransferManager for conveniently downloading a blob to a file.
* UploadFromFile now takes an AsynchronousFileChannel.
* UploadByteBuffersToBlockBlob, UploadByteBufferToBlockBlob, and DownloadToBuffer have been removed.
* IPRange fields are now strings.
* Fixed retry policy.
* Fixed logging policy.

2018.08.08 Version 10.0.3-Preview
* Resolved dependency issues

2018.08.07 Version 10.0.2-Preview
* Support for 2017-07-29 REST version. Please see our REST api documentation and blogs for information about the related added features.
* Support for setting a block blob's tier.
* Added support for soft delete feature. If a delete retention policy is enabled through the set service properties API, then blobs or snapshots can be deleted softly and retained for a specified number of days, before being permanently removed by garbage collection.
* Changed BlobListingDetails constructor to take a flag to include deleted blobs.
* Restructured the blob and container listing responses.
* BlockBlobURL.MAX_PUT_BLOCK_BYTES renamed to BlockBlobURL.MAX_STAGE_BLOCK_BYTES.
* Changed the accessConditions parameter to be HTTPAccessConditions instead of BlobAccessConditions, since only http access conditions are supported.

2018.07.03 Version 10.0.1-Preview
* Added the RetryReader class to allow for more reliable streaming on large downloads. This is now the return type of blobURL.download
* Fixed a bug that caused generation of signatures to fail at high levels of parallelism.
* Created the StorageException type to give easy access to the ErrorCode, StatusCode, and Message as available for unsuccessful responses.
* Added the StorageErrorCode type for checking against error codes returned by the service.
* Changed the AppendBlobAccessConditions field types to be Long instead of Int.
* Upgraded Netty dependency to allow uploading memory mapped files with https.
* Upgraded the autorest runtime dependency to fix a dependency bug in their package.
* Changed RequestRetryOptions maxTries and tryTimeout fields to be Integer instead of int. 0 is no longer allowed.
* Changed CommonRestResponse.lastModifiedTime to be lastModified.
* Added statusCode property to CommonRestResponse.
* Change dateProperty to be date on all generated types.
* Fixed a bug that prevented proper reset of body stream upon retry.
* Updated the defaults for RequestRetryOptions.

2018.04.27 Version 10.0.0-preview
* Initial Release. Please see the README and wiki for information on the new design.
10 changes: 10 additions & 0 deletions storage/data-plane/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### Which service(blob, file, queue, table) does this issue concern?


### Which version of the SDK was used?


### What problem was encountered?


### Have you found a mitigation/solution?
21 changes: 21 additions & 0 deletions storage/data-plane/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) Microsoft Corporation. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
Loading