Commit Graph

1138 Commits

Author SHA1 Message Date
Anton Kolesnyk
43ee2ee192
Additional tests for Nullable<T> (#2215)
Closes #1786
2021-05-07 16:11:41 +00:00
Kan Tang
941b67178e
File/datalake service doxygen comments and detail struct name refine. (#2207)
# 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
  - [] 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-05-07 07:47:35 +00:00
JinmingHu
3c04ad93a1
Add some comments to common package (#2216) 2021-05-07 13:01:26 +08:00
Mitch Denny
30dfa8d668
Extend Check Enforcer timeout (#2202)
Extend the timeout that Check Enforcer applies when waiting for a pipeline to start.
2021-05-07 14:02:36 +10:00
JinmingHu
8d5ea9e279
Add doxygen doc to blob generated code (#2206) 2021-05-07 03:41:32 +00:00
Azure SDK Bot
f5d9a25d41
Revert changes to SetDevVersion. (#2213)
Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-05-07 09:35:53 +10:00
Victor Vazquez
08c8147f54
Update abort() for AZURE_ASSERT (#2170)
* remove abort from Core
2021-05-06 15:30:46 -07:00
Ahson Khan
7982417480
Fix up wording in changelog for azure core (#2208)
Addressing https://github.com/Azure/azure-sdk-for-cpp/pull/2200#discussion_r626994352
2021-05-06 20:18:37 +00:00
Ahson Khan
9e7b61538e
Remove exposing windows.h header from our public headers within storage. (#2201)
* Remove exposing windows.h header from our public headers within storage.

* Revert "Remove exposing windows.h header from our public headers within storage."

This reverts commit 537d7dd64f65fd5d4b079e793334e840d9b40e70.

* Actually remove exposing windows.h header from the public header in storage.
2021-05-06 11:16:24 -07:00
JinmingHu
2901dbcab9
fix user agent for blob service (#2203) 2021-05-06 20:32:17 +08:00
Victor Vazquez
8e4a1ae59b
Rename download via stream (#2196)
rename parameter for download stream
2021-05-06 02:42:38 +00:00
Ahson Khan
7f0792f114
Add transport layer unit tests with non-ascii host strings as input. (#2198)
* Add transport layer unit tests with non-ascii host strings as input.

* Update test string.
2021-05-05 17:18:46 -07:00
Ahson Khan
e1340dcfa8
Check for context cancellation in more places within the winhttp transport layer before each I/O call. (#2185)
* Check for context cancellation in more places within the winhttp transport layer before each I/O call.

* Update cspell to add exceptions to false positives.

* Address PR feedback.

* Do not check for context cancellation before querying the response headers.
2021-05-05 17:17:54 -07:00
Rick Winter
22770cabbf
Add changelog entry for Uuid improvement (#2200) 2021-05-06 00:09:21 +00:00
Ahson Khan
a77686938a
Remove exposing windows.h header from our public headers and reduce risk of introducing it in non-public headers (#2188)
Fixes https://github.com/Azure/azure-sdk-for-cpp/issues/1853
2021-05-05 23:49:18 +00:00
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
Daniel Jurek
12cec8c08f
Add cspell.json to ignored paths (#2190) 2021-05-04 17:20:52 -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
Daniel Jurek
8cf7746b6b
Add spellcheck (#2181)
* Add spellcheck

* Add spelling error

* Format cspell.json

* Revert "Add spelling error"

This reverts commit 37446522791492e8ee2c1c54af0d2da1e162d2e4.
2021-05-03 19:13:02 +00:00
Azure SDK Bot
cdb5fbfb35
Sync eng/common directory with azure-sdk-tools for PR 1524 (#2179)
* Make RELEASE_TITLE_REGEX more specific

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

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

* Update release REGEX

* tighten up changelog verification

* Ensure releaseDate is in the appriopriate format.

* Update error messages.

* Retrun false after error

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-05-03 10:27:04 -07:00
Azure SDK Bot
3bb84c8de6
Sync eng/common directory with azure-sdk-tools for PR 1579 (#2171)
* Allow propogation of SetDevVersion.

* Allow use of SetDevVersion locally and across stages.

Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-05-02 17:49:56 -07:00
Azure SDK Bot
aafdeeb526
Sync Devops helper scripts from azure-sdk repo (#2177)
DevOps helper scripts were updated in azure-sdk repo
so syncing those changes into the tools repo so they
can be used prepare-release script.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-04-29 15:42:28 -07:00
Anton Kolesnyk
2c050661aa
Add HttpMethod extensible enum tests (#2175) 2021-04-29 12:47:41 -07:00
Azure SDK Bot
ead97d476b
Set multiple sparse checkout paths in one command/job (#2169)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-04-29 13:23:33 -04: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
Azure SDK Bot
df2ffc0577
Sync eng/common directory with azure-sdk-tools for PR 1572 (#2172)
* Update prepare pipelines template.

* Update prepare-pipelines as well.

* Remove default line.

Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-04-29 03:39:14 +00: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
Azure SDK Bot
248dc0b96a
Parse MD files coming over http as raw markdown files (#2168)
This will allow us to point our verify-link script at a raw
MD file in a github repo and have it parsed correctly for
links.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-04-28 13:41:26 -07:00
Victor Vazquez
1d5a755287
Update for doxygen inline docs (#2164)
disable INLINE SOURCES
2021-04-28 18:07:45 +00: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
Rick Winter
0c24db5a10
Update README.md (#2147)
Remove the common package from the readme.  Customers should not install that package directly
2021-04-26 18:39:49 +00:00
Daniel Jurek
61aa827d5c
EngSys updates to support new vcpkg.json format (#2153)
* Use linux for vcpkg release

* Force lf line endings

* Set config correctly

* Better core.eol syntax and sequencing

* Try using linux host which uses LF by default

* Revert "Try using linux host which uses LF by default"

This reverts commit 160eb22b647e851a50f9d1e7b157a1e385fe946f.

* Use vcpkg.exe to format the manifest

* Spell correctly

* Move format-manfiest
2021-04-26 15:56:37 +00:00
Anton Kolesnyk
698e9965c5
VcPkg: format json manifest files (#2151) 2021-04-22 17:37:44 -07:00
Mitch Denny
79c9e12741
Enable retain runs. (#2145) 2021-04-23 09:17:08 +10:00
Azure SDK Bot
85e358a2ba
Add caching support to verify-links (#2150)
- Update link checking pipeline to enable caching
- Add loading cache file from a http endpoint
- Add retry logic when hitting 429

Fix verify link renaming scenarios

- Correctly error if link format is incorrect
- Handle case where the replace regex is not passed
- Improve the error logging so it is easier to
  identify the broken links
2021-04-22 14:14:23 -07:00
Anton Kolesnyk
fdfc915565
VcPkg manifest tweaks (#2149) 2021-04-22 12:27:56 -07:00
Azure SDK Bot
2ea6ee6d54
Sync eng/common directory with azure-sdk-tools for PR 1565 (#2137)
* Fix retain runs auth.

* Emit encoded token as secret.

Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-04-21 10:14:16 +10:00
Azure SDK Bot
5408d199eb
Sync eng/common directory with azure-sdk-tools for PR 1558 (#2142) 2021-04-20 15:47:03 -07:00
Azure SDK Bot
beda7bcaf8
Stop filtering projects by ci.yml files (#2139)
- This removes the ci.yml filtering which means all projects can be discovered
- This eliminates the need for the yml parsing module for most common scenarios
- This does introduce some potential issues with duplicate package names for
  languages like java. The only known case currently is azure-storage-blobs and
  if there is ever a need to explicitly pick the correct one someone can pass
  in the ServiceDirectory filter similar to "storage/azure*" for new and "storage/microsoft*"
  for the older sdk. By default azure usually comes first so the new one gets discovered
  which is likely all we need for now. If this turns out not to be true we might
  need another way to disambiguate.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-04-20 14:59:37 -07:00