Commit Graph

1308 Commits

Author SHA1 Message Date
Anton Kolesnyk
6e4e9fd54b
Prepare Core and Identity releases (#2527)
* Prepare Core and Identity releases

* One more file

* Move to Other Changes

* Apply suggestions from code review

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

* identity bugs fixed header

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2021-07-01 16:06:36 -07:00
Ahson Khan
863e9871e5
Make sure RFE Message is only set to the response body payload. (#2539)
* Make sure RFE Message is only set to the response body payload.

* Add a note about the Message property.

* Jeff likes wordsmithing things for fun.
2021-07-01 15:56:20 -07:00
Ahson Khan
d0ca42643f
Move Sha256Hash and other Hash algorithm types from KeyVault to Azure::Core (#2526)
* Move the SHA256, 384, and 512 Hash implementations to be internal.

* Update changelog and add back missing file.

* Rename SHA256 and others to Sha256Hash and update header name.

* Fix up path in CMakeList by removing quotes.

* Rename the sha.cpp source file to match header.

* Move Sha256Hash and other Hash algorithm types from KeyVault to
Azure::Core.

* Reorder src file in cmakelist to be alpha order just to reset CI

* Revert "Reorder src file in cmakelist to be alpha order just to reset CI"

This reverts commit 6729cf311af76bb8388738cc519ea40092bc362c.
2021-07-01 15:42:36 -07:00
Ahson Khan
731d07c2cc
Fix up the implementation details of the RequestFailedException ctor. (#2536) 2021-07-01 14:08:05 -07:00
Ahson Khan
a2f027f0df
Disable C28020 warning in json.hpp as a stop gap on Windows. (#2535) 2021-07-01 14:04:16 -07:00
Ahson Khan
a6f3b530d5
Move Base64Url helper internal methods from KeyVault to Azure Core. (#2528)
* Move Base64Url helper internal methods from KeyVault to Azure Core.

* Run clang format.
2021-07-01 12:24:38 -07:00
Ahson Khan
773beffd64
Rename SHA256 and others to Sha256Hash and update header name. (#2525)
First review https://github.com/Azure/azure-sdk-for-cpp/pull/2523

Relevant commit to review: f207fe80b9

Second step of of https://github.com/Azure/azure-sdk-for-cpp/issues/2500#issuecomment-871761727
2021-07-01 18:55:58 +00:00
Victor Vazquez
5b5cb9b5f7
ApiView requested changes (#2493)
* ApiView requested changes

* update test

* Apply suggestions from code review

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

* update private field name

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2021-07-01 18:45:43 +00:00
Anton Kolesnyk
d4e347b4f1
Core Readme: reorder Key Concepts, remove Distributed Tracing (#2532)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-07-01 11:00:19 -07:00
Azure SDK Bot
6e73c1a623
Update docs metadata mutation logic (#2530)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-07-01 09:58:27 -07:00
Anton Kolesnyk
3f5c5ae664
Managed Identity Credential (#2448) 2021-07-01 09:16:26 -07:00
George Arama
c449e3f9bc
2502 exceptions (#2529)
* first pass

* move exception creation from keyvault to core

* merge fix

* format

* fix includes location and containers

* remove default constructor

* to trigger build

* undo change

* uncomment

* Update sdk/core/azure-core/test/ut/exception_test.cpp

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2021-07-01 04:17:15 +00:00
Ahson Khan
e51e693640
Move the SHA256, 384, and 512 Hash implementations to be internal. (#2523)
* Move the SHA256, 384, and 512 Hash implementations to be internal.

* Update changelog and add back missing file.

* Update samples to not use the SHA256 API since it is internal now.
2021-06-30 18:14:11 -07:00
Anton Kolesnyk
8f1b5b95e3
Move POSIX time converter from KeyVault to Core (#2524)
* Move POSIX time converter from KeyVault to Core

* Move to Core namespace

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-06-30 17:23:20 -07:00
Anton Kolesnyk
f6765e667e
Put dependency versions (#2518)
* Put dependency versions

* Update version

* Core does not have any 1.1 functionality

* Core 1.1

* 1.1.0

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-06-30 17:05:16 -07:00
Anton Kolesnyk
c8006b4673
Readme section on logging (#2521)
* Readme section on logging

* Apply suggestions from code review

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Update sdk/core/azure-core/README.md

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2021-06-30 16:49:30 -07:00
Anton Kolesnyk
40ab9315d1
Credit community contributors in changelogs (#2519)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-06-30 15:51:27 -07:00
Azure SDK Bot
f6ec0bd87f
Sync eng/common directory with azure-sdk-tools for PR 1763 (#2514)
* Disable release date check

* Release check is not finding release date

Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-06-30 14:33:29 -07:00
Daniel Jurek
83b8feeb35
Add dependency on LiveTest to release (#2457)
* Add dependency on LiveTest to release

* Add DependsOn to archetype-cpp-release.yml stages, conditions around LiveTest (if we don't execute live tests don't require them for release)

* Remove template conditions for LiveTest and always require it

* Revert "Remove template conditions for LiveTest and always require it"

This reverts commit dc0615ca084b7bb476cbc3806df70f92f2bf0304.
2021-06-30 13:41:16 -07:00
Azure SDK Bot
468b78cdfb
Sync eng/common directory with azure-sdk-tools for PR 1725 (#2509)
* Bring changes from JS docs metadata

* Move business logic inside Update-DocsMsMetadata.ps1

* Update with the latest changes in JS PR

* Update from latest PR feedback

* Add check for empty path to prevent crashes when creating relative paths

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-06-30 08:43:17 -07:00
Azure SDK Bot
a8ea5261b0
Update devops workitem helpers (#2511)
- Switch to using rest instead of cli for querying work items
  as cli is limited to 1000 items only.
- Fix issues with Generated fields not being set.
- Correctly sort older workitems by version isntead of string.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-06-29 16:17:55 -07:00
George Arama
e105bcdca3
Keyvault unit tests for non standard key sizes. (#2495)
* param tests

* ooops

* remove get suffix

* uneeded define

* remove define

* update initi location to prevent multiple  runs

* formatting

* added negative numbers and some above 2048
2021-06-29 01:10:24 -07:00
Victor Vazquez
0874e1c1c9
add george as reviewer (#2494) 2021-06-28 15:47:02 +00:00
Wes Haggard
015c34a029
Update links from master to main (#2488)
* Update links from master to main

* Upate other references from master to main
2021-06-24 22:27:14 -07:00
Azure SDK Bot
187fc867f4
Update references from master to main (#2492)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-06-24 17:36:15 -07:00
Azure SDK Bot
9dde20e021
Add Ubuntu 20 to local dns bypass template (#2475)
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-06-24 14:42:07 -07:00
Azure SDK Bot
5c55a82933
Sync eng/common directory with azure-sdk-tools for PR 1729 (#2473)
* Check for API review status only if release date is set in changelog

* Change property name to ReleaseStatus

Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-06-24 12:14:09 -07:00
Wes Haggard
e1d53996dc
Fix Prepare-Release and version update code (#2469)
- Passes through ReleaseDate
- Removes old version.txt logic
- Cleans up version scripts to import common.ps1
2021-06-23 16:56:49 -07:00
Victor Vazquez
7a31ca5dd3
Fix Main - ignore warning 6101 (#2471)
* Ignoring msvc warning 6101

* remove not required

* not required

* perf issues

* fix livetests build args
2021-06-23 23:50:07 +00:00
Victor Vazquez
f052feffa1
update telemetry key for keyvault keys (#2472) 2021-06-23 16:17:25 -07:00
JinmingHu
39c20347f3
storage migration guide (#2451)
* migration guide

* Apply suggestions from code review

* more

* 1

* 2

* Apply suggestions from code review

* Update sdk/storage/MigrationGuide.md

* Update sdk/storage/MigrationGuide.md

* Update sdk/storage/MigrationGuide.md

* Update sdk/storage/MigrationGuide.md

* Apply suggestions from code review

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Apply suggestions from code review

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Update sdk/storage/MigrationGuide.md

Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>

* Update sdk/storage/MigrationGuide.md

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
2021-06-23 15:37:56 +08:00
Ahson Khan
1950e6d655
Use TCP fast open and false start to reduce RTT from 3 to 1, when using WinHttp on latest Windows OS. (#2253)
* Use TCP fast open and false start to reduce RTT from 3 to 1, when using WinHttp on latest Windows OS.

* Address PR feedback - Remove logging the error.
2021-06-22 16:06:24 -07:00
George Arama
70c3e72763
Add Unit Tests for EnvironmentLogLevelListener (#2454)
* first UT

* formatting

* unused error

* putenv

* some refactoring

* formatting

* casting

* again

* Update sdk/core/azure-core/test/ut/environmentLogLevelListener_test.cpp

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* some refactoring

* more tests

* format

* no env test

* put back missing empty line

* Update sdk/core/azure-core/test/ut/environmentLogLevelListener_test.cpp

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* PR comments

* fix signed/unsigned mismatch that causes ci build to fail

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2021-06-22 21:51:41 +00:00
Azure SDK Bot
5a0882f770
Sync eng/common directory with azure-sdk-tools for PR 1719 (#2468)
* Update pipeline generation tool version

Consume latest changes from pipeline generation tool in https://github.com/Azure/azure-sdk-tools/pull/1708

* Update tool version to include fix for public ci

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-06-21 16:42:43 -07:00
Azure SDK Bot
8b0ebb39f5
Sync eng/common directory with azure-sdk-tools for PR 1716 (#2467)
* Update links with master to use main

* Update ci.yml files

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-06-21 12:18:52 -07:00
Victor Vazquez
2ea2cf8b57
updates from review (#2465)
* updates from review

* cast

* use U for unsigned int
2021-06-21 18:34:59 +00:00
Victor Vazquez
a11e69a18c
Key Vault Keys crypto samples (#2450)
* encrypt_decrypt

* sign verify

* wrap and unwrap

* Apply suggestions from code review

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

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-06-21 18:34:41 +00:00
Azure SDK Bot
0163b09994
Fix hard-coded master (#2463)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-06-18 13:42:32 -07:00
Victor Vazquez
da1451586a
Upload blob perf test + RandomStream class for utility (#2433)
* random stream

* upload blob perf test

* upload perf blob test

* undo
2021-06-18 10:05:52 -07:00
Daniel Jurek
fda88bf7b8
Update for "master" -> "main" branch rename (#2455)
* vcpkg.json -- update all links to point to "main" .. This is hardcoded and will go out in future releases.
* ci.yml -- add `- main` to trigger criteria near `- master` ... This adds forward compatilbitiy when we rename the branch in the repo
* archetype-cpp-release.yml use a script which evaluates a repo's default branch and sets that in a global variable, then use that variable instead. When vcpkg updates their branch the publishing scripts will work transparently.
* Collect-Changelogs.ps1 -- Add default hardcoded branch name for use with future releases. This can be optionally overridden with a parameter when invoking the script.
* eng/pipelines/client.yml -- Delete this file. It is no longer in use.
2021-06-18 09:09:27 -07:00
Mitch Denny
01ba0b0c9c
Add main to CI files. (#2462) 2021-06-19 01:55:34 +10:00
Azure SDK Bot
36cee34fbd
Sync eng/common directory with azure-sdk-tools for PR 1688 (#2453)
* Add verification of changelog sections

* Update eng/common/scripts/ChangeLog-Operations.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-06-15 17:15:49 -07:00
Victor Vazquez
a63a892002
CI builds Perf test (#2446) 2021-06-14 14:29:09 -07:00
Victor Vazquez
81e0d5aab0
use size_t for buffers in libcurl internal impl (#2376)
* use size_t for buffers in libcurl internal impl
2021-06-14 14:28:36 -07:00
JinmingHu
c6a00a97b4
Changelog for #2428 (#2442)
* Changelog update for #2428

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

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

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2021-06-11 13:53:05 +08:00
JinmingHu
325466ecae
Fix memory leak in Base64Encode (#2441)
* Fix memory leak

* cl
2021-06-10 10:02:01 +08:00
Azure SDK Bot
d5d585500d
Strict mode needs the variables initialized (#2443)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-06-09 18:48:16 -07:00
Ahson Khan
479134595b
Consolidate the use of std::size_t and always use size_t instead, since it is a "primitive" type. (#2415)
* Consolidate the use of std::size_t and always use size_t instead, since
it is a type.

* Fix clang formatting.
2021-06-09 11:09:54 -07:00
JinmingHu
c5118efd0b
fix memory leak in xml parser (#2428)
* fix memory leak in xml parser

* fix more

* fix bug

* f
2021-06-09 15:43:39 +08:00
Jørgen Lind
b2a21c665d
Fix small "Use after free" bug (#2409)
Co-authored-by: Jørgen Lind <jorgen.lind@bluware.com>
2021-06-09 00:42:40 -07:00