Граф коммитов

464 Коммитов

Автор SHA1 Сообщение Дата
Brandon Siegel 305d4e8c36 Add issue template config 2020-12-08 13:10:58 -08:00
Brandon Siegel 9f027424fa
Create SECURITY.md 2020-12-08 12:57:11 -08:00
Azure SDK Bot 8684ebe2e4
Sync eng/common directory with azure-sdk-tools for PR 1233 (#582)
* reformatted parameter arguments to both update-docs scripts. added parameter requirements and renamed CIRepository to DocRepoLocation which is a lot clearer. Added additional CIConfig parameter to update-docs-metadata to support specific write locations per moniker.

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2020-12-03 13:20:31 -08:00
Azure SDK Bot 786e64dd52
Exclude bypass-local-dns step when a container variable is specified (#568)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-30 17:39:55 -05:00
Mitch Denny e9d5ca1727
Switch to *.podspec.json format for better automation. (#564)
* Switch to *.podspec.json format for better automation.
2020-11-26 17:02:55 +11:00
Brandon Siegel 548adc346c Update versions in docs 2020-11-23 22:04:16 -08:00
Brandon Siegel 144151b533 Add podspec docs URLs 2020-11-23 21:36:32 -08:00
Azure SDK Bot a6d9f5822b
Fixed the bug of the wrong parameter (#577)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-11-23 19:28:32 -08:00
Azure SDK Bot 519a0da25c
Sync eng/common directory with azure-sdk-tools for PR 1226 (#569)
* Fixed the docindex.yml and rename the files

* Reset the mutated changes

* Force checkout as the changes have already copied out

* Minor changes for parameters

* Update Generate-DocIndex.ps1

* Update Generate-DocIndex.ps1

* Update Generate-DocIndex.ps1

* Added function to common

* Update Generate-DocIndex.ps1

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2020-11-23 16:22:22 -08:00
Brandon Siegel 02a52a68ba
Prepare beta.6 release (#575)
* Prepare beta.6 release

* [ObjC Tests] temp disable the unit test

Co-authored-by: Josh Lai <joshlai@microsoft.com>
2020-11-23 16:10:50 -08:00
JoshuaLai 77c217c1e6
[Communication] - [Package] - Exclude ObjC files (#572)
* [Package] Exclude the obj-c in package, and include swift build command in CI script

* [Package] Testing the removing files from exception should throw a CI error

* [Package] bring back the excluded files for CI

* [CI] making swift build its own job

* fixup! [CI] making swift build its own job

Co-authored-by: Brandon Siegel <brsiegel@microsoft.com>
2020-11-23 13:01:37 -08:00
Azure SDK Bot ff005983d4
Sync eng/common directory with azure-sdk-tools for PR 1219 (#567)
* Move entire docgeneration into common tools

* Move docindex to common

* Added the package replacement logic

* Fixed on parameters

* Fixed param

* Change function to dash

* Added regex on function

* Added display name.

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

* Deal with js

* Add no new line args

* revert some test changes

* Need to default to the double quotes for JS regex

* Update Generate-DocIndex.ps1

* Added the appTitle

* type

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2020-11-20 08:15:17 -08:00
Azure SDK Bot fbf5476b74
Swtich back to smoke-test before doc publishing error gets fixed. (#566)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-11-19 18:31:05 -08:00
JoshuaLai 3ad0099925
[CommunciationUserCredentialTests] Adding new obj-c unit tests (#503)
* [CommunciationUserCredentialTests] Added new objective-c unit tests to test implementation

* [CommunciationUserCredentialTests] Prepending the unit tests with ObjC

* [CommunciationUserCredentialTests] Cleaning up the token expiring unit tests

* [ObjCCommunciationUserCredentialTests] Rename the ObjC test file so it is called out

* [ObjCCommunciationUserCredentialTests] Updating unit tests to use the new CommunicationAccessToken instead of AccessToken

* [CI] updating the simulator and xcode version that ci will run

* Preserve test logs on failure

* Turn off test parallelization for Communication

* Erase simulators before running tests

* [ObjCCommunciationUserCredentialTests] Remove the dispathc waits in case it is breaking CI

* [CI] Adding a new command to boot sim and wait a bit before next task

* [ObjCCommunciationUserCredentialTests] Temp remove all tests but one simple one.

* [ObjCCommunciationUserCredentialTests] adding back in the decode token test

* [ObjCCommunciationUserCredentialTests] ObjCRefreshTokenProactively_TokenAlreadyExpired bring back this unit test

* [ObjCCommunciationUserCredentialTests] ObjCRefreshTokenProactively_FetchTokenReturnsError adding in the unit test

* [ObjCCommunciationUserCredentialTests] change the expectation style

* Update all.xcscheme

* [ObjCCommunciationUserCredentialTests] ObjCRefreshTokenOnDemand_AsyncRefresh adding back in unit test

* [ObjCCommunicationUserCredentialAsyncTests] Split up the tests into different classes

* [ObjCCommunicationUserCredentialAsyncTests] moving the timing test to async

* Update all.xcscheme

Undo the turning off parallel runs

* [ObjCCommunicationUserCredentialAsyncTests] Adding to statuic properties to clean up tests as per feedback

* [ObjCCommunicationUserCredentialAsyncTests] Removing redundant test

* [ObjCCommunciationUserCredentialTests] Clean up the invalid unit tests

* [ObjCCommunciationUserCredentialTests] adding in new checks to insure error not nil for malformat token

* [ObjCCommunciationUserCredentialTests] adding in new checks to insure error not nil for malformat token

* [ObjCTokenParserTests] Splitting up responsibility of tests

* [ObjCCommunciationUserCredentialTests] Disable a decode test

* Update archetype-sdk-client.yml

Remove publish of the artifacts

* Remove the sim erase and shutdown

* [ObjCCommunicationUserCredentialAsyncTests] Fixing the test removing unused properties

Co-authored-by: Brandon Siegel <brsiegel@microsoft.com>
2020-11-19 17:37:06 -05:00
Azure SDK Bot a698124a93
Sync eng/common directory with azure-sdk-tools for PR 1203 (#565)
* Refactoring artifact-metadata-parsing.ps1, update-docs-metadata.ps1, and create-tags-and-git-release.ps1

* Clean up common imports

* Refactor Update-docs-ci.ps1

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-18 21:50:34 -08:00
Brandon Siegel 1a0818a704
Prepare SDK for beta.5 release (#560)
* Remove "Versions available" from individual libraries

The SDK as a whole versions together, so this is documented only at the
top level.

* Bump versions to beta.5

* Update CHANGELOG

* Add CocoaPods instructions

* Opt in to strict module search paths and modulemap generation

* Update chat xcodeproj with correct bundle / version / settings

Co-authored-by: raosanat <66031869+raosanat@users.noreply.github.com>
2020-11-18 16:56:57 -08:00
Travis Prescott 69d6942278
Regenerate AzureCommunicationChat (#563)
* Regenerate AzureCommunicationChat.

* Restore API version.

* Add changelog statement.

* Add convenience layer shim and remove old Options files.

* Fixes.

* Fixes.

* Fix AzureCommunicationChatService

* Fix update commands.

Co-authored-by: Sam Cheung <sacheu@microsoft.com>
2020-11-18 16:20:43 -08:00
Travis Prescott 50fbd64b19
Revert "Updates to Support Autorest.Swift. (#522)" (#562)
This reverts commit 210a16443c.
2020-11-18 12:20:34 -08:00
Azure SDK Bot 916f5310f2
Sync eng/common directory with azure-sdk-tools for PR 1210 (#559)
* Cache created service principal for iteration

Useful when testing changes over and over again without passing your own -TestApplicationId and -TestApplicationSecret.

* Restore initial AzContext for New-TestResources

* Make sure PSBoundParameters is correct

Fixes #1177

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2020-11-16 13:42:14 -08:00
Azure SDK Bot 8972c9e1e3
Sync eng/common directory with azure-sdk-tools for PR 1153 (#558)
* Improve Update-ChangeLog Logic

* Updates to ChangeLog-Operations.ps1, copy-docs-to-blobstorage.ps1, Invoke-GitHubAPI.ps1 and Package-Properties.ps1

* More changeLog Logic Improvements

* Update date parsing

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-13 13:22:37 -08:00
Mitch Denny 05ee23e426
Add more PR labels. (#553) 2020-11-13 12:46:49 +11:00
Azure SDK Bot 2e1fe1dec2
Sync eng/common directory with azure-sdk-tools for PR 1202 (#557)
* Add debugging link on resource deployment failures to log output

* Update aka link for live test help docs. Use here string and empty throw.

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-12 17:31:27 -08:00
Azure SDK Bot eb09f5357f
Change live test resource DeleteAfterHours tag to 8 hours (#556)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-12 13:57:07 -08:00
Azure SDK Bot e9e2df370c
Add Invoke-DevOpsAPI.ps1, Add functions for Canceling and Listing Builds (#544)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-12 13:06:29 -08:00
Travis Prescott 210a16443c
Updates to Support Autorest.Swift. (#522)
* Proposed implementation.

* Extended tuple implementation.

* Update.

* Add AzureDate tests.

* Replace skipUrlEncoding: Bool with an enum.

* Proposed implementation.

* Extended tuple implementation.

* Prune unnecessary elements.

* AzureDate code review feedback.
2020-11-12 11:28:15 -08:00
Azure SDK Bot 3e3c80d601
Sync eng/common directory with azure-sdk-tools for PR 1170 (#548)
* Added the preprocess scripts.

* string array to string

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-11-11 17:53:15 -08:00
Azure SDK Bot 15d62fbdcd
Remove invalid characters in basename sourced from username (#555)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-11 13:53:28 -08:00
Azure SDK Bot af24e00427
Sync eng/common directory with azure-sdk-tools for PR 1188 (#554)
* Add debug flag to arm deployment command

* Only set debug preference when $CI is true

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-11 13:36:02 -08:00
Azure SDK Bot f503cb162a
Fix broken eng/common doc link (#552)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-10 12:26:39 -08:00
Azure SDK Bot acfa3ac049
Sync eng/common directory with azure-sdk-tools for PR 1178 (#551)
* Refactor eng/common/README.md

* Add doc directory

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-09 21:12:52 -08:00
Azure SDK Bot cd869e12ca
Sync eng/common directory with azure-sdk-tools for PR 1163 (#550)
* Update subscription configuration schema to include new parameters

* Support platform specific arm template parameters and legacy hashtable format

* Update arm template parameter comment to include top level key

* Restore AdditionalParameters. Merge ArmTemplateParameters from stringified hash literal

* Handle duplicate keys more explicitly for arm and env vars

* Regenerate New-TestResources.ps1 markdown

* revert variable name to environmentVariables to fix post-scripts

* Handle empty arm template parameters better

* Remove arm template parameter merge logic from deploy template

* Add merge hashes function to New-TestResources.ps1

* Add merge hashes function to New-TestResources.ps1

* Add env variable overwrite warning. Use ContainsKey checks

* Temporarily manually fix invalid generated markdown links

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-09 20:49:38 -05:00
Azure SDK Bot 6c5aafa4a6
Make sure we always log in as app or provisioner (#546)
This also adds previously-required parameters back into
@PSBoundParameters to pass down to pre- and post-scripts.

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2020-11-06 10:03:12 -08:00
Azure SDK Bot b0505b98c6
Fix bug in git branch push (#545)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-04 17:55:07 -08:00
Azure SDK Bot 041f43985b
Remove AmendCommit parameter (#543)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-02 19:49:03 -08:00
Travis Prescott 16ce844768
Remove test artifacts from AzureCore public interface. (#542) 2020-11-02 13:31:49 -08:00
Azure SDK Bot 8852510954
Use different commit SHA instead (#541)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-30 19:44:26 -07:00
Azure SDK Bot bb5ded2e47
Fix verify-path-length.yml to report all paths longer than the allowed limit (#540)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-30 15:09:06 -07:00
Travis Prescott 116458f85b
Clean up fixes. (#539) 2020-10-30 11:01:31 -07:00
Azure SDK Bot d204da61a4
Add manual merge instructions to eng/common workflow (#537)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2020-10-29 18:26:10 -07:00
Azure SDK Bot 5f5ba1e694
Sync eng/common directory with azure-sdk-tools for PR 1146 (#536)
* Remove resource group asynchronously and do not wait for completion

* Verify resource group has reached Deleting state before exiting script

* Use $_ instead of $Error[0] for resource group removal handling

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-10-29 19:25:29 -04:00
Travis Prescott 7be3e04b95
Expose Pipeline primitives to end user (#515)
* Refactor initializers to follow endpoint/credential/options pattern.

* Expose PipelineContext to end user.

* xpose pipeline and transport to end user via ClientOptions.

* Code review feedback.

* Make pipeline extensible.

* Support merge user-supplied context.

* Add unit tests.

* Improve Pipeline tests and add context tests.

* Code review feedback.
2020-10-29 15:32:37 -07:00
Azure SDK Bot d2608b638a
Fix script syntax error (#533)
Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2020-10-27 15:39:33 -07:00
Travis Prescott 9a5587f7d8
ArchBoard fixes and refactors (#510)
* Remove MatchCondition.

* Remove blockSize.

* Rename AzureOptions, AzureClientOptions, AzureCredential to RequestOptions, ClientOptions and Credential respectively.

* Make request method mutable.

* Rename AzureError.sdk to AzureError.client

* Code review fixes

Co-authored-by: Brandon Siegel <brsiegel@microsoft.com>
2020-10-27 09:57:12 -07:00
Azure SDK Bot 482ccbb5db
Sync eng/common directory with azure-sdk-tools repository (#531) 2020-10-26 17:55:21 -07:00
Azure SDK Bot d584a6a6df
Use pre-installed Azure PowerShell modules (#529)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2020-10-26 13:34:52 -07:00
Brandon Siegel 913a4ea26c Add calling to README index 2020-10-26 11:26:12 -07:00
raosanat 130c6beac5
Make CommunicationAccessToken members public (#524) 2020-10-26 12:09:06 -04:00
Azure SDK Bot b767b0cc0f
Update eng/common workflow docs (#530)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-23 19:27:21 -07:00
Azure SDK Bot 11e7bd357f
Sync eng/common directory with azure-sdk-tools for PR 1135 (#526)
* Add check of http link.

* Fixed the tool http link

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-10-23 17:49:05 -07:00
Azure SDK Bot 563121acc5
Update Delete-RemoteBranches.ps1 (#527)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-23 17:41:03 -07:00