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
Anton Kolesnyk
d69742ae10
Context::GetApplicationContext() => Context::ApplicationContext ( #2178 )
2021-05-04 15:26:33 -07: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
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
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
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
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
Victor Vazquez
fae04fa9d2
Keyvault changelog ( #2071 )
...
* update chanlog for KeyVault release
2021-04-07 16:33:33 -07:00
Ahson Khan
304300c928
Removed GetUrlWithoutQuery() and GetUrlAuthorityWithScheme() from Azure::Core::Url and added GetScheme(). ( #2055 )
...
* Removed GetUrlWithoutQuery() and GetUrlAuthorityWithScheme() from
Azure::Core::Url and added GetScheme().
* Address PR feedback.
2021-04-07 01:48:33 +00:00
Ahson Khan
d638d1ff3d
Move package version to details, and rename VersionString() to ToString(). ( #2042 )
2021-04-06 00:50:25 +00:00
Ahson Khan
63b2d21bc6
Renamed Azure::Nullable<T>::GetValue() to Value(). ( #2034 )
...
* Renamed `Azure::Nullable<T>::GetValue()` to `Value()`.
* Update clang formatting.
2021-04-05 15:42:14 -07:00
Victor Vazquez
dfdaf25223
[Core] Refactor RequestFailedException with Http information ( #2026 )
...
* KeyVault Exception
2021-04-05 12:11:31 -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
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
Anton Kolesnyk
ddd7a093f4
Move policies to internal ( #1985 )
2021-03-31 12:56:33 -07: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
Anton Kolesnyk
0665efe0fe
unique_ptr Get() => Extract() || Send() || ExtractOrCreate() ( #1984 )
2021-03-30 10:17:24 -07:00
Victor Vazquez
a5bc8fe0ef
Adding GetDeletedKey ( #1907 )
...
* Adding GetDeletedKey
2021-03-17 18:15:35 +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
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
Rick Winter
7c862e1a51
Switch to return the RawResponse const& ( #1852 )
...
* Operation returns a RawResposne const&
2021-03-11 10:59:33 -08:00
Victor Vazquez
23b698f2c6
Move URL to CORE ( #1840 )
...
* move url from Core::Http to Core::
2021-03-10 23:29:35 -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
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
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
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
Victor Vazquez
6582d3a6dc
moving pipeline from azure core internal to azure core http internal ( #1821 )
2021-03-09 12:02:44 -08:00
Victor Vazquez
04d8508e07
Move Response<T> to Azure:: ( #1800 )
...
* Move Response<T> to Azure
2021-03-08 21:19:17 +00:00
Rick Winter
9dedcb0d4c
Operations need to provide the RawResponse ( #1803 )
...
* Operations should expose the RawResposne
Added the pure virtual method
2021-03-05 20:33:14 -08:00
Victor Vazquez
401dbfe448
Fix context for unique ( #1796 )
...
* fix for Context to support unique ptr
2021-03-05 16:09:04 -08:00