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

Sync with remote master #3

Merged
merged 206 commits into from
Jan 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
206 commits
Select commit Hold shift + click to select a range
3edc06f
Fixed transposition of EndPartitionKey and StartRowKey in Sas token U…
christothes Jan 4, 2021
e7d94f9
[FR] Improve samples output (#17729)
maririos Jan 4, 2021
57e6616
[EngSys] Allow Project Exclusions (#17658)
jsquire Jan 4, 2021
d744401
Don't install NET5 (#17281)
pakrym Jan 4, 2021
03f2afd
Move CloudClipboard from azure-sdk-for-net-samples to azure-sdk-for-n…
FrankieTF Jan 4, 2021
bb740fb
[Event Hubs] Exclude Legacy Packages from Pipelines (#17659)
jsquire Jan 4, 2021
9a42fa1
[Event Hubs] Exclude Functions Bindings from Legacy (#17744)
jsquire Jan 4, 2021
eb5cb0c
[MetricsAdvisor] Added tests for some Data Feed CRUD operations (Non-…
kinelski Jan 4, 2021
d47236e
Add config for 1ES hosted Linux pool. (#17472)
mitchdenny Jan 4, 2021
54b1d8a
Add exclude projects parameter. (#17754)
mitchdenny Jan 4, 2021
b3e61dd
Add AzureSasCredential (#17636)
kasobol-msft Jan 5, 2021
78fb87e
Binary data binding (#17728)
JoshLove-msft Jan 5, 2021
0d90c47
Remove local swagger and re-record (#17753)
christothes Jan 5, 2021
d28f7b7
Restore parity between PR and Live test platforms (#17749)
pakrym Jan 5, 2021
59d97ce
Get Scope From Headers (#17195)
clarelimo Jan 5, 2021
ddfbd20
Fix bug on create OCI Manifest (#17379)
clarelimo Jan 5, 2021
e5fda95
Fixed bug where ChangeFeed couldn't handle BlobChangeFeedEvent.EventD…
seanmcc-msft Jan 5, 2021
36f50d5
[MetricsAdvisor] Added Update live tests for Data Feed CRUD operation…
kinelski Jan 5, 2021
2ad2c21
Add option for initial offset (#17727)
JoshLove-msft Jan 5, 2021
dbaa81a
Fixed bug where DataLakeDirectoryClient(Uri,..) would throw a null ex…
amnguye Jan 5, 2021
4e7dae4
Update to Update-Changelog.ps1 (#17760)
azure-sdk Jan 5, 2021
a0cccce
Fix InheritDoc conditional logic (#17774)
christothes Jan 5, 2021
fcc2766
Copy iothub connection string sample into smoke test arm template (#1…
benbp Jan 5, 2021
1a95f19
Update Administration backup LROs to conform to guidelines (#17440)
christothes Jan 5, 2021
bffbffd
Blob hash migration guide and samples. (#17759)
jaschrep-msft Jan 5, 2021
5d21d6a
Use PostConfigure for InitialOffsetOptions (#17778)
JoshLove-msft Jan 5, 2021
2caaac4
[MetricsAdvisor] Bug fix: service returns null in unexpected scenario…
kinelski Jan 5, 2021
0eee446
Add Devops Release Item scripts (#17783)
azure-sdk Jan 5, 2021
144bf94
Update AutoRest C# version (#17777)
azure-sdk Jan 6, 2021
6c7e359
Sync eng/common directory with azure-sdk-tools for PR 1298 (#17782)
azure-sdk Jan 6, 2021
11ab9fe
Add download perf tests (#17785)
pakrym Jan 6, 2021
0cdd118
Avoid exception when setting the network stream timeout (#17791)
pakrym Jan 6, 2021
0b3fb96
[MetricsAdvisor] Added Update live tests for Data Feed CRUD operation…
kinelski Jan 6, 2021
dd997f1
Consolidate Base64Url helper methods into Azure.Core shared source (#…
schaabs Jan 6, 2021
4989122
Prepare for Azure.Core 1.8.0 release (#17803)
pakrym Jan 6, 2021
9b89fff
remove IgnoreOnNet5Attribute and NoWarn exceptions (#17793)
christothes Jan 6, 2021
cdd844a
EventGrid blob trigger support (#17137)
alrod Jan 6, 2021
493594b
Update update changelog (#17788)
chidozieononiwu Jan 7, 2021
e886521
Eventhubs/pipeline pivot (#17804)
weshaggard Jan 7, 2021
e04f006
Prepare release of Azure.Core JSON helpers (#17820)
heaths Jan 7, 2021
15aa1d4
Sync eng/common directory with azure-sdk-tools for PR 1302 (#17823)
azure-sdk Jan 7, 2021
ad4f06d
Prepare JSON helper packages for release (#17827)
heaths Jan 7, 2021
049da7a
[Media] Adding additional customization files (#17755)
hivyas Jan 7, 2021
0af2bbf
[Synapse] - Add Encryption and update ManagedIdentitySqlControlSettin…
idear1203 Jan 7, 2021
ff381f5
Increment package version after release of Azure.Core (#17818)
azure-sdk Jan 7, 2021
2f59d36
Fixed href link in DataLakePathClient.UpdatePath (#17796)
gnabgib Jan 7, 2021
42f5512
[Communication] - Sample - Updating the Samples and regenerate the re…
JoshuaLai Jan 7, 2021
46c977e
Remove old Update-Change-Log.ps1 (#17821)
azure-sdk Jan 7, 2021
ae04827
[MetricsAdvisor] Added tests for GetDataFeeds operation (#17812)
kinelski Jan 7, 2021
7185a2a
[Service Bus Client] Pipeline Split (#17838)
jsquire Jan 7, 2021
7e50003
Fix test issue with .NET 5.0 (#17837)
JoshLove-msft Jan 7, 2021
486a42f
Doc fixes (#17842)
JoshLove-msft Jan 7, 2021
72adabf
Disable InheritDocEnabled for KV samples (#17840)
heaths Jan 7, 2021
05209aa
[MetricsAdvisor] Added tests for Data Feed ingestion operations (#17843)
kinelski Jan 7, 2021
4660a3e
Updated location for attestation tests for .net (#17841)
LarryOsterman Jan 8, 2021
483eb01
Added new api version 2020-08-01 for azure networking (#17831)
MikhailTryakhov Jan 8, 2021
ef4430b
Increment version for core releases (#17849)
azure-sdk Jan 8, 2021
909b6ed
[Event Hubs Client] ReadMe and Test fixes (#17816)
jsquire Jan 8, 2021
915aaa5
LogAnalytics Throttle export API new parameters GroupByClientApplicat…
Sandido Jan 8, 2021
12bc84b
Made parsing storage connection string settings accept all cases (mak…
abatishchev Jan 8, 2021
1579289
allow configuration of a suffix for each config item. (#17860)
azure-sdk Jan 8, 2021
8583667
[AMS] Fixed a assemblyfile version mismatch bug. (#17855)
giakas Jan 8, 2021
e60c811
Add maintenance tests for SQL SDK (#17723)
Jan 8, 2021
db5b46c
Revert "Remove old Update-Change-Log.ps1 (#1301)" (#17864)
azure-sdk Jan 8, 2021
99d4b86
added new customization file and changed swagger link (#17863)
hivyas Jan 9, 2021
91d13c2
Prepare for Azure.Core 1.8.1 release (#17878)
pakrym Jan 11, 2021
7f40a9c
Fix condition for test generation in prepare-pipelines (#17881)
azure-sdk Jan 11, 2021
a2e540e
Add AsSystemEventData (#17871)
JoshLove-msft Jan 11, 2021
6f31304
Update Azure.Core to 1.8.1 (#17886)
pakrym Jan 11, 2021
c7970d2
Increment version for core releases (#17891)
azure-sdk Jan 11, 2021
e2fad94
[Storage] SAS Credential in Storage. (#17646)
kasobol-msft Jan 11, 2021
bb4644a
[NetAppFiles]Anf 8257 net app files 2020 09 01 (#17697)
audunn Jan 11, 2021
858791e
Use AzureSasCredential (#17893)
JoshLove-msft Jan 11, 2021
0d35e04
Allow null offset in legacy checkpoints (#17896)
pakrym Jan 12, 2021
e11d64b
[MetricsAdvisor] Added tests.yml to MetricsAdvisor (#17894)
kinelski Jan 12, 2021
0197151
Add quotes around the parameter (#17889)
azure-sdk Jan 12, 2021
afe625a
add release date for 3.0.0-beta.5 (#17904)
christothes Jan 12, 2021
8864890
Increment version for tables releases (#17905)
azure-sdk Jan 12, 2021
ff77085
[Event Hubs Client] Idempotent Publishing Tweaks (#17906)
jsquire Jan 12, 2021
a1d1679
[Synapse] Add LRO for Spark operations (#17739)
chamons Jan 12, 2021
9e56fbe
Check client instrumentation (#17640)
pakrym Jan 12, 2021
62992a2
[MetricsAdvisor] Fixing tests.yml (#17910)
kinelski Jan 12, 2021
b3228b0
Implement TableUriBuilder and TableSasBuilder.Parse (#17890)
christothes Jan 12, 2021
edbb475
[Communication] - ALL - Adding PowerShell Docs to README (#17895)
minnieliu Jan 12, 2021
430f2eb
Prepared Storage for release (#17908)
seanmcc-msft Jan 12, 2021
09b3cc3
Update ADT control-plane SDK to 2020-12-01 (#17775)
Jan 12, 2021
5667deb
Update dependency of Microsoft.Azure.Amqp to version 2.4.9 (#17912)
DorothySun216 Jan 12, 2021
2b10475
Make CorsOptions.maxAgeInSeconds x-nullable (#17900)
heaths Jan 12, 2021
c06da06
Add perf tests for Blob storage scenarios. (#17897)
Mohit-Chakraborty Jan 12, 2021
9877b91
Update default doc index time to 10 seconds (#17914)
Mohit-Chakraborty Jan 12, 2021
9360362
Increment version for storage releases (#17916)
azure-sdk Jan 12, 2021
cfa264c
[Synapse] Bump Swagger for nullability and naming fix (#17885)
chamons Jan 12, 2021
3d8e6a4
Remove App Gateway tests (#17915)
Sandido Jan 12, 2021
24d7d9c
Updating same version with additional changes. (#17854)
dhawal777 Jan 12, 2021
cd67616
Update pipeline generation tool to support test variant pipelines (#1…
azure-sdk Jan 12, 2021
86ee028
SB release (#17922)
JoshLove-msft Jan 12, 2021
3e711d3
[Docs] Contributing Guide Link Fix (#17919)
jsquire Jan 12, 2021
d9ab504
Increment version for servicebus releases (#17923)
azure-sdk Jan 12, 2021
a222f45
(ADT-DP) Add diagnostic scopes to all DigialTwins APIs (#17921)
azabbasi Jan 13, 2021
44425da
Updates as per swagger changes to refer SourceResourceSettings Proper…
ajaygit158 Jan 13, 2021
5c53d27
[Event Hubs Client] Test Reliability Tweaks (#17941)
jsquire Jan 13, 2021
261f77a
Adding PPG and AvZone properties for V2A and H2A (#17853)
vidyadharijami Jan 13, 2021
563c5fc
Simplify CloudEvent ctors and add dataSerializationType parameter (#1…
JoshLove-msft Jan 13, 2021
5b7473d
Update CodeOwners to Reflect New Track2 Package (#17928)
scbedd Jan 13, 2021
294d968
[Messaging Clients] Test Resource Cleanup (#17938)
jsquire Jan 13, 2021
b721ee7
Triggering pipelines for machinelearningservices (#17955)
harneetvirk Jan 13, 2021
2e0c59c
Move ServiceBus extension to Azure SDK repo (#17951)
JoshLove-msft Jan 14, 2021
e399024
Add Track1 code validation for MGMT pipeline (#17210)
HarveyLink Jan 14, 2021
e41a806
Increment version for mediaservices releases (#17960)
azure-sdk Jan 14, 2021
8f6304b
Increment version for servicebus releases (#17949)
azure-sdk Jan 14, 2021
879aa6f
[synapse] SparkBatchOperation should return if complete OR started (#…
chamons Jan 14, 2021
7ebbd6a
replace with name field (#17824)
poanchen Jan 14, 2021
b3b3f54
Added shared authentication source for Mixed Reality clients (#17926)
craigktreasure Jan 14, 2021
3385bbd
Remove TestPipeline parameter from non-template pipelines. Add condit…
chidozieononiwu Jan 14, 2021
536dbf5
Add cross product matrix tooling (#17417)
benbp Jan 14, 2021
e727cea
[Communication] - Common - Rename Id to UserId (#17983)
minnieliu Jan 14, 2021
d2337e0
[synapse] Fix Sample6_HelloWorldLinkedService sample (#17974)
chamons Jan 14, 2021
bb55afe
ContainerService APIs have been deprecated, removing tests (#17845)
Sandido Jan 14, 2021
c4663af
Release LogAnalytic Throttle API changes (#17939)
Sandido Jan 14, 2021
c88f12e
Suppress ObjectDisposedException from SslStream during request cancel…
pakrym Jan 15, 2021
9f7f8b7
Update AutoRest C# version (#17989)
azure-sdk Jan 15, 2021
ee7b6fc
Add project reference NET5 test configuration (#17967)
pakrym Jan 15, 2021
e52b5e8
Release for Azure Spring Cloud - 2020-11-01-preview (#17692)
smile37773 Jan 15, 2021
c14fc0f
Change duplicate matrix name in live test template (#18009)
benbp Jan 15, 2021
aea7421
Add migration guide in search (#18008)
Mohit-Chakraborty Jan 15, 2021
b55a3e0
added error code and removed all error messages (#12967)
guomanmin Jan 15, 2021
e70cfcb
no check error code (#18011)
maririos Jan 15, 2021
d5f42d0
Run smoke tests against latest published versions in release pipeline…
benbp Jan 15, 2021
5e548be
[MetricsAdvisor] Ignore flaky tests (#18005)
kinelski Jan 15, 2021
d88d187
[Event Hubs Client] Internalize Idempotent Publishing (#18016)
jsquire Jan 15, 2021
75cc9d1
[Identity] update test.yml to use the updated ubuntu keyring containe…
schaabs Jan 15, 2021
e1cbd9a
Update Service Bus migration guide to follow template (#18019)
ramya-rao-a Jan 15, 2021
a99c3e0
[Text Analytics] Expose StringIndextype for all endpoints (#17968)
suhas92 Jan 16, 2021
df46c56
[Event Hubs Client] Custom Endpoint Support (#18014)
jsquire Jan 16, 2021
eab29fa
Updated release date (#18020)
LarryOsterman Jan 16, 2021
f3f35dd
Fixes ServiceBusProcessor.DisposeAsync exceptions (#18027)
aarondandy Jan 19, 2021
016c7e0
[Messaging Clients] Test Resource RBAC Grants (#18026)
jsquire Jan 19, 2021
ae744d9
Support If-Modified-Since header (#18042)
pakrym Jan 19, 2021
2ccda67
Fix partition key and row key sas token Uri strings (#18045)
christothes Jan 19, 2021
0f8dada
Communication - Add Support for AzureKeyCredential (#18037)
RezaJooyandeh Jan 19, 2021
9f3490f
[Event Hubs Client] Minor Fixes (#18054)
jsquire Jan 19, 2021
568b762
[MetricsAdvisor] Added AAD support and tests (#18036)
kinelski Jan 19, 2021
c7a3420
[Event Hubs Client] Preserve AMQP Exceptions (#18048)
jsquire Jan 19, 2021
16e5cf2
[Perf] Add Storage GetBlobs test (#18053)
mikeharder Jan 19, 2021
541b958
Disable default HttpClient/HttpWebRequest timeouts (#18050)
pakrym Jan 19, 2021
fd9f660
Skip empty checkpoints (#18059)
pakrym Jan 19, 2021
9585e55
Add Language Display name to Language Settings file (#18056)
chidozieononiwu Jan 19, 2021
c9a1f87
Avoid first chance exception on the hot path of RetriableStream (#18064)
pakrym Jan 19, 2021
e4a5218
Storage: Coalesce prefix response headers into a single loop (#18021)
tg-msft Jan 20, 2021
42570e9
[Communication] - Add identifier serializer (#18052)
RezaJooyandeh Jan 20, 2021
24a2ef0
Aligned storage URL parsing with other platforms (#18029)
amnguye Jan 20, 2021
1120cee
Update error message in tools repo (#18067)
azure-sdk Jan 20, 2021
845fdba
Fix batching calculation (#18062)
JoshLove-msft Jan 20, 2021
ac64bac
confluent updated dotnet SDK (#17997)
alluri02 Jan 20, 2021
180ee4f
[Service Bus Client] Documentation Updates (#18063)
jsquire Jan 20, 2021
664b450
Increment version for attestation releases (#18069)
azure-sdk Jan 20, 2021
3b883c3
[synapse] Bump swagger to 6636b93e2c9eb979336841289ce08d7c6043ea0e (…
chamons Jan 20, 2021
6482d50
Rename *LiveTest.cs -> *LiveTests.cs to be consistent across reposito…
chamons Jan 20, 2021
3f9a6ac
Add transactional batch sample and clean up others (#18065)
christothes Jan 20, 2021
d331a07
[Perf] Include running average in per-second output (#18071)
mikeharder Jan 20, 2021
2d029bc
Flatten Docs Readme Writes (#17862)
scbedd Jan 20, 2021
cefb3db
Include headers in the ExtractFailureContent partial methods (#18085)
pakrym Jan 20, 2021
f04d9e3
Deleted Obselete exception and added a scenario test to check for it …
Jan 20, 2021
26f32ad
Sync eng/common directory with azure-sdk-tools repository (#18092)
azure-sdk Jan 20, 2021
523da72
Sync eng/common directory with azure-sdk-tools for PR 1317 (#18094)
azure-sdk Jan 20, 2021
0111e56
Update Track1CodeCheck.ps1 for parsing and output (#18073)
HarveyLink Jan 21, 2021
e5f290b
Ensure bypass conditional template gets run for 1es ubuntu image (#18…
azure-sdk Jan 21, 2021
3683d32
Enable 1ES pools for live tests. (#17973)
mitchdenny Jan 21, 2021
1da5e45
Update CHANGELOG.md (#18098)
alrod Jan 21, 2021
fbf50d6
Supporting Availability set as input for Vmware to Azure and Hyper V …
vidyadharijami Jan 21, 2021
3c096ab
Update script to have PR check (#18102)
HarveyLink Jan 21, 2021
b23c732
Update Track1 MGMT pipeline (#18104)
HarveyLink Jan 21, 2021
b7f8944
Update Track1 code check script (#18107)
HarveyLink Jan 21, 2021
f6fbede
[MetricsAdvisor] Enabling tests after service bug has been fixed (#18…
kinelski Jan 21, 2021
ecc44d6
[Synapse] Rework and extend unit tests (#18010)
chamons Jan 21, 2021
383ab1e
[syanpse] Bump swagger to b9fbfae938a0ec0e8a696b450a917b47bea1f2e3 (#…
chamons Jan 21, 2021
073e18f
Clean build warnings and nuget config (#18095)
weshaggard Jan 21, 2021
3362401
Regenerated for Azure.Storage.Files.Shares (#18072)
amnguye Jan 21, 2021
729e4ed
Update AutoRest C# version (#18022)
azure-sdk Jan 21, 2021
54ea167
Used string.IsNullOrEmpty() in EnvironmentCredential (#18032)
abatishchev Jan 21, 2021
147a91c
Remove secure key release implementation (#18100)
heaths Jan 21, 2021
639db33
Updating the Mixed Reality test location (#18113)
craigktreasure Jan 21, 2021
caa1e16
Update AutoRest C# version (#18112)
azure-sdk Jan 21, 2021
65867a2
Add some properties in some classes (#18075)
aim-for-better Jan 21, 2021
11e46f2
Bootstrap sdk net for machinelearningservices (#17953)
harneetvirk Jan 21, 2021
38f08c6
Log x-ms-request-id for tests only (#18119)
heaths Jan 21, 2021
202f787
[Storage] Capture azurite debug log before failing permanently. (#18117)
kasobol-msft Jan 21, 2021
7853b91
regen the client (#18126)
christothes Jan 21, 2021
ff1e46d
Throttle API log analytics release (#18123)
Sandido Jan 21, 2021
bfeefde
Update SecurityInsights SDK [preview2] (#17969)
Jan 21, 2021
dd5cc6f
Added credscan steps for .NET (#17944)
sima-zhu Jan 22, 2021
8cca811
[codegen] Update to renamed code generator (#18122)
chamons Jan 22, 2021
e293566
Sync eng/common directory with azure-sdk-tools for PR 1251 (#18124)
azure-sdk Jan 22, 2021
2dde270
update swagger reference (#18128)
maririos Jan 22, 2021
5b64e58
[Perf] Show running average with 2 decimal places (#18134)
mikeharder Jan 22, 2021
a1bea9f
[synapse] Add more Artifacts tests (#18114)
chamons Jan 22, 2021
8688e34
direct return from DeserializeAsync (#18129)
SimonCropp Jan 22, 2021
b87be0d
Switch to greedy strategy (#18140)
pakrym Jan 22, 2021
8468943
Update AutoRest C# version (#18125)
azure-sdk Jan 22, 2021
231fb45
[Communication] - Identifier serialization new schema (#18120)
RezaJooyandeh Jan 22, 2021
594379a
[Communication] - Make AsyncTokenRefresher in CommunicationTokenRefre…
RezaJooyandeh Jan 22, 2021
2ba93a7
Add New CloudService Resource in Azure SDK (#17341)
ashvermamsft Jan 22, 2021
4297de2
[communication] fix endpoint env var name (#18138)
0rland0Wats0n Jan 22, 2021
103028a
[Communication] - SMS - Managed Identity Support for SMS Client (#17867)
minnieliu Jan 23, 2021
0f409d2
[TestFramework] Downgrade Azure.Identity for maximum compat (#18153)
mikeharder Jan 23, 2021
c0a421d
Add message batch factory (#18146)
JoshLove-msft Jan 23, 2021
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ sdk/labservices/Microsoft.Azure.Management.LabServices/ @Tanmayeekamat
/sdk/marketplaceordering/Microsoft.Azure.Management.MarketplaceOrdering/ @prbansa

# ServiceLabel: %Media Services %Service Attention
/sdk/mediaservices/ @akucer
/sdk/mediaservices/ @akucer @naiteeks @bennage @giakas

# ServiceLabel: %Migrate %Service Attention
/sdk/resourcemover/Microsoft.Azure.Management.Migrate/ @shijojoy
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
- Install the **.NET Core cross-platform development** workloads in VisualStudio
- Install **.NET Core 5.0.100 SDK** for your specific platform. (or a higher version within the 5.0.*** band) (https://dotnet.microsoft.com/download/dotnet-core/5.0)
- Install the latest version of git (https://git-scm.com/downloads)
- Install [PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell), version 6 or higher, if you plan to make public API changes or are working with generated code snippets.
- Install [NodeJS](https://nodejs.org/en/) (14.x.x) if you plan to use [C# code generation](https://github.com/Azure/autorest.csharp).
- Install [PowerShell](https://docs.microsoft.com/powershell/scripting/install/installing-powershell), version 6 or higher, if you plan to make public API changes or are working with generated code snippets.
- Install [NodeJS](https://nodejs.org/) (14.x.x) if you plan to use [C# code generation](https://github.com/Azure/autorest.csharp).

## GENERAL THINGS TO KNOW:

Expand Down
15 changes: 11 additions & 4 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="Local" value="tools/LocalNugetFeed" />
<add key="azure-sdk-tools" value="https://azuresdkartifacts.blob.core.windows.net/azure-sdk-tools/index.json" />
<clear />
<!-- Do not add any additional feeds if new packages are needed they need to come from nuget.org or our azure-sdk-for-net DevOps feed -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="azure-sdk-for-net" value="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json" />
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />

<!--
Used for azure-sdk-tools repo until issue https://github.com/Azure/azure-sdk-tools/issues/1329 is addressed
-->
<add key="azure-sdk-tools" value="https://azuresdkartifacts.blob.core.windows.net/azure-sdk-tools/index.json" />
</packageSources>
<disabledPackageSources>
<clear />
</disabledPackageSources>
</configuration>
17 changes: 11 additions & 6 deletions common/Perf/Azure.Test.Perf/PerfProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ public static class PerfProgram
private static List<TimeSpan>[] _correctedLatencies;
private static Channel<(TimeSpan, Stopwatch)> _pendingOperations;

private static int CompletedOperations => _completedOperations.Sum();
private static double OperationsPerSecond => _completedOperations.Zip(_lastCompletionTimes, (operations, time) => (operations / time.TotalSeconds)).Sum();

public static async Task Main(Assembly assembly, string[] args)
{
var testTypes = assembly.ExportedTypes
Expand Down Expand Up @@ -215,13 +218,15 @@ private static async Task RunTestsAsync(IPerfTest[] tests, PerfOptions options,
using var progressStatusCts = new CancellationTokenSource();
var progressStatusThread = PerfStressUtilities.PrintStatus(
$"=== {title} ===" + Environment.NewLine +
"Current\t\tTotal",
"Current\t\tTotal\t\tAverage",
() =>
{
var totalCompleted = _completedOperations.Sum();
var totalCompleted = CompletedOperations;
var currentCompleted = totalCompleted - lastCompleted;
var averageCompleted = OperationsPerSecond;

lastCompleted = totalCompleted;
return currentCompleted + "\t\t" + totalCompleted;
return $"{currentCompleted}\t\t{totalCompleted}\t\t{averageCompleted:F2}";
},
newLine: true,
progressStatusCts.Token,
Expand Down Expand Up @@ -273,12 +278,12 @@ private static async Task RunTestsAsync(IPerfTest[] tests, PerfOptions options,

Console.WriteLine("=== Results ===");

var totalOperations = _completedOperations.Sum();
var operationsPerSecond = _completedOperations.Zip(_lastCompletionTimes, (operations, time) => (operations / time.TotalSeconds)).Sum();
var totalOperations = CompletedOperations;
var operationsPerSecond = OperationsPerSecond;
var secondsPerOperation = 1 / operationsPerSecond;
var weightedAverageSeconds = totalOperations / operationsPerSecond;

Console.WriteLine($"Completed {totalOperations} operations in a weighted-average of {weightedAverageSeconds:N2}s " +
Console.WriteLine($"Completed {totalOperations:N0} operations in a weighted-average of {weightedAverageSeconds:N2}s " +
$"({operationsPerSecond:N2} ops/s, {secondsPerOperation:N3} s/op)");
Console.WriteLine();

Expand Down
12 changes: 6 additions & 6 deletions common/SmokeTests/SmokeTest/KeyVaultTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ class KeyVaultTest
{
private static Dictionary<string, Uri> authorityHostMap = new Dictionary<string, Uri>
{
{ "AzureCloud", KnownAuthorityHosts.AzureCloud },
{ "AzureChinaCloud", KnownAuthorityHosts.AzureChinaCloud },
{ "AzureGermanCloud", KnownAuthorityHosts.AzureGermanCloud },
{ "AzureUSGovernment", KnownAuthorityHosts.AzureUSGovernment },
{ "AzureCloud", AzureAuthorityHosts.AzurePublicCloud },
{ "AzureChinaCloud", AzureAuthorityHosts.AzureChina },
{ "AzureGermanCloud", AzureAuthorityHosts.AzureGermany },
{ "AzureUSGovernment", AzureAuthorityHosts.AzureGovernment },
};

private static string SecretName = $"SmokeTestSecret-{Guid.NewGuid()}";
Expand All @@ -38,7 +38,7 @@ public static async Task RunTests()
Console.WriteLine("3.- Delete that Secret (Clean up)\n");

string keyVaultUri = Environment.GetEnvironmentVariable("KEY_VAULT_URI");
var authorityHost = GetAuthorityHost(Environment.GetEnvironmentVariable("AZURE_CLOUD"), KnownAuthorityHosts.AzureCloud);
var authorityHost = GetAuthorityHost(Environment.GetEnvironmentVariable("AZURE_CLOUD"), AzureAuthorityHosts.AzurePublicCloud);

var defaultAzureCredentialOptions = new DefaultAzureCredentialOptions
{
Expand Down Expand Up @@ -95,4 +95,4 @@ private static Uri GetAuthorityHost(string cloudName, Uri defaultAuthorityHost)
return defaultAuthorityHost;
}
}
}
}
20 changes: 9 additions & 11 deletions common/SmokeTests/SmokeTest/SmokeTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,24 @@
<LangVersion>latest</LangVersion>
<StartupObject>SmokeTest.Program</StartupObject>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net461'">
<Reference Include="System" />
<Reference Include="Microsoft.CSharp" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Azure.Core" Version="1.4.0-dev.*" />
<PackageReference Include="Azure.Identity" Version="1.2.0-dev.*" />
<PackageReference Include="Azure.Messaging.EventHubs" Version="5.1.0-dev.*" />
<PackageReference Include="Azure.Messaging.EventHubs.Processor" Version="5.1.0-dev.*" />
<PackageReference Include="Azure.Security.Keyvault.Secrets" Version="4.1.0-dev.*" />
<PackageReference Include="Azure.Storage.Blobs" Version="12.5.0-dev.*" />
<PackageReference Include="Microsoft.Azure.Amqp" Version="2.4.3" />
<PackageReference Include="Azure.Core" Version="1.8.0" />
<PackageReference Include="Azure.Identity" Version="1.4.0-beta.1" />
<!-- The OverrideDailyVersion attribute prevents the Update-Dependencies script from overwriting it with a daily build version -->
<PackageReference Include="Azure.Messaging.EventHubs" Version="5.3.0-beta.4" OverrideDailyVersion="" />
<PackageReference Include="Azure.Messaging.EventHubs.Processor" Version="5.3.0-beta.4" />
<PackageReference Include="Azure.Security.Keyvault.Secrets" Version="4.2.0-beta.3" />
<PackageReference Include="Azure.Storage.Blobs" Version="12.8.0-beta.1" />
<PackageReference Include="Microsoft.Azure.Amqp" Version="2.4.9" />
<PackageReference Include="Microsoft.Azure.Devices" Version="1.20.1" />
<PackageReference Include="Microsoft.Azure.DocumentDB.Core" Version="2.10.0" />
</ItemGroup>

<!-- Sample: IoT Hub Connection String Translation -->
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)..\..\..\samples\iothub-connect-to-eventhubs\**\*.cs" Link="Samples\IoTHubConnection\SharedSource\%(Filename)%(Extension)" />
</ItemGroup>
</Project>
</Project>
149 changes: 87 additions & 62 deletions common/SmokeTests/SmokeTest/Update-Dependencies.ps1
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
param(
[string]$ProjectFile = './SmokeTest.csproj',
[string]$ArtifactsPath,
[switch]$SkipVersionValidation,
[switch]$CI
[switch]$CI,
[switch]$Daily
)

# To exclude a package version create an entry whose key is the package to
# exclude whose value is a hash table of versions to exclude.
# Example:
# $PACKAGE_EXCLUSIONS = @{
# 'Azure.Security.Keyvault.Secrets' = @{
# '4.1.0-dev.20191102.1' = $true;
# '4.1.0-dev.20191103.1' = $true;
# }
# }
$PACKAGE_EXCLUSIONS = @{ }
. $PSScriptRoot/../../../eng/common/scripts/SemVer.ps1

$PACKAGE_REFERENCE_XPATH = '//Project/ItemGroup/PackageReference'

# Matches the dev.yyyymmdd portion of the version string
$DEV_DATE_REGEX = 'dev\.(\d{8})'
$ALPHA_DATE_REGEX = 'alpha\.(\d{8})'

$NIGHTLY_FEED_NAME = 'NightlyFeed'
$NIGHTLY_FEED_URL = 'https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-net/index.json'
$baselineVersionDate = $null;

$PACKAGE_FEED_URL = 'https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json'

function Log-Warning($message) {
if ($CI) {
Expand All @@ -31,63 +25,94 @@ function Log-Warning($message) {
}
}

Register-PackageSource `
-Name $NIGHTLY_FEED_NAME `
-Location $NIGHTLY_FEED_URL `
-ProviderName Nuget `
-ErrorAction SilentlyContinue `
function GetAllPackages {
$packages = Find-Package -Source $PACKAGE_FEED_URL -AllVersion -AllowPrereleaseVersions
if ($Daily) {
return $packages | Where-Object { $_.Version.Contains("alpha") }
}
return $packages | Where-Object { !$_.Version.Contains("alpha") -and !$_.Version.Contains("dev") }
}

# List all packages from the source specified by $FeedName. Packages are sorted
# ascending by version according to semver rules (e.g. 4.0.0-preview.1 comes
# before 4.0.0) not lexicographically.
# Packages cannot be filtered at this stage because the sleet feed to which they
# are published does not support filtering by name.
$allPackages = Find-Package -Source $NIGHTLY_FEED_NAME -AllVersion -AllowPrereleaseVersions
function GetLatestPackage([array]$packageList, [string]$packageName) {
$versions = ($packageList
| Where-Object { $_.Name -eq $packageName }
| Select-Object -ExpandProperty Version)

$baselineVersionDate = $null;
if (!$versions) {
Write-Warning "Did not find any versions for $($packageName)"
return
}

# For each PackageReferecne in the csproj, find the latest version of that
# package from the dev feed which is not in the excluded list.
$projectFilePath = Resolve-Path -Path $ProjectFile
[xml]$csproj = Get-Content $ProjectFile
$csproj |
Select-XML $PACKAGE_REFERENCE_XPATH |
Where-Object { $_.Node.HasAttribute('Version') } |
ForEach-Object {
# Resolve package version:
$packageName = $_.Node.Include

# This assumes that the versions coming back from Find-Package are
# sorted ascending. It excludes any version that is in the corresponding
# $PACKAGE_EXCLUSIONS entry
$targetVersion = ($allPackages |
Where-Object { $_.Name -eq $packageName } |
Where-Object { -not ( $PACKAGE_EXCLUSIONS.ContainsKey($packageName) -and $PACKAGE_EXCLUSIONS[$packageName].ContainsKey($_.Version)) } |
Select-Object -Last 1).Version

if ($targetVersion -eq $null) {
return
}
$sorted = [AzureEngSemanticVersion]::SortVersionStrings($versions)
return $sorted | Select-Object -First 1
}

Write-Host "Setting $packageName to $targetVersion"
$_.Node.Version = "$targetVersion"
function GetPackageVersion([array]$packageList, [string]$packageName) {
if ($Daily -or -not $ArtifactsPath) {
return GetLatestPackage $packageList $packageName
}

if (-not (Test-Path (Join-Path $ArtifactsPath $packageName))) {
Write-Host "No build artifact directory for smoke test dependency $packageName. Using latest upstream version."
return GetLatestPackage $packageList $packageName
}

# Validate package version date component matches
if ($SkipVersionValidation) {
return
}
$pkg = Get-ChildItem "$ArtifactsPath/$packageName/*.nupkg" | Select-Object -First 1
if ($pkg -match "$packageName\.(.*)\.nupkg") {
$version = $matches[1]
Write-Host "Found build artifact for $packageName with version $version. Using artifact version."
return $version
} else {
throw "No build artifact packages found for smoke test dependency '$packageName'."
}
}

if ($_.Node.Version -match $DEV_DATE_REGEX) {
if ($baselineVersionDate -eq $null) {
Write-Host "Using baseline version date: $($matches[1])"
$baselineVersionDate = $matches[1]
function SetLatestPackageVersions([xml]$csproj) {
# For each PackageReference in the csproj, find the latest version of that
# package from the dev feed which is not in the excluded list.
$allPackages = GetAllPackages
$csproj |
Select-XML $PACKAGE_REFERENCE_XPATH
| Where-Object { $_.Node.HasAttribute('Version') }
| Where-Object { -not ($Daily -and $_.Node.HasAttribute('OverrideDailyVersion')) }
| ForEach-Object {
# Resolve package version:
$packageName = $_.Node.Include

$targetVersion = GetPackageVersion $allPackages $packageName

if ($null -eq $targetVersion) {
return
}

if ($baselineVersionDate -ne $matches[1]) {
Log-Warning "$($_.Node.Include) uses invalid version. Expected: $baselineVersionDate, Actual: $($matches[1])"
Write-Host "Setting $packageName to $targetVersion"
$_.Node.Version = "$targetVersion"


# Validate package version date component matches
if ($SkipVersionValidation) {
return
}

if ($_.Node.Version -match $ALPHA_DATE_REGEX) {
$capture = $matches[1]
if ($null -eq $baselineVersionDate) {
Write-Host "Using baseline version date: $capture"
$baselineVersionDate = $capture
}

if ($baselineVersionDate -ne $matches[1]) {
Log-Warning "$($_.Node.Include) uses invalid version. Expected: $baselineVersionDate, Actual: $capture"
}
}
}
}
}

function UpdateCsprojVersions {
$projectFilePath = Resolve-Path -Path $ProjectFile
[xml]$csproj = Get-Content $projectFilePath
SetLatestPackageVersions $csproj
$csproj.Save($projectFilePath)
}

$csproj.Save($projectFilePath)
UpdateCsprojVersions
Loading