Commit Graph

695 Commits

Author SHA1 Message Date
Kan Tang
e360553546
Remove request IDs (#1930)
Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2021-03-18 20:32:40 +08:00
JinmingHu
47c426990b
Removed RequestId from return types (#1931)
* remove request IDs

* changelog

* remove more
2021-03-18 19:51:35 +08:00
Ahson Khan
f0b837d8c6
Update storage datalake CL to group changes to return types together (#1933)
* Update storage datalake CL to group changes to return types together

* Remove DataLake from the return types in CL

* Update CL for file shares to be accurate

* Fix file shares GetProperties breaking changes
2021-03-18 02:12:49 -07:00
Ahson Khan
72c082d98c
Update storage CL to group changes to return types together (#1932) 2021-03-18 06:55:31 +00:00
JinmingHu
9152e3dc33
remove DataLake/Blob/Share from options and result types (#1927) 2021-03-18 05:58:39 +00:00
Victor Vazquez
a5bc8fe0ef
Adding GetDeletedKey (#1907)
* Adding GetDeletedKey
2021-03-17 18:15:35 +00:00
JinmingHu
5210e8eb0d
revert changes to GetAccessPolicy (#1923) 2021-03-17 03:09:37 +00:00
JinmingHu
5df3596c34
Changed return type of BlobClinet::GetTags to std::map<std::string, std::string> (#1922) 2021-03-17 10:37:12 +08:00
JinmingHu
35b39f7cb1
GetRangeListDiff (#1915) 2021-03-17 02:34:18 +00:00
JinmingHu
64d9356ff6
remove all use of ValuePolicy (#1914) 2021-03-16 09:28:25 -07:00
Kan Tang
f99b214be9
Datalakereturntype (#1916)
* DataLake 'Get' operation return type refine.

* Added minor changes for Get return types in DataLake
2021-03-16 08:53:38 +00:00
Kan Tang
2c369a2c3b
Rename return types of some Get operations in file service. (#1820)
* Renamed file service's get APIs.

* Resolved comments.

* Resolve comments
2021-03-16 08:16:59 +00:00
JinmingHu
7cade913bc
remove struct SecondaryHostReplicaStatus, to simplify context use (#1913)
# Pull Request Checklist

Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:

See the detailed list in the [contributing guide](https://github.com/Azure/azure-sdk-for-cpp/blob/master/CONTRIBUTING.md#pull-requests).

- [x] [C++ Guidelines](https://azure.github.io/azure-sdk/cpp_introduction.html)
- [x] Doxygen docs
- [x] Unit tests
- [x] No unwanted commits/changes
- [x] Descriptive title/description
  - [x] PR is single purpose
  - [x] Related issue listed
- [x] Comments in source
- [x] No typos
- [x] Update changelog
- [x] Not work-in-progress
- [x] External references or docs updated
- [x] Self review of PR done
- [x] Any breaking changes?
2021-03-16 07:05:08 +00:00
JinmingHu
9c7d4c61e4
move stuff from _details to _internal for storage-common package (#1912)
closes https://github.com/Azure/azure-sdk-for-cpp/issues/1869


# Pull Request Checklist

Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:

See the detailed list in the [contributing guide](https://github.com/Azure/azure-sdk-for-cpp/blob/master/CONTRIBUTING.md#pull-requests).

- [x] [C++ Guidelines](https://azure.github.io/azure-sdk/cpp_introduction.html)
- [x] Doxygen docs
- [x] Unit tests
- [x] No unwanted commits/changes
- [x] Descriptive title/description
  - [x] PR is single purpose
  - [x] Related issue listed
- [x] Comments in source
- [x] No typos
- [x] Update changelog
- [x] Not work-in-progress
- [x] External references or docs updated
- [x] Self review of PR done
- [x] Any breaking changes?
2021-03-16 06:55:13 +00:00
JinmingHu
86c908eeda
fix flaky test failure (#1910) 2021-03-16 06:11:25 +00:00
JinmingHu
100eba49e2
rename return types of some Get operations (#1819) 2021-03-16 12:30:30 +08:00
Victor Vazquez
009260c50a
rename private method (#1903) 2021-03-16 00:51:14 +00:00
Ahson Khan
c9e02370fe
Add back-ticks around Response<void> in changelog (#1886)
* Add back-ticks around `Response<void>` in changelog

* Remove extra whitespace after type name in identity CL.

* Add back-ticks around type name in identity CL.

Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
2021-03-13 05:29:50 +00:00
Victor Vazquez
6c5e487f6d
fix pollInternal implementation (#1892) 2021-03-12 16:22:34 -08:00
Victor Vazquez
42a67b1349
Moving GetRawResponseInternal out of public from Operation derived classes (#1890) 2021-03-12 12:31:01 -08:00
Azure SDK Bot
e1288767d4
Increment package version after release of azure-core (#1887)
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2021-03-12 09:49:27 -08:00
Azure SDK Bot
16873d4398
Increment package version after release of azure-identity (#1888) 2021-03-12 09:47:48 -08:00
Ahson Khan
a864982208
Add date to the changelog for packages shipping today. (#1884) 2021-03-11 20:45:31 -08:00
Victor Vazquez
ad8528b86d
Fix StartCopyBlobOperation by removing the field - derived classes should not define a member with the same type and name as the base class (#1883)
Remove the raw response from Operation-derived class
2021-03-12 04:44:24 +00:00
Anton Kolesnyk
299b07e190
Changelog: Rephrase to move related entities closer together. (#1874)
* Move changelog entry to correct place

* Reformat breaking changes

* New feature in the right place

* body_stream.hpp

* Backtick

* Add changes made for Context

* More updates

* More updates

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-03-11 19:47:17 -08:00
Victor Vazquez
825d4f11d5
make poll return const ref to rawResponse (#1875)
* make poll return const ref to rawResponse
2021-03-12 03:18:47 +00:00
Ahson Khan
fc79c5b3ad
Rename header files to match the namespace structure for things nested within Azure::Core. (#1879)
* Rename header files to match the namespace structure for things nested
within Azure::Core.

* Update a header include that was missed.
2021-03-11 16:22:37 -08:00
Ahson Khan
bd8336f8a2
Removed Azure::Core::Http::InvalidHeaderException and throw std::invalid_argument if the user provides invalid header arguments. (#1871) 2021-03-11 13:42:33 -08:00
Ahson Khan
6a1afb9cbe
Moved the Base64Encode() and Base64Decode() functions to be static members of a Convert class within the Azure::Core namespace. (#1870)
* Moved the `Base64Encode()` and `Base64Decode()` functions to be static members of a `Convert` class within the `Azure::Core` namespace.

* Add the class name in the source file for posix.
2021-03-11 12:39:51 -08:00
Rick Winter
7c862e1a51
Switch to return the RawResponse const& (#1852)
* Operation returns a RawResposne const&
2021-03-11 10:59:33 -08:00
Anton Kolesnyk
64c0af3f67
Fix build on VS2017 (#1864) 2021-03-11 18:43:27 +00:00
Ahson Khan
ec1c92f2ea
Fix to call the instance method on bodystream from recent tests. (#1866) 2021-03-11 17:57:06 +00:00
Ahson Khan
12475350b2
Changed the static methods 'BodyStream::ReadToCount()' and 'BodyStream::ReadToEnd()' into instance methods. (#1863)
Usability studies found that static methods are generally not as user-friendly as instance methods. Folks new to the SDK have harder time discovering the APIs, they reverse the flow of typing, and the calling code ends up a bit more verbose because you have to spell out the whole namespace and type name when there aren't any using directives.

There doesn't seem to be a strong benefit or feasibility reason to keep these method statics which are typically harder to use and discover.

cc @kyle-patterson
2021-03-11 11:58:33 +00:00
Ahson Khan
84df3cefbc
Make FileBodyStream easy to construct by accepting a file name, and create an internal ParallelFileBodyStream. (#1830)
Alternative to https://github.com/Azure/azure-sdk-for-cpp/pull/1730 which avoids accepting and breaking the `FILE*` abstraction.
2021-03-11 08:39:52 +00:00
Victor Vazquez
c0ce9688d6
fix regression on contex value implementation for Storage (#1862) 2021-03-11 07:53:33 +00:00
Victor Vazquez
23b698f2c6
Move URL to CORE (#1840)
* move url from Core::Http to Core::
2021-03-10 23:29:35 -08:00
Ahson Khan
55fe99a1b1
Revert checked-in connection strings and delete resources. (#1854) 2021-03-10 21:32:03 -08:00
Victor Vazquez
a9c0637e46
Moving Nullable<T> to Azure namespace (#1847)
* Moving Nullable<T> to Azure namespace

* changelog
2021-03-10 18:56:11 -08:00
Victor Vazquez
c7ba56f837
Move http policies to Azure::Core::Http::Policies (#1844)
* Move http policies to Azure::Core::Http::Policies

* update to latest master
2021-03-10 18:55:56 -08:00
Victor Vazquez
33c95b09e9
make curl transport adapter to request new connection if sending fails (#1721)
* make curl transport adapter to request new connection if sending fails
2021-03-10 18:02:04 -08:00
Anton Kolesnyk
de0cb8a720
Azure::Core::Diagnostics (#1851)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-03-10 17:20:45 -08:00
Ahson Khan
f1773636c2
Consolidate the changelog entry for bodystream changes. (#1843) 2021-03-10 17:11:07 -08:00
Anton Kolesnyk
698fac6f19
DefaultAllowedHttpHeaders: Make static default const (#1849)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-03-10 16:40:34 -08:00
Anton Kolesnyk
865f707532
Azure::Core::Credentials (#1846)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-03-10 16:22:10 -08:00
Ahson Khan
2a1ea1f890
Rename the Range type to HttpRange within the Azure::Core::Http namespace. (#1835)
Part of https://github.com/Azure/azure-sdk-for-cpp/issues/1789

> We shouldn't have Method, StatusCode, or Range. The way to reason about this is chances of collision and ease of documentation/discover-ability in SEO. RawResponse is specific enough that it doesn't need Http prefix, that's how I would draw the line.
2021-03-10 23:26:36 +00:00
Rick Winter
ec24f659c4
Simplify the Context structure (#1824)
* Simplify the Context structure
* Move Azure::Core::GetApplicationContext() to Azure::Core::Context::GetApplicationContext()
2021-03-10 23:19:23 +00:00
Anton Kolesnyk
48258f8f81
Azure::*::_detail::Version => Azure::*::PackageVersion (#1839)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-03-10 15:15:28 -08:00
Anton Kolesnyk
76870c4414
Azure::Core::DateTime => Azure::DateTime (#1836)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-03-10 22:44:09 +00:00
Victor Vazquez
7fca169d25
Create StringExtensions in azure core internal (#1837) 2021-03-10 14:13:51 -08:00
Anton Kolesnyk
2562df6682
_internal::Json => Json::_internal (#1834)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-03-10 14:05:35 -08:00