Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable preparers to implicitly support async tests #3

Draft
wants to merge 123 commits into
base: kibrantn/servicebus/preparer-resource-caching-framework
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
40f56c6
Sync eng/common directory with azure-sdk-tools repository (#10072)
weshaggard Mar 5, 2020
7a471b9
Generated Key Vault 7.1-preview client (#10037)
chlowell Mar 5, 2020
5ec59dd
removed rounding of scores and mentions of grapheme (#10115)
iscai-msft Mar 5, 2020
4c50b69
[Event Hubs] Port azure storage blob code into checkpointstore (#9950)
YijunXieMS Mar 6, 2020
424e396
[text analytics] update samples (#10100)
iscai-msft Mar 6, 2020
aaaaedd
add async test for retry policy and fix rewind issue for async (#10117)
xiangyan99 Mar 6, 2020
f4aaf8d
[text analytics] name changes (#10112)
iscai-msft Mar 6, 2020
998b6fa
[Event Hubs] Eventhubs doc update (#10129)
YijunXieMS Mar 6, 2020
78c88c1
[Event Hubs] Update checkpointstore version to 1.1.0 (#10137)
YijunXieMS Mar 6, 2020
bec3f56
Update Version of opentelemetry (#10046)
rakshith91 Mar 6, 2020
120eb57
update version number (#10136)
xiangyan99 Mar 6, 2020
e09c723
Add a 20% random jitter to the EP load balancing interval. (#9713)
YijunXieMS Mar 6, 2020
502d4fd
Version updated 12.0.0 for azure-storage-file-datalake (#10141)
praveenkuttappan Mar 6, 2020
3ff2db5
Update change log file name (#10138)
praveenkuttappan Mar 6, 2020
c9e59f9
Add exclusion logic in the way management package is filtered for pyl…
praveenkuttappan Mar 6, 2020
efb86d4
Preview support for Key Vault 7.1 (#10124)
chlowell Mar 7, 2020
10dbc5b
Azure Search Implementation (#9775)
bryevdv Mar 7, 2020
3202ead
use version 1.0.0b1 for preview 1 (#10147)
bryevdv Mar 7, 2020
8def83e
[ADLS]Add Upload API (#9981)
xiafu-msft Mar 7, 2020
ae25cea
[ADLS]Remove Secondary Endpoint for ADLS (#10144)
xiafu-msft Mar 7, 2020
aecf20b
Preview implementation of AzureCliCredential (#10092)
chlowell Mar 9, 2020
2abbdb5
update release date (#10171)
xiangyan99 Mar 9, 2020
c756a66
Apply filtering even if only one package is present in service (#10158)
praveenkuttappan Mar 9, 2020
4304a08
Update azure-keyvault-* 4.2.0b1 classifiers (#10148)
chlowell Mar 9, 2020
ae5ee72
azure-common date (#10178)
lmazuel Mar 9, 2020
03ab2d8
README links update in open telemetry (#10176)
rakshith91 Mar 9, 2020
db1e242
[textanalytics] Refactor exceptions to use azure-core ODataV4Format (…
kristapratico Mar 9, 2020
2a3fc72
[Event Hubs] Update README link (#10184)
YijunXieMS Mar 9, 2020
495c617
[Synapse DataPlane]Update sample (#9948)
aim-for-better Mar 9, 2020
74650bc
Fix to handle regression test when package is missing on PyPI (#10180)
praveenkuttappan Mar 9, 2020
cecad1e
overload tracing decorator to preserve type info (#9994)
bryevdv Mar 9, 2020
15fdf4c
[ADLS][Samples]Add Samples for sync and async (#10123)
xiafu-msft Mar 9, 2020
6b6ada1
Add facet results to search page iterator (#10182)
bryevdv Mar 9, 2020
d49daf1
[Event Hubs] Correct a doc link (#10196)
YijunXieMS Mar 9, 2020
f5edc82
update search user agent (#10201)
bryevdv Mar 9, 2020
f82445f
Fix async AzureCliCredential tests on Windows (#10177)
chlowell Mar 9, 2020
d5209ef
Ignore ARM pipeline clients too (#10204)
lmazuel Mar 9, 2020
99bbc4c
[ADLS]API Review Comments (#10194)
xiafu-msft Mar 9, 2020
04b4c75
Simplify AzureCliCredential working directory (#10185)
chlowell Mar 9, 2020
5e2a8e9
[Event Hubs] Fix typing.Deque problem for Python 3.5.3 (#10206)
YijunXieMS Mar 9, 2020
f8ccb3d
[Storage][Blob]Regenerate Swagger Code (#10203)
xiafu-msft Mar 9, 2020
93b121d
Azure-mgmt-core (#5399)
lmazuel Mar 9, 2020
4e82daf
Search docs updates (#10207)
bryevdv Mar 9, 2020
4e9bb38
[ADLS]Update AccessPolicy and ChangeLog (#10208)
xiafu-msft Mar 10, 2020
74a9df1
[Storage][ADLS] API updates (#10170)
annatisch Mar 10, 2020
ae8117e
release datafactory for mgmt (#10213)
qiaozha Mar 10, 2020
fc48c96
release iotcentral for mgmt (#10166)
qiaozha Mar 10, 2020
1a3a438
release-customproviders-for-mgmt-0.1.0 (#10160)
qiaozha Mar 10, 2020
02c0e07
Release customproviders for mgmt 0.1.0 (#10217)
qiaozha Mar 10, 2020
4bb0218
release compute for mgmt (#10164)
qiaozha Mar 10, 2020
460dc27
verified all comments (#10228)
iscai-msft Mar 10, 2020
5cb25e1
Remove invalid link from DefaultAzureCredential docstring (#10229)
chlowell Mar 10, 2020
85e3027
update search dev status classifier (#10230)
bryevdv Mar 10, 2020
91350fa
update artifact for azure-search to pick up correctly (#10233)
scbedd Mar 10, 2020
cc642d2
Increment package version after release of azure_ai_textanalytics (#1…
azure-sdk Mar 10, 2020
783620a
search landing page (#10237)
scbedd Mar 10, 2020
e1fb463
fix link in search readme (#10238)
bryevdv Mar 10, 2020
d164737
Enable Latest and minimum dependency test (#9702)
praveenkuttappan Mar 10, 2020
20829b1
Increment package version after release of azure_search (#10242)
azure-sdk Mar 10, 2020
67c947d
Increment version for keyvault releases (#10226)
azure-sdk Mar 10, 2020
913e588
Increment package version after release of azure_identity (#10232)
azure-sdk Mar 10, 2020
c0d185e
changelog changes in storage (#10245)
rakshith91 Mar 10, 2020
de11e49
add owner for core (#10039)
xiangyan99 Mar 10, 2020
4cda4c5
Update 404 link (#10241)
lmazuel Mar 10, 2020
8ec4209
Add Gitter community channel (#9314)
joshfree Mar 10, 2020
6915b9c
Update code_report to support python 3.8 (#10096)
Mar 10, 2020
1a31dc5
Sphinx mapping: add reference to local object database shipped by pyt…
bluca Mar 10, 2020
17f2c17
Propagate responses from stage_block(). (#8589)
timuralp Mar 10, 2020
5ffd3a9
Increment version for core releases (#10181)
azure-sdk Mar 10, 2020
1e807d6
Modify changelog for blobs (#10248)
rakshith91 Mar 11, 2020
86552bb
Increment version for eventhub releases (#10211)
azure-sdk Mar 11, 2020
77f23f4
Keep alive associated AMQP links via Service Bus management requests.…
KieranBrantnerMagee Mar 11, 2020
25943b2
[ADLS]Make get_root_directory_client private (#10262)
xiafu-msft Mar 11, 2020
9063485
computer vision quickstart (#4255)
diberry Mar 11, 2020
df727b3
regenereated acr (#10253)
Mar 12, 2020
d4280b8
Upgraded code report (#10272)
Mar 12, 2020
3a58a55
rebuild test for new release databox (#9831)
00Kai0 Mar 12, 2020
eb59c79
Add a clause in the preparer to attempt to consume fn as an async cor…
KieranBrantnerMagee Mar 13, 2020
01b36fc
Test azure.mgmt.storage (#10086)
00Kai0 Mar 13, 2020
c8ffff1
updated cheatsheet (#10273)
Mar 13, 2020
ca2cd35
score -> confidence_score in CategorizedEntity, LinkedEntityMatch, an…
iscai-msft Mar 13, 2020
1ed7aa7
added links to the endpoints in the readme samples (#10280)
iscai-msft Mar 13, 2020
c36a95b
Sync eng/common directory with azure-sdk-tools repository (#10299)
azure-sdk Mar 13, 2020
d320a5a
Smoke Tests: enable using other clouds (#10200)
danieljurek Mar 14, 2020
c6be5cd
Make live test timeout configurable (#10284)
praveenkuttappan Mar 16, 2020
6317e09
[text analytics] Input parameter rename from inputs to documents (#10…
iscai-msft Mar 16, 2020
e35d192
Fix blob tests for stage_block (#10319)
rakshith91 Mar 16, 2020
d9781d4
Fix 10301 - kwargs lost in ARM (#10302)
lmazuel Mar 16, 2020
ab56b7c
[Cosmos] Added HttpLoggingPolicy to pipeline (#10295)
annatisch Mar 17, 2020
0c09de9
Sync eng/common directory with azure-sdk-tools repository (#10342)
azure-sdk Mar 17, 2020
4c9e36f
Move azure.search to azure.search.documents + nspkg (#10317)
bryevdv Mar 17, 2020
01554fd
handle new versioning (#10142)
scbedd Mar 17, 2020
06c9a6c
Regenerate QnAMaker (#10347)
lmazuel Mar 17, 2020
b55fe5e
Update CODEOWNERS (#10348)
lmazuel Mar 17, 2020
4a96833
don't use asyncio.run in examples (#10344)
bryevdv Mar 17, 2020
6d45f9a
add full tests for serialconsole (#9867)
00Kai0 Mar 18, 2020
dc91dd6
Test mysql (#9925)
00Kai0 Mar 18, 2020
82d57af
add test for mariadb, coverage: 22/30 (#9943)
00Kai0 Mar 18, 2020
cbdcfa6
add test for postgresql (#9975)
00Kai0 Mar 18, 2020
5676f18
update test for healthcareapis (#10028)
00Kai0 Mar 18, 2020
52aa050
update relay test. 100% coverage. (#10056)
00Kai0 Mar 18, 2020
7a1fdd3
Test compute (#10121)
00Kai0 Mar 18, 2020
47092d3
add tests for automation, coverage: 58% (#9879)
00Kai0 Mar 18, 2020
ddb3732
pipelines for new search packages (#10362)
bryevdv Mar 18, 2020
b0b28f0
add search and coverage to search results (#10360)
bryevdv Mar 18, 2020
87d00b6
preparer resource caching framework (#10126)
KieranBrantnerMagee Mar 19, 2020
e13fd43
Sync eng/common directory with azure-sdk-tools repository (#10368)
azure-sdk Mar 19, 2020
88f624f
release for iothub (#10337)
chenjianfei2017 Mar 19, 2020
6106f2d
Support (#10306)
chenjianfei2017 Mar 19, 2020
c392462
Monitor2 (#10329)
chenjianfei2017 Mar 19, 2020
6350dcb
sdk releae for Resourcegraph (#10309)
chenjianfei2017 Mar 19, 2020
2d4f6b3
Advisor (#10304)
chenjianfei2017 Mar 19, 2020
6e364da
Eventgrid 2020-04-01-preview python sdk release (#10252)
chenjianfei2017 Mar 19, 2020
f49752f
fixed refs in docstrings (#10322)
iscai-msft Mar 19, 2020
fc37962
Change log file is missing for template package (#10361)
praveenkuttappan Mar 19, 2020
92a7b50
Versioning tool should handle both _version.py and version.py (#10365)
praveenkuttappan Mar 19, 2020
334e327
[textanalytics] trim kwargs for async preparer (#10380)
kristapratico Mar 19, 2020
3488ccc
Add Search Service stats API (#10371)
bryevdv Mar 19, 2020
4ed6294
Update tracing README sample (#10386)
rakshith91 Mar 19, 2020
05cee5f
Merge from upstream master
KieranBrantnerMagee Mar 20, 2020
6d0927a
Add unit tests for the preparer async handling capabilities
KieranBrantnerMagee Mar 20, 2020
b454bd9
Port storage async tests to give an example of the new async preparer…
KieranBrantnerMagee Mar 23, 2020
a840cd1
remove spurious print
KieranBrantnerMagee Mar 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
###########

# Catch all
/sdk/ @mayurid
/sdk/ @mayurid @lmazuel

# Core
/sdk/core/ @lmazuel @xiangyan99 @johanste
/sdk/core/azure-core/ @xiangyan99 @bryevdv
/sdk/core/azure-core/ @xiangyan99 @bryevdv @lmazuel

# Service team
/sdk/identity/ @chlowell @schaabs
Expand All @@ -37,7 +37,7 @@
/sql/sql/ @jaredmoo
/sdk/servicebus/ @annatisch @yunhaoling @YijunXieMS @KieranBrantnerMagee
/sdk/synapse/ @aim-for-better @idear1203
/sdk/textanalytics/ @kristapratico
/sdk/textanalytics/ @kristapratico @iscai-msft

# Management Plane
/**/*mgmt*/ @zikalino
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Libraries which enable you to provision specific resources. They are responsible
* File an issue via [Github Issues](../../issues)
* Check [previous questions](https://stackoverflow.com/questions/tagged/azure+python) or ask new ones on StackOverflow using `azure` and `python` tags.

### Community

* Chat with other community members [![Join the chat at https://gitter.im/azure/azure-sdk-for-python](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/azure/azure-sdk-for-python?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

### Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) <secure@microsoft.com>. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://www.microsoft.com/msrc/faqs-report-an-issue).
Expand Down
1 change: 0 additions & 1 deletion common/smoketest/event_hubs_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ async def send_and_receive_events(self, partition_id):
# on_event will close the consumer_client which resumes execution
on_event=self.on_event,
on_error=self.on_error,
timeout=RECEIVE_TIMEOUT,
starting_position=STARTING_POSITION
)

Expand Down
3 changes: 2 additions & 1 deletion common/smoketest/key_vault_certificates.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def __init__(self):
# * AZURE_CLIENT_ID
# * AZURE_CLIENT_SECRET
# * AZURE_TENANT_ID
credential = DefaultAzureCredential()
authority_host = os.environ.get('AZURE_AUTHORITY_HOST') or KnownAuthorities.AZURE_PUBLIC_CLOUD
credential = DefaultAzureCredential(authority=authority_host)
self.certificate_client = CertificateClient(
vault_url=os.environ["AZURE_PROJECT_URL"], credential=credential
)
Expand Down
3 changes: 2 additions & 1 deletion common/smoketest/key_vault_certificates_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def __init__(self):
# * AZURE_CLIENT_ID
# * AZURE_CLIENT_SECRET
# * AZURE_TENANT_ID
credential = DefaultAzureCredential()
authority_host = os.environ.get('AZURE_AUTHORITY_HOST') or KnownAuthorities.AZURE_PUBLIC_CLOUD
credential = DefaultAzureCredential(authority=authority_host)
self.certificate_client = CertificateClient(
vault_url=os.environ["AZURE_PROJECT_URL"], credential=credential
)
Expand Down
3 changes: 2 additions & 1 deletion common/smoketest/key_vault_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def __init__(self):
# * AZURE_CLIENT_ID
# * AZURE_CLIENT_SECRET
# * AZURE_TENANT_ID
credential = DefaultAzureCredential()
authority_host = os.environ.get('AZURE_AUTHORITY_HOST') or KnownAuthorities.AZURE_PUBLIC_CLOUD
credential = DefaultAzureCredential(authority=authority_host)
self.key_client = KeyClient(
vault_url=os.environ["AZURE_PROJECT_URL"], credential=credential
)
Expand Down
3 changes: 2 additions & 1 deletion common/smoketest/key_vault_keys_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def __init__(self):
# * AZURE_CLIENT_ID
# * AZURE_CLIENT_SECRET
# * AZURE_TENANT_ID
credential = DefaultAzureCredential()
authority_host = os.environ.get('AZURE_AUTHORITY_HOST') or KnownAuthorities.AZURE_PUBLIC_CLOUD
credential = DefaultAzureCredential(authority=authority_host)
self.key_client = KeyClient(
vault_url=os.environ["AZURE_PROJECT_URL"], credential=credential
)
Expand Down
3 changes: 2 additions & 1 deletion common/smoketest/key_vault_secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def __init__(self):
# * AZURE_CLIENT_ID
# * AZURE_CLIENT_SECRET
# * AZURE_TENANT_ID
credential = DefaultAzureCredential()
authority_host = os.environ.get('AZURE_AUTHORITY_HOST') or KnownAuthorities.AZURE_PUBLIC_CLOUD
credential = DefaultAzureCredential(authority=authority_host)
self.secret_client = SecretClient(
vault_url=os.environ["AZURE_PROJECT_URL"], credential=credential
)
Expand Down
3 changes: 2 additions & 1 deletion common/smoketest/key_vault_secrets_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def __init__(self):
# * AZURE_CLIENT_ID
# * AZURE_CLIENT_SECRET
# * AZURE_TENANT_ID
credential = DefaultAzureCredential()
authority_host = os.environ.get('AZURE_AUTHORITY_HOST') or KnownAuthorities.AZURE_PUBLIC_CLOUD
credential = DefaultAzureCredential(authority=authority_host)
self.secret_client = SecretClient(
vault_url=os.environ["AZURE_PROJECT_URL"], credential=credential
)
Expand Down
2 changes: 1 addition & 1 deletion common/smoketest/smoke_test_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from storage_blob_async import StorageBlobAsync


def execute_async_smoke_tests:
def execute_async_smoke_tests():
print("")
print("==========================================")
print(" AZURE TRACK 2 SDKs SMOKE TEST ASYNC")
Expand Down
23 changes: 17 additions & 6 deletions doc/dev/mgmt/cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,21 @@ For all packages:<br/>
`python ./scripts/dev_setup.py`

For a specific package:<br/>
`python ./scripts/dev_setup.py -p azure-mgmt-servicename`

```shell
export PACKAGE=azure-mgmt-servicename
python ./scripts/dev_setup.py -p $PACKAGE
```

## Generate tags for multi-api Swagger Readme

`python ./scripts/multi_api_readme_help.py /azure-rest-api-specs/specification/service/resource-manager/`

## Generate a package

`python -m packaging_tools.generate_sdk -v -m restapi_path/readme.md`
```shell
python -m packaging_tools.generate_sdk -v -m restapi_path/readme.md
```

Regenerate multi-api client:<br/>
`python ./scripts/multiapi_init_gen.py azure-mgmt-myservice`
Expand Down Expand Up @@ -60,11 +66,16 @@ Available options:

## ChangeLog

Generate code report for last version on PyPI:<br/>`python -m packaging_tools.code_report --last-pypi azure-mgmt-myservice`

Generate code report for version installed in current venv:<br/>`python -m packaging_tools.code_report azure-mgmt-myservice`
Changelog is generated by performing following steps:
- generate code report for last version on PyPI:
- generate code report for version installed in current venv
- generate a markdown changelog

Generate a markdown changelog:<br/>`python -m packaging_tools.change_log ./old_version_report.json ./new_version_report.json`
```shell
python -m packaging_tools.code_report --last-pypi $PACKAGE --output=$HOME/old.json
python -m packaging_tools.code_report $PACKAGE --output=$HOME/new.json
python -m packaging_tools.change_log $HOME/old.json $HOME/new.json
```

## Tests

Expand Down
26 changes: 4 additions & 22 deletions doc/sphinx/_static/js/get_options.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,11 @@ function hideSelectors(selectors){

function populateOptions(optionSelector, otherSelectors){
if(currentPackage()){
var versionRequestUrl = "https://azuresdkdocs.blob.core.windows.net/$web?restype=container&comp=list&prefix=" + SELECTED_LANGUAGE + "/" + currentPackage() + "/versions/"
var versionRequestUrl = "https://azuresdkdocs.blob.core.windows.net/$web/" + SELECTED_LANGUAGE + "/" + currentPackage() + "/versioning/versions"

httpGetAsync(versionRequestUrl, function(responseText){
if(responseText){
data_stored = responseText

parser = new DOMParser();
xmlDoc = parser.parseFromString(responseText,"text/xml");

nameElements = Array.from(xmlDoc.getElementsByTagName('Name'))
options = []

for (var i in nameElements){
options.push(nameElements[i].textContent.split('/')[3])
}
options = responseText.match(/[^\r\n]+/g)

populateVersionDropDown(optionSelector, options)
showSelectors(otherSelectors)
Expand Down Expand Up @@ -93,19 +83,11 @@ function getPackageUrl(language, package, version){

function populateIndexList(selector, packageName)
{
url = "https://azuresdkdocs.blob.core.windows.net/$web?restype=container&comp=list&prefix=" + SELECTED_LANGUAGE + "/" + packageName + "/versions/"
url = "https://azuresdkdocs.blob.core.windows.net/$web/" + SELECTED_LANGUAGE + "/" + packageName + "/versioning/versions"

httpGetAsync(url, function (responseText){
if(responseText){
parser = new DOMParser();
xmlDoc = parser.parseFromString(responseText,"text/xml");

nameElements = Array.from(xmlDoc.getElementsByTagName('Name'))
options = []

for (var i in nameElements){
options.push(nameElements[i].textContent.split('/')[3])
}
options = responseText.match(/[^\r\n]+/g)

for (var i in options){
$(selector).append('<li><a target="new" href="' + getPackageUrl(SELECTED_LANGUAGE, packageName, options[i]) + '">' + options[i] + '</a></li>')
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

intersphinx_mapping = {
# Dependencies
'python': ('https://docs.python.org/3.8', None),
'python': ('https://docs.python.org/3.8', ('/usr/share/doc/python3-doc/html/objects.inv', None)),
'msrestazure': ('http://msrestazure.readthedocs.io/en/latest/', None),
'msrest': ('http://msrest.readthedocs.io/en/latest/', None),
'requests': ('https://requests.kennethreitz.org/en/master/', None),
Expand Down
5 changes: 5 additions & 0 deletions doc/sphinx/package_service_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,11 @@
"service_name": "Cosmos",
"manually_generated": true
},
"azure-search-documents": {
"category": "Client",
"service_name": "Search",
"manually_generated": true
},
"azure-keyvault-keys": {
"category": "Client",
"service_name": "Keyvault",
Expand Down
1 change: 1 addition & 0 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ known_content_issues:
- ['sdk/core/azure-mgmt-nspkg/README.rst', 'nspkg and common']
- ['sdk/core/azure-nspkg/README.rst', 'nspkg and common']
- ['sdk/keyvault/azure-keyvault-nspkg/README.md', 'nspkg and common']
- ['sdk/search/azure-search-nspkg/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-blob/samples/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-file-datalake/samples/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-file-share/samples/README.md', 'nspkg and common']
Expand Down
11 changes: 1 addition & 10 deletions eng/common/Extract-ReleaseNotes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,7 @@ else
if ($releaseNotes.ContainsKey($VersionString))
{
$releaseNotesForVersion = $releaseNotes[$VersionString].ReleaseContent
$releaseNotesArray = $releaseNotesForVersion.Split([Environment]::NewLine)
$processedNotes = New-Object System.Collections.ArrayList
foreach ($line in $releaseNotesArray)
{
$lineIsTitle = $line.Startswith('#') -And ($line -match $RELEASE_TITLE_REGEX)
if (-Not $lineIsTitle)
{
$processedNotes.Add($line) > $null
}
}
$processedNotes = $releaseNotesForVersion -Split [Environment]::NewLine | where { $_ -notmatch $RELEASE_TITLE_REGEX }
return $processedNotes -Join [Environment]::NewLine
}
Write-Error "Release Notes for the Specified version ${VersionString} was not found"
Expand Down
17 changes: 17 additions & 0 deletions eng/common/TestResources/New-TestResources.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@echo off

REM Copyright (c) Microsoft Corporation. All rights reserved.
REM Licensed under the MIT License.

setlocal

for /f "usebackq delims=" %%i in (`where pwsh 2^>nul`) do (
set _cmd=%%i
)

if "%_cmd%"=="" (
echo Error: PowerShell not found. Please visit https://github.com/powershell/powershell for install instructions.
exit /b 2
)

call "%_cmd%" -NoLogo -NoProfile -File "%~dpn0.ps1" %*
Loading