Commit Graph

791 Commits

Author SHA1 Message Date
Victor Vazquez
10d244e511
LRO operation resume token - following factory method design (#2195)
* Add tests for resume token pattern

* update deleteKeyOperation
2021-05-05 23:14:31 +00:00
Victor Vazquez
aa3b6f18f3
Adding noexcpt to isCancelled (#2197)
* Adding noexcpt to isCancelled

* revert cl
2021-05-05 22:01:01 +00:00
Rick Winter
0490d69e02
Ensure random Uuid generation (#2194)
Posix platforms do not generate secure random bytes with random_device().

On posix platforms use the openSSL random byte generator which generates cryptographically secure random bytes

**NOTE**: Once the assert work is done this abort() will be switched over to assert.
2021-05-05 21:41:39 +00:00
Ahson Khan
b5b547f590
Fix datetime doc comment typo (#2191) 2021-05-05 11:33:51 -07:00
Anton Kolesnyk
d69742ae10
Context::GetApplicationContext() => Context::ApplicationContext (#2178) 2021-05-04 15:26:33 -07:00
Victor Vazquez
84560cb5f7
Md5 enhance impl and test (#2157)
* re-design hash md5 header and implementation
2021-05-04 00:11:53 +00:00
Anton Kolesnyk
2c050661aa
Add HttpMethod extensible enum tests (#2175) 2021-04-29 12:47:41 -07:00
JinmingHu
61e3dae352
reorder model types (#2174) 2021-04-29 09:08:24 +00:00
JinmingHu
2aaceb0d3c
SetPathAccessControlListRecursive and ForceCloseAllHandles (#2173)
* SetPathAccessControlListRecursive

* ForceCloseAllHandles

* CL
2021-04-29 15:11:09 +08:00
JinmingHu
cc1c071c97
Change lease mutates LeaseClient (#2163)
* Change lease mutates LeaseClient
2021-04-29 02:33:06 +00:00
Anton Kolesnyk
cd36753d76
PackageVersion made constexpr and moved to src/package_version.hpp (#2166) 2021-04-28 17:34:24 -07:00
Victor Vazquez
c82f0e8efc
Rename paged models from key vault (#2160)
rename pageable APIs and models from keyvault
2021-04-28 17:49:47 +00:00
JinmingHu
c1b958a598
FIX BUG: cannot upload 5000MiB blob (#2165) 2021-04-28 06:14:41 +00:00
JinmingHu
0cc4f0a34b
default chunk size for concurrent upload is nullable (#2162) 2021-04-28 04:17:07 +00:00
JinmingHu
ff10813ba0
Add docs for return types and options (#2159)
* Add docs for return type

* datalake options

* share options

* transfer options
2021-04-28 10:42:58 +08:00
JinmingHu
8a369f5e27
use Core::PagedResponse (#2158)
* use Core::PagedResponse

* null if continuation token is empty
2021-04-27 13:32:57 +08:00
Victor Vazquez
fe9002e905
Moving Pageble<T> to Core and updating KeyVault to use it (#2144)
* updated getDeletedKeys

* pagable for list keys
2021-04-27 02:44:03 +00:00
Anton Kolesnyk
698e9965c5
VcPkg: format json manifest files (#2151) 2021-04-22 17:37:44 -07:00
Anton Kolesnyk
fdfc915565
VcPkg manifest tweaks (#2149) 2021-04-22 12:27:56 -07:00
Anton Kolesnyk
23f98744ba
VcPkg: use version-semver (#2138) 2021-04-20 11:41:19 -07:00
Anton Kolesnyk
ba714bebd1
VcPkg files: Simplify header comment handling (#2135) 2021-04-20 01:01:16 +00:00
Ahson Khan
d452e94337
Update vcpkg ports to use a manifest json file instead of a CONTROL file. (#2132)
* Update vcpkg ports to use a manifest json file instead of a CONTROL file.

* Update vcpkg ports to use a manifest json file instead of a CONTROL file
for remaining packages.

* Add the new vcpkg manifet json files and also update the template
package.

* Update paths in the cmake and eng scripts to find the right file now
that CONTROL is gone.
2021-04-19 12:50:50 -07:00
Victor Vazquez
3e1af936d9
Remove thread detach (#2105) 2021-04-17 21:36:24 -07:00
Victor Vazquez
668d343dde
Do not reuse connection with diff port (#2122)
* Do not reuse connection with diff port
2021-04-16 23:11:11 +00:00
Victor Vazquez
b87bda520a
based on code -rev from https://github.com/Azure/azure-sdk-for-cpp/pull/2117 (#2125)
* based on code -rev

* remove non-required method

* Update sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/key_type.hpp
2021-04-16 21:00:24 +00:00
Azure SDK Bot
95051bd19c
Increment version for storage releases (#2131)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2021-04-16 10:05:13 +00:00
Ahson Khan
0b7201d6cc
Fix minor nit to storage common change log by specifying full namespace (#2130)
We don't have to block the beta.10 release for this change, it can be merged and fixed up after the release.

That is, this can be merged **after** https://dev.azure.com/azure-sdk/internal/_build/results?buildId=846565&view=results is successful.
2021-04-16 09:20:26 +00:00
JinmingHu
cdef9ee418
Mint storage beta.10 (#2129)
* Mint storage beta10

* Update sdk/storage/azure-storage-common/CHANGELOG.md
2021-04-16 15:02:09 +08:00
JinmingHu
38a376dc60
Pageable list functions (#2116)
* Pageable ListBlobs and ListBlobsByHierarchy

* remove extra newline

* ListBlobContainers ListFileSystems

* make constructors private

* Fix bug: continuation token

* FindBlobsByTags

* default constructible

* GetPageRanges

* fix bug of HasMore()

* fix ut bug

* ListFilesAndDirecotories

* fix ut bug

* add "class"

* ForceCloseAllHandles

* ListShares

* ListDirectoryHandles

* ForceCloseAllHandles

* ListHandles

* remove unused responses

* reorder

* changelog

* doc

* fix bug

* make ListFileSystemsPagedResponse constructor public

* NextPage

* explicit private

* Update sdk/storage/azure-storage-files-datalake/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* Update sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_service_client.hpp

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* fix clang-format

* optional context

* bla bla

* remove inlcude header

* bla bla bla

* bla bla bla bla

* bla

* rename Items

* rename Handles

* clang-format

* listPaths

* SetAccessControlListRecursive

* move unused return types to details namespace

* Rename NextPage and HasMore

* clang-format

* Apply suggestions from code review

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* Update sdk/storage/azure-storage-blobs/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* Update sdk/storage/azure-storage-blobs/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* Update sdk/storage/azure-storage-blobs/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* add comment Execution is never expected to reach here

* FilterBlobItem -> TaggedBlobItem

* Remvoe SetAccessControlListRecursive

* remove ForceCloseAllHandles

* CL for options

* CL

* Update sdk/storage/azure-storage-files-datalake/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* move impl to .cpp

* keep current page unchanged on exception from MoveToNextPage()

* Update sdk/storage/azure-storage-blobs/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* Update sdk/storage/azure-storage-blobs/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2021-04-16 06:47:50 +00:00
Victor Vazquez
fbe7d51349
Keyvault api review beta.1 updates (#2117)
* Remove to_json for jsonWebKey

* parse N

* Deserialize JWK for EC and OCT

* change log

* format

* fix live tests

* remove KeyVaultException

* Remove clientOptions from keyvault common

* use ext enum pattern

* rename JsonWebKeyType to KeyVaultKeyType

* Move singlePage base classes to shared internal

* rename maxResults

* format

* missing rename

* minor

* fix doxygen

* Make Service Version an ext enum
2021-04-15 11:53:45 -07:00
Victor Vazquez
ce4b285ddd
[Keyvault] operation resume token fix (#2093)
Enable resume operations for keyvault
2021-04-14 18:55:09 +00:00
Victor Vazquez
1ea5afa961
Jwk deserialize (#2087)
* Remove to_json for jsonWebKey

* parse N

* Deserialize JWK for EC and OCT

* change log

* format

* fix live tests
2021-04-14 11:41:05 -07:00
JinmingHu
0fce2f7d68
Fix typo startsOn -> StartsOn (#2099) 2021-04-10 08:20:01 -07:00
Ahson Khan
5715f750e1
Disable warning C6326 (potential comparison of a constant) in recently added azure-core tests. (#2090) 2021-04-09 06:31:59 +00:00
Ahson Khan
0fd687129e
Make the casing of sections within the Changelogs consistent. (#2072) 2021-04-09 01:17:17 +00:00
Victor Vazquez
5de76e7a21
Fix for Azure Core with libcurl. clean up and global clean up (#1500)
make SDK to call global_init and global_cleanup
2021-04-08 22:55:26 +00:00
Azure SDK Bot
ff0d5a18cd
Increment version for keyvault releases (#2084)
* Increment package version after release of azure-security-keyvault-common

* Increment package version after release of azure-security-keyvault-keys

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
2021-04-08 01:19:03 +00:00
Azure SDK Bot
8f45d71c1c
Increment package version after release of azure-identity (#2082)
Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
2021-04-08 00:57:44 +00:00
Azure SDK Bot
2bf0abd60e
Increment package version after release of azure-core (#2081)
Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
2021-04-08 00:36:22 +00:00
Victor Vazquez
fae04fa9d2
Keyvault changelog (#2071)
* update chanlog for KeyVault release
2021-04-07 16:33:33 -07:00
Ahson Khan
46c84e3a3f
Update the Azure.Core changelog to be more consise and complete for the beta.8 (#2069)
* Update the Azure.Core changelog to be more consise and complete for the beta.8
release.

* Fix the new feature section since `GetDeadline` was added this release.

* Add note about types moving between header files.

* Make identity related fixes.

Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
2021-04-07 14:41:12 -07:00
Ahson Khan
4ef65aa00f
Add new header files to the simplified header and update tests. (#2070)
* Add new header files to the simplifie header and update tests.

* Add token credential options header to the simplified header

* Simplify the test.
2021-04-07 21:28:22 +00:00
Ahson Khan
fb000d55b5
Use consistent pascal casing and rename HKEYHolder to HkeyHolder. (#2067)
* Use pascal casing and rename HKEYHolder to HKeyHolder.

* Rename hkeyholder header to hkey_holder to be consistent with others,
and update callers.
2021-04-07 13:30:05 -07:00
JinmingHu
1408064c7a
Add changelog for #2060 (#2063)
Coauthor: Ahson Khan <ahson_ahmedk@yahoo.com>
2021-04-07 19:17:02 +00:00
Victor Vazquez
8b17de0f14
update changelog for release beta - Core and Identity Beta (#2005)
* update changelog for release beta
2021-04-07 18:50:26 +00:00
Victor Vazquez
17c17c9b69
Update ssl name (#2066)
* raname

* changelog
2021-04-07 18:25:13 +00:00
JinmingHu
a786595565
move HttpGetter and HttpGetterInfo to internal namespace (#2060)
* move HttpGetter and HttpGetterInfo to internal namespace

* move to _internal
2021-04-07 04:59:31 +00:00
JinmingHu
aa0a388e98
small fix: const Type& to be consistent (#2061) 2021-04-07 04:22:53 +00:00
Ahson Khan
4db9a563e7
Removed Azure::Core::Context::HasKey() and add TryGetValue() instead (#2037)
~@vhvb1989 This change is blocked until after the retry policy implementation has been updated. Let me know once you have that PR available.~

Fixes https://github.com/Azure/azure-sdk-for-cpp/issues/2036
2021-04-07 03:23:34 +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