JinmingHu
1b132190ee
unify message format of exception/assertion ( #2382 )
...
* unify exception message
* unify format of assertion message
2021-06-03 10:46:28 +08:00
JinmingHu
ce30cca1cb
use size_t in storage sdk ( #2320 )
...
* use size_t instead of std::size_t
* use size_t for file write length
* fix build error
* fix build errors
* fix build error
2021-05-21 13:58:57 +08:00
JinmingHu
aa0a388e98
small fix: const Type& to be consistent ( #2061 )
2021-04-07 04:22:53 +00:00
Ahson Khan
bb87bd1f19
Removed Url::AppendQueryParameters() since it is no longer used within the SDK. ( #2054 )
...
* Remove since it is no longer used.
* Update usage in test.
* Update usage of append qp in tests.
* Address PR feedback.
2021-04-07 03:02:22 +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
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
Ahson Khan
3d6cd38658
Move Azure::IO types like BodyStream to Azure::Core::IO. ( #1833 )
...
Part of https://github.com/Azure/azure-sdk-for-cpp/issues/1789
From Jeff:
> BodyStream is only exposed to users when uploading/downloading bytes. Except for Storage almost no services do this at all; they read the stream and deserialize into a structure and the customer gets the structure - not the stream. Azure::Core:IO is a fine namespace.
2021-03-10 21:36:29 +00:00
Anton Kolesnyk
bc564dbddd
Namespaces renamed: Details => _detail, Internal => _internal ( #1823 )
2021-03-09 18:05:47 -08:00
Ahson Khan
c564c02544
Move APIs from Azure::Core::Strings to Azure::Core::Internal since they aren't meant for end users to call. ( #1337 )
...
Fixes https://github.com/Azure/azure-sdk-for-cpp/issues/1319
See https://github.com/Azure/azure-sdk-for-cpp/pull/1297#discussion_r554458422 for context.
~There is an open question whether this should be in the Jan or Feb milestone.~ Moved to Feb
2021-01-15 22:02:40 +00:00
Anton Kolesnyk
99a6ec5395
DateTime: better integration with chrono, support year 0001+ ( #1320 )
2021-01-11 17:40:16 -08:00
JinmingHu
b8e5c95d21
Integrate Core::DateTime into storage ( #1246 )
...
* blob package can build
* test can build
* changelog
* datatime for datalake sas
* fix test error
* user delegation key doesn't support time fractional part
* add comments
* Added DateTime for DataLake and many other refinements.
* Resolved review comments.
* Added changelog
Co-authored-by: Tank Tang <kat@microsoft.com>
2020-12-28 16:00:18 +08:00
JinmingHu
527a2babca
use #include <> instead of #include "" for header files not in current package ( #1243 )
...
* use #include <>
2020-12-23 22:03:17 +08:00
JinmingHu
d9c05e3d06
replace #ifdef/#ifndef with #if defined() in storage ( #1203 )
2020-12-17 18:51:01 +08:00
Anton Kolesnyk
ce98087f7e
Don't use WINDOWS/POSIX/NOMINMAX macros defined in cmake, move them to source code instead ( #1070 )
2020-12-04 11:55:59 -08:00
JinmingHu
46ce66d150
case-insensitive metadata ( #1050 )
...
* case-insensitive metadata
* Added support for case insensitive metadata for file/datalake service
Co-authored-by: Tank Tang <kat@microsoft.com>
2020-12-03 09:49:33 +08:00
JinmingHu
fadb43e664
remove c_ ( #1000 )
...
* remove c_
* remove more c_
* remove more
2020-11-20 12:24:23 +08:00
JinmingHu
9fae36a4f7
rename uri->url ( #997 )
2020-11-20 10:55:10 +08:00
JinmingHu
08e364e1cd
replace std::tolower with Azure::Core::ToLower ( #834 )
2020-10-23 09:43:30 +08:00
Kan Tang
966b7892b2
Avoid test case throw meaningless exception when sys env is not set. ( #723 )
...
* Avoid test case throw meaningless exception when sys env is not set.
* Update sdk/storage/azure-storage-common/test/test_base.cpp
Co-authored-by: JinmingHu <jinmhu@microsoft.com>
* Update sdk/storage/azure-storage-common/test/test_base.cpp
Co-authored-by: JinmingHu <jinmhu@microsoft.com>
* Update sdk/storage/azure-storage-common/test/test_base.cpp
Co-authored-by: JinmingHu <jinmhu@microsoft.com>
* Apply clang format
Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2020-10-12 14:49:30 +08:00
JinmingHu
e238e28b0d
[Storage Common] Storage Retry Policy ( #588 )
...
* storage retry policy
* revert changes to azure core
* refactor storage retry policy
* fix typo
* change the logic a little bit
* adapt storage retry policy in blob batch client
* fix build error
* Add StorageRetryWithSecondaryOptions
2020-09-30 13:14:28 +08:00
JinmingHu
3a4e1f3b49
Restructure storage directory ( #536 )
...
* Restructure azure storage directory
* Add tests and sample
* reformat with clang-format
* Reorder files in CMake
* load versions from version.txt
* fix crash
* Update README.md
* Use relative links
* fix CI
* Fix CI
* Try to fix CI
* Move option to the top of the file
2020-08-27 16:16:08 +08:00