Commit Graph

729 Commits

Author SHA1 Message Date
Victor Vazquez
dfdaf25223
[Core] Refactor RequestFailedException with Http information (#2026)
* KeyVault Exception
2021-04-05 12:11:31 -07:00
Anton Kolesnyk
a7fdea42e6
Introduce Context::Key with pointer comparison speeds (#1988) 2021-04-05 11:26:50 -07:00
Victor Vazquez
308e5363ad
remove the common namespace from keyvault (#2029) 2021-04-02 06:02:23 +00:00
Victor Vazquez
2348ad9d5a
update links for samples (#2021) 2021-04-02 05:03:28 +00:00
Anton Kolesnyk
36ed1e18fa
Add live tests for Identity (#2011) 2021-04-01 17:32:43 -07:00
Ahson Khan
80e61d8929
Add a forward slash at the end of the key vault URL to match what the portal returns. (#2017)
* Add a forward slash at the end of the key vault URL to match what the portal returns.

* Don't add the extra `/` in the expected token within tests.

* Fix another instance of extra `/`.

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-04-01 01:21:50 -07:00
Ahson Khan
0a68af6c1f
Add error checking around std::getenv for KeyVault tests (#2019)
* Add error checking around std::getenv for KeyVault tests

* Revert unrelated change.
2021-04-01 03:43:16 +00:00
Ahson Khan
8095d85e67
Simplify the public surface design of Response<T> for usability. (#1974)
* Simplify the design of Response<T> for usability.

* Revert changes to operation<T> to keep the changes single purpose.

* Update many of the response<T> call sites based on API changes.

* Update all remaining callsites and fix clang formatting.

* Update Response<T> documentation.

* Fix clang formatting.

* Remove status code from the Response<T> public surface area.

* Update the changelog.

* Fix up CL wording and remove commented-out change to operation<T>.

* Fixed test by actually calling a method.

* Fix up key vault test by not taking ownership of raw response.

* Fix call to get status code in test.

* Add new line at end of keyvualt live test file.

* Make a local copy within keyvault pipeline to avoid compilers re-ordering things.

* Make the fixes to the recent keyvault changes.

* Fix key vault pipeline to address ImportKey test failure
2021-04-01 00:50:04 +00:00
Victor Vazquez
41be347002
remove-http-response-apis (#1998)
* remove-http-response-apis
2021-03-31 23:53:38 +00:00
Victor Vazquez
bae16450c9
update 3rd party httpbin server for inhouse instance (#1935)
* update 3rd party httpbin server for inhouse instance
2021-03-31 16:35:03 -07:00
Anton Kolesnyk
ddd7a093f4
Move policies to internal (#1985) 2021-03-31 12:56:33 -07:00
JinmingHu
0cd405d064
changelog (#2008) 2021-03-31 14:49:42 +08:00
Victor Vazquez
a4ae81708b
[Keyvault] APIs (#1967)
Adding the next APIs:

UpdateKeyProperties, fixes: #1541
GetPropertiesOfKeys , fixes: #1542
GetPropertiesOfKeyVersions, fixes: #1543
GetDeletedKeys, fixes: #1546
PurgeDeletedKey, fixes: #1547
StartRecoveryDeletedKey, fixes: #1548
BackupKey, fixes: #1549
RestoreKeyBackup, fixes: #1550
ImportKey, fixes: #1551
Add samples, fixes: #1987
2021-03-30 20:12:48 +00:00
Victor Vazquez
7490709db4
test for Context heap integrity (#1999) 2021-03-30 18:52:47 +00:00
Anton Kolesnyk
0665efe0fe
unique_ptr Get() => Extract() || Send() || ExtractOrCreate() (#1984) 2021-03-30 10:17:24 -07:00
JinmingHu
b9c5c978ee
refine impl of rename file/directory (#1991)
* fix bug: / was left out in rename source

* refine impl of rename file/directory
2021-03-30 11:58:33 +08:00
JinmingHu
88499ab1b6
fix user-agent (#1990) 2021-03-30 01:35:50 +00:00
Anton Kolesnyk
b606ff60dc
Add ADFS support for ClientSecretCredential (#1947) 2021-03-29 17:26:42 -07:00
Azure SDK Bot
d28d52b058
Increment version for storage releases (#1969)
* 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

* Revert the ordering change for beta.6.

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
2021-03-24 02:06:06 +00:00
Ahson Khan
82dd53f3b1
Fix the date in the changelog for storage beta.6 packages using the correct year to avoid auto version bump PR re-ordering it (#1970)
* Fix the date in the changelog for storage beta.6 packages using the correct year to avoid auto version bump PR re-ordering it

* Fix the year for common beta.6

* Fix the CL year for shares beta.6

* Fix the CL year for datalake beta.6
2021-03-24 01:48:00 +00:00
Victor Vazquez
d6cd0af3cc
remove value policy from core (#1917) 2021-03-23 22:31:54 +00:00
Chidozie Ononiwu
3d1a58e3f8
Fixup CHANGELOG.md, add SetPackageVersion, add calls to set-test-pipe… (#1936)
* Fixup CHANGELOG.md, add SetPackageVersion, add calls to set-test-pipeline-version.yml

* Run set-test-pipeline-version.yml per artifact, open testpipeline as draft

* git diff to view changes in file

* Move set-test-pipeline-version.yml after Validate Clang Format

* remove second artifact loop in archetype-cpp-release.yml
2021-03-23 11:34:30 -07:00
JinmingHu
417dde4144
mint storage beta 9 (#1957) 2021-03-23 10:15:45 +08:00
Kan Tang
0d422b95a0
Remove Type suffix from some enums. (#1951)
* Remove Type suffix from some enums.

* Remove more fields.

* Resolve build issue on Linux.
2021-03-22 23:20:04 +00:00
Ahson Khan
9f4b389f4d
Update relative links to sections in the contributing guide doc to fix link verification (#1955)
* Update relative links to sections in the contributing guide doc to fix link verification

* Make some source code change modifications to trigger GenerateRelease CI steps

* Don't use relative paths in links, instead use the full path from master to be consistent with other places
2021-03-22 21:41:46 +00:00
Victor Vazquez
1321855517
Operation t docs (#1902)
* operation tech doc
2021-03-19 22:06:08 -07:00
JinmingHu
c3a9d67d01
rename BlockListTypeOption -> BlockListType (#1945) 2021-03-19 09:54:57 +00:00
Kan Tang
ea2186bee3
Hide unused models. (#1944)
* Hide unused models.

* Resolve comments.
2021-03-19 08:17:05 +00:00
Kan Tang
8fa71e0f31
Remove ShareStats. (#1946) 2021-03-19 07:48:01 +00:00
Kan Tang
de28afadc6
Removed unwanted Share prefix and moved unused models to details. (#1940)
* Removed unwanted Share prefix and moved unused models to details.

* Resolve build issues.

* Resolve comments.

* Access Tier change.

* FileServiceProperties to ShareServiceProperties
2021-03-19 06:59:15 +00:00
JinmingHu
37e5b2ad79
rename Tier -> AccessTier (#1943) 2021-03-19 06:23:35 +00:00
JinmingHu
a66592c99e
Rename some return types and options (#1941)
* rename some return types and options

* fix changelog

* BodyStream reference in blob protocol layer

* PathClient::GetAccessControlList returns PathAccessControlList

* more changelog

* changelog

* move UndeleteBlobContainerResult to _detail
2021-03-19 13:32:26 +08:00
JinmingHu
b88eb6d785
remove public fields from operation<T> (#1939) 2021-03-19 04:10:50 +00:00
JinmingHu
1b316d3b44
Changed BodyStream parameter in upload functions from pointer to refe… (#1938)
* Changed BodyStream parameter in upload functions from pointer to reference

* clang-format
2021-03-19 03:19:37 +00:00
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