Commit Graph

1114 Commits

Author SHA1 Message Date
Victor Vazquez
871b9e8d6d
Expose http request base constructor (#3002)
* Expose http request base constructor

* cl
2021-10-28 10:02:01 -07:00
Victor Vazquez
3be793d558
[Core] - Support azure-core version without OpenSSL dependency (#2839)
* perf test uuid

* use win impl for uuid on linux

* use c99 base64 encode-decode
2021-10-27 23:20:34 +00:00
Victor Vazquez
1bdc478dcb
fixes for linux gcc (#3003) 2021-10-27 20:49:01 +00:00
George Arama
30f62eb3aa
Api review changes (#2994)
* operator !=

* moved download , make protected private

* structs and classes

* comments

* change std::vector into struct

* optional structs

* get version

* api signature changes

* remove the options structs where not necessary , they are extremelly ugly

* fix issue

* small sample readme update
2021-10-27 10:26:30 -07:00
George Arama
c7f8e02c6a
Readme (#2995)
* rtet

* readme

* yte
2021-10-26 12:05:58 -07:00
George Arama
a9094d0933
Samples (#2986)
* two samples

* samples

* typas, types, typis .... typos

* PR comments
2021-10-25 18:30:43 -07:00
Victor Vazquez
a4f2e510e5
Adding timeout option (#2991) 2021-10-25 12:12:53 -07:00
Victor Vazquez
f90ab8a9b5
Add Storage Performance tests for DownloadTo API (#2987)
Adding 3 new tests for Storage Performance
The next tests are expected to find out the overhead between each layer of the Azure SDK client while performing a download operation. The current performance test is measuring the client + azure core pipeline + http transport.

The next tests removes authentication policy and then each layer up to the HTTP transport adapter directly.

DownloadBlobSas
Generates a SaS token to download a blob. This way the authentication policy "sharedKey" won't run in the pipeline.

DownloadBlobWithPipelineOnly
Use the SaS token as well but send the request without the BlobClient. Instead it uses the Azure Core Pipeline directly

DownloadBlobWithTransportOnly
Same as before, the SaS token is used to download the blob but consuming only the libcurl-transport adapter. This option skips the HttpPipeline. The only elements used from Azure Core are the HttpRequest and the Azure::Context

Note
porting tests from the .NET equivalent:

https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/DownloadSasUriBlobClient.cs

https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/DownloadSasUriHttpClient.cs

https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/DownloadSasUriHttpPipeline.cs
2021-10-25 11:48:55 -07:00
Daniel Jurek
c534a1e160
Cognitive Matrix Consolidation (#2947)
* Refactor template to use multiple builds on the same machine resetting the machine and runtime varaibles along the way

Move template expression out of default matrix parameters

Remove extra reference to ci/jobs.yml

Remove unnecessary ci.yml, change param declaration in devops-variables-set.yml

Heredoc

Fix set/reset scripts after testing with devops outputs

-ErrorAction Ignore

Smaller matrix

OsVMImage comes from machine, not parameters

Add Ubuntu 20 to matrix

Remove checkout: self, it is implied

Move machine-setup steps outside of loop

CODE_COVERAGE handling

tab

Remove creation of CODE_COVERAGE

Use AptDependencies and add apt update to dependency install step

Remove extra preparation steps

Enable code coverage check scenario

Add MacOS 11

Disable vcpkg cache

Coverage configuration

Pass parameter properly

bool -> boolean

Install coverage tools if it's possible that coverage may run

More logging on code coverage

Show contents of Makefile

One vcpkg to build them all

Verbose

SourcesDirectory

Nesting VcpkgInstall

workingDirectory for vcpkg install

AptDependencies

complete the conditional

Enable all matrix entries

sudo

Remove extra chatter

More scrubbing post-build to help with Windows scenarios

sudo echo

Get-ChildItem

ErrorAction

sudo sh -c

More ErrorAction

output sourceListFile

Disable additional sources.list

Install coverage tools when used for coverage

COndition

Do not build testing for Windows arm64

Correct path for coverage tools

ne -> eq

Add more scenarios to the matrix

Remove libxml2

Add MacOS 10.15 to matrix

Revert "Remove libxml2"

This reverts commit 178af8b89abb21ee84dbcd25b4d54bd90ec1d44c.

Add libxml2 to MacOS 10.15 matrix entry

Display name decorator, refine the matrix

Remove OsVmImage variable

Add commentary to tests about matrix

Rebalance matrix, nest EnvVars, DisplayNameDecorator

Correct parameter access

AptDependencies

Ensure building for WindowsStore in UWP builds, Only build tests for debug builds in altered matrix entires, Linux build type specified as environment variable

Rebalance matrix for better timing

Remove all instances of libxml2 in vcpkg dependencies

Move common devops tasks to eng/common

Set eng/common paths in pipelines

Revert "Remove all instances of libxml2 in vcpkg dependencies"

This reverts commit 35ffbc7aac87f400fdf3351076346750c1c750ed.

https://github.com/Azure/azure-sdk-for-cpp/issues/2946

Permit words like iname in more pipeline .yml files

Remove libxml2 from vcpkg dependencies for Windows

Perf test matrix maxParallel: 10

Validate

apt install first

apt install first

maxParallel: 12

-j 8

-j 10

Use matrix generator

Add expected parameters

Move parameters to appropriate file, fix cloud spec

Specify correct platform matrix location

DependsOn

Platform matrix

Remove DisplayNameDecorator, try more clang information

Rapid iteration matrix

clang --version

install clang-11

Use correct pool

Use full matrix, revert additional logic in jobs/ci.yml

* Review feedback: newline

* Review feedback: Test in release, too

* Remove DisplayNameDecorator (it was useful when we were putting multiple builds into a single job, now it is redundant)

* Remove displayNames

* Matrix review feedback

* Conditions

* Rename ci.yml -> ci.tests.yml
2021-10-22 13:49:10 -07:00
Victor Vazquez
ef72f3c8a1
expose Curl nosignal opt (#2985)
* add NoSignalOption

* cl

* tests
2021-10-21 17:25:02 -07:00
George Arama
5ad55ecb6e
Download import merge (#2976)
* functioning, tests updated

* download import merge

* latest and greatest

* build issues

* spellcheck

* PR comments

* PR comments

* one last PR comment
2021-10-20 21:32:38 -07:00
Victor Vazquez
dcc6f12c20
force http 1.1 on the libcurl transport adapter (#2978)
* force http 1.1

* update wording
2021-10-20 18:43:28 +00:00
Anton Kolesnyk
e0dcc20a82
Remove incorrect scope comments (#2983)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-10-19 18:22:03 -07:00
Anton Kolesnyk
6c0901b2ff
Fix build warning in no-RTTI config (#2981)
* Fix build warning in no-RTTI config

* Fix build warning in no-RTTI config

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-10-19 16:09:06 -07:00
Anton Kolesnyk
b477373a9c
Remove extra semicolons (#2979)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-10-19 16:08:42 -07:00
George Arama
60ba5599f8
Rework create (#2967)
* functioning, tests updated

* PR build

* PR comments
2021-10-18 19:25:38 -07:00
Victor Vazquez
5e3cd1fb01
Adding a static-blocking libcurl transport adapter (#2948)
* static libcurl transport adapter

* ignore cspell

* updates to implementation
2021-10-18 15:01:00 -07:00
Victor Vazquez
8f3263a7ec
Missing fix for testing windows w/o RTTI (#2969)
* Enable no-rtti

* Apply suggestions from code review

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* pass target

* rename

* rename

* fix for installed header

* update

* compile with tests

* add unit test for CI

* rename for each package

* wording updates

* renames

* rename

* update name

* fix for testing context pre-condition

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-10-18 15:00:47 -07:00
JinmingHu
9dac89c675
make DefaultEncryptionScope and PreventEncryptionScopeOverride optional (#2968) 2021-10-16 10:06:18 +08:00
Victor Vazquez
f4e6390dff
Enable no-rtti (#2963)
* Enable no-rtti
2021-10-14 18:12:03 -07:00
George Arama
27747b1898
Get Paged responses (#2964)
* props and versions

* some more clients

* cmake

* cmake

* eweq

* comments

* tests

* formating and build issues

* Certicate-> Certificate

* remove uneeded comment
2021-10-13 12:24:13 -07:00
George Arama
11b6fc8d3a
backup & restore (#2959)
* backup & restore

* build errors

* fixes from merging
2021-10-12 18:10:50 -07:00
George Arama
239c3c9f54
Get and update certificate policy (#2958)
* Get and update certificate policy

* build issue
2021-10-12 17:30:53 -07:00
George Arama
a2e5262d6f
Delete/getDeleted/Purge/recover (#2914)
* functionality, next tests

* Updates for tests, and bug fix found in test

* PR comments

* missed comment

* PR comments

* catch by value
2021-10-12 14:55:05 -07:00
Victor Vazquez
4eb33a0015
Update Key Vault packages to use Shared-code (#2905)
* Use key vault shared code strategy for code-reuse between packages

* use a class instead of function only

* unwanted change

* unwanted change

* remove the install interface

* typo
2021-10-11 14:17:55 -07:00
George Arama
bcfbe44a73
rework the polling method (#2949)
* rework th polling method

* fix typo for clang

* typo 2

* moved method to private

* expose properties

* Update to use Properties instead of redirecting to internal member

* formar files
2021-10-06 15:48:33 -07:00
George Arama
e5a01a29bd
Certificate Contacts API (#2912)
* Certificate Contacts API

* PR issues

* spell

* revert cspell , set disables in code

* set disables in code

* PR comments

* PR comments

* pr issue

* pr comments

* oops

* missed replace
2021-10-06 12:12:18 -07:00
Azure SDK Bot
5aa13f541d
Increment package version after release of azure-security-keyvault-keys (#2951) 2021-10-06 10:53:14 -07:00
Victor Vazquez
6044c63ad1
update changelog to release verion (#2937) 2021-10-05 11:38:02 -07:00
George Arama
613972c4c4
Certificates Issuers API (#2911)
* issuers

* PR issues

* PR comments
2021-10-04 12:08:43 -07:00
Victor Vazquez
fc01933f28
disable cert tests for now (#2939) 2021-09-29 13:45:00 -07:00
Victor Vazquez
8a12a64629
Adding GetCryptographyClient to KeyClient (#2917)
* Adding GetCryptographyClient to KeyClient

* update arg name
2021-09-27 15:36:37 -07:00
George Arama
8727030623
Start create certificate (#2909)
* fix tests local

* first stab

* second

* operation

* HUzaaaah

* split header file

* updates

* error

* format, error

* clang due to certificates

* remove useless line used for debugginng

* Update .vscode/cspell.json

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update .vscode/cspell.json

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/inc/azure/keyvault/certificates/certificate_client_models.hpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/src/certificate_client_operations.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* PR fixes

* revert wrong changes

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-09-21 12:38:41 -07:00
Rick Winter
bb8b889cf5
Remove static_cast (#2815)
* Remove static_cast

* Add additional checks around our Logger::Level to ensure its lock_free
2021-09-16 11:54:18 -07:00
JinmingHu
88500317b7
Add ut for queue message containing special characters (#2858) 2021-09-09 12:04:58 +08:00
Azure SDK Bot
ef1dd860d5
Increment version for storage releases (#2846)
* 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

* Increment package version after release of azure-storage-queues
2021-09-09 10:42:50 +08:00
Azure SDK Bot
18ec808a25
Increment package version after release of azure-storage-common (#2847) 2021-09-09 10:41:41 +08:00
Azure SDK Bot
c21718f838
Increment version for keyvault releases (#2855)
* Increment package version after release of azure-security-keyvault-keys

* Increment package version after release of azure-security-keyvault-secrets
2021-09-08 17:21:42 -07:00
Victor Vazquez
f752663d35
diable cert live tests (#2851) 2021-09-08 13:10:52 -07:00
Victor Vazquez
41138dcc8a
cl (#2840) 2021-09-08 10:08:33 -07:00
George Arama
6f8236287e
first pass (#2841) 2021-09-08 10:07:56 -07:00
JinmingHu
a1f69cd1fb
Update vcpkg.json (#2845) 2021-09-08 12:01:47 +08:00
JinmingHu
e6a488193b
Storage Sept Release (#2836) 2021-09-08 09:39:24 +08:00
Victor Vazquez
4ec0a34247
update links (#2842) 2021-09-07 14:45:08 -07:00
Victor Vazquez
8f0d6728c3
Adding Key Vault Certificates - GetCertificateWithPolicy API (#2818)
* certs one api checkpoint
2021-09-07 13:44:15 -07:00
JinmingHu
841675b622
Fix a bug where blobs with some characters cannot be listed (#2837)
* fix bug

* CL

* fix bug
2021-09-07 15:14:37 +08:00
JinmingHu
6611b8f03f
Improvement: Create less threads when there isn't enough data to transfer (#2838)
* Improvement: Create only necessary threads when there isn't enough data to transfer

* Update sdk/storage/azure-storage-common/inc/azure/storage/common/internal/concurrent_transfer.hpp

* CL
2021-09-07 14:42:17 +08:00
JinmingHu
47d04c3ff9
New XML parser on Windows (#2830) 2021-09-04 23:04:12 +08:00
JinmingHu
b0ebf21a9f
small fix in checking nullable variable (#2832) 2021-09-04 23:03:24 +08:00
JinmingHu
98b188330b
StartsOn and ExpiresOn were changed to nullable (#2828) 2021-09-03 12:57:50 +08:00