Skip to content

Add Az.StorageSync Cmdlets supported by Microsoft.StorageSync RP - v5 version #8527

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

Merged
merged 37 commits into from
Feb 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
67d85e9
Add StorageSync Cmdlets
ankushbindlish2 Feb 13, 2019
7b8b40f
StorageSync Cmdlets
ankushbindlish2 Feb 13, 2019
f9d5dc2
Merge branch 'master' into Az-StorageSync-v5-Final
ankushbindlish2 Feb 13, 2019
6c69d09
Update ChangeLog.md
ankushbindlish2 Feb 13, 2019
0fb4f9e
Review Comments incorporation
ankushbindlish2 Feb 14, 2019
48b7a1a
Merge branch 'master' into Az-StorageSync-v5-Final
ankushbindlish2 Feb 14, 2019
73a39ff
Xml Documenation
ankushbindlish2 Feb 14, 2019
7ec704d
Xml Documentation
ankushbindlish2 Feb 14, 2019
a16be39
String Resources
ankushbindlish2 Feb 14, 2019
c20b9ac
More String Resources
ankushbindlish2 Feb 14, 2019
034d925
Create Physical file for each c# class
ankushbindlish2 Feb 14, 2019
75c0b6d
comments fix
ankushbindlish2 Feb 14, 2019
5e9bed3
Fixing Static Analysis issue
ankushbindlish2 Feb 14, 2019
8ad2ad8
Update Az.StorageSync.psd1
ankushbindlish2 Feb 14, 2019
2c31b74
fix playback test
ankushbindlish2 Feb 14, 2019
15a8f48
Fix tests
ankushbindlish2 Feb 14, 2019
5369c74
ParameterBound change and ResourceNameCompleter
ankushbindlish2 Feb 14, 2019
445d66d
Updating for platform-specific assembly loading
markcowl Feb 20, 2019
c0abe3b
Update DependencyAnalyzer for new lib
markcowl Feb 20, 2019
a09e52b
Review Comments Incorporation
ankushbindlish2 Feb 21, 2019
36e1942
Remove OfflineDataTransferShareName from Set-SEP
ankushbindlish2 Feb 21, 2019
19a60bb
Fix issu of having new mock object for each test
ankushbindlish2 Feb 21, 2019
e321aab
Fix Tenant bug for Graph Client
ankushbindlish2 Feb 22, 2019
bb215ee
Add additional framework extension assemblies for StorageSync support
markcowl Feb 22, 2019
b6fcd49
Change load ordering
markcowl Feb 23, 2019
61f3940
Merging with upstream
markcowl Feb 23, 2019
3ab1abe
Merge branch 'Az-StorageSync-v5-Final' of github.com:ankushbindlish2/…
markcowl Feb 25, 2019
00be931
Update logs to ensure each cmdlet uses Win32registry
ankushbindlish2 Feb 25, 2019
dbe0293
Merge pull request #3 from markcowl/storage-sync2
ankushbindlish2 Feb 25, 2019
af69379
Merge branch 'master' of https://github.com/Azure/azure-powershell in…
ankushbindlish2 Feb 25, 2019
4c70412
Update Program.cs
ankushbindlish2 Feb 25, 2019
6b1b894
Fixing issue with wildcard expansion with long paths
markcowl Feb 25, 2019
4aaf2ff
Merge pull request #4 from markcowl/storage-sync3
ankushbindlish2 Feb 25, 2019
7e8cd89
Review Comments
ankushbindlish2 Feb 26, 2019
c2ca53f
review comments
ankushbindlish2 Feb 26, 2019
d9cd366
Update StorageSyncConstants.cs
ankushbindlish2 Feb 26, 2019
b6d4314
Update build.proj
ankushbindlish2 Feb 26, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@
<LibrarySourceFolder>$(LibraryRoot)src</LibrarySourceFolder>
<LibraryToolsFolder>$(LibraryRoot)tools</LibraryToolsFolder>
<LibraryArtifactsFolder>$(LibraryRoot)artifacts</LibraryArtifactsFolder>
<LocalFeedFolder>$(LibraryToolsFolder)\LocalFeed</LocalFeedFolder>
<LocalFeedFolder>$(LibraryToolsFolder)/LocalFeed</LocalFeedFolder>
<Configuration Condition=" '$(Configuration)' != 'Release'">Debug</Configuration>
<CodeSign>false</CodeSign>
<!--Set this true only if you want to test the code sign workflow locally-->
<DelaySign Condition =" '$(DelaySign)' == '' ">false</DelaySign>
<SignedOutputRootDir>$(LibraryRoot)signed</SignedOutputRootDir>
<PackageDirectory>$(LibraryRoot)\artifacts</PackageDirectory>
<TestOutputDirectory>$(PackageDirectory)\Test</TestOutputDirectory>
<PackageDirectory>$(LibraryRoot)artifacts</PackageDirectory>
<TestOutputDirectory>$(PackageDirectory)/Test</TestOutputDirectory>
<BuildInParallel Condition="'$(BuildInParallel)' == ''">true</BuildInParallel>
<NuGetPublishingSource Condition=" '$(NuGetPublishingSource)' == '' ">$(LibrarySourceFolder)</NuGetPublishingSource>
<Scope Condition="$(Scope) == ''" >All</Scope>
<BuildTasksPath>$(LibraryToolsFolder)\BuildPackagesTask\Microsoft.Azure.Build.Tasks\bin\$(Configuration)</BuildTasksPath>
<StackPackageFolder>$(LibrarySourceFolder)\Stack</StackPackageFolder>
<BuildTasksPath>$(LibraryToolsFolder)/BuildPackagesTask/Microsoft.Azure.Build.Tasks/bin/$(Configuration)</BuildTasksPath>
<StackPackageFolder>$(LibrarySourceFolder)/Stack</StackPackageFolder>
<NetCore Condition="'$(NetCore)' != 'true'">false</NetCore>
</PropertyGroup>

Expand Down Expand Up @@ -131,7 +131,7 @@
<Message Importance="high" Text="Cleaning Cmdlets..." />

<!-- Clean out the NuGet cache -->
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;Remove-Item -Path (Join-Path ($env:USERPROFILE) .nuget packages) -Recurse -Force -Confirm:$false -ErrorAction Ignore&quot;" ContinueOnError="WarnAndContinue" IgnoreExitCode="true" />
<Exec Command="dotnet nuget locals global-packages --clear" ContinueOnError="WarnAndContinue" IgnoreExitCode="true" />

<!-- Remove Package, Publish, bin, obj, and TestResults directories -->
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;Remove-Item -Path $(PackageDirectory) -Recurse -Force -Confirm:$false -ErrorAction Ignore&quot;" ContinueOnError="WarnAndContinue" IgnoreExitCode="true" />
Expand Down Expand Up @@ -386,6 +386,7 @@
<CallTarget Targets="BinScopeCheck" Condition="'$(OnPremiseBuild)'" />
<CallTarget Targets="RunPoliCheck" Condition="'$(OnPremiseBuild)'" />

<Message Importance="High" Text="Creating test output directory at '$(TestOutputDirectory)'" />
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
<Exec Command="dotnet new sln -n Azure.PowerShell --force" />
<ItemGroup>
Expand All @@ -401,12 +402,7 @@
<Exec Command="dotnet sln Azure.PowerShell.sln add $(LibraryRoot)tools/ScenarioTest.ResourceManager/ScenarioTest.ResourceManager.csproj $(LibraryRoot)tools/TestFx/TestFx.csproj" />
<!-- https://github.com/Microsoft/msbuild/issues/3157#issuecomment-378002971 -->
<!-- https://github.com/xunit/xunit/issues/1154#issuecomment-405366373 -->
<Exec Command="dotnet test Azure.PowerShell.sln --filter &quot;AcceptanceType=CheckIn%26RunType!=DesktopOnly&quot; --configuration $(Configuration) --framework $(Framework) --logger trx" />

<ItemGroup>
<TestResults Include="$(LibraryRoot)src/**/TestResults/*.trx" />
</ItemGroup>
<Copy SourceFiles="@(TestResults)" DestinationFolder="$(TestOutputDirectory)" />
<Exec Command="dotnet test Azure.PowerShell.sln --filter &quot;AcceptanceType=CheckIn%26RunType!=DesktopOnly&quot; --configuration $(Configuration) --framework netcoreapp2.0 --logger trx --results-directory &quot;$(TestOutputDirectory)&quot;" />

<OnError ExecuteTargets="TestFailureErrorMessage" />
</Target>
Expand Down Expand Up @@ -464,4 +460,4 @@
<Error Text="PoliCheck failed with a Severity 1 issue, please check the report at in artifacts/PoliCheck-Scan.html" />
</Target>

</Project>
</Project>
8 changes: 5 additions & 3 deletions src/Accounts/Accounts/Accounts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
<ItemGroup>
<PreLoadAssemblies Include="$(RepoSrc)lib\Newtonsoft.Json.10.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\System.Buffers.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\System.Net.Http.WinHttpHandler.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\System.Private.ServiceModel.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\System.Reflection.DispatchProxy.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\System.ServiceModel.Primitives.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\System.Security.AccessControl.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\System.Security.Permissions.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\System.Private.ServiceModel.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\System.Net.Http.WinHttpHandler.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\System.Security.Principal.Windows.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\System.ServiceModel.Primitives.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\Microsoft.IdentityModel.Clients.ActiveDirectory\NetFx\Microsoft.IdentityModel.Clients.ActiveDirectory.dll" />
<PreLoadAssemblies Include="$(RepoSrc)lib\Microsoft.IdentityModel.Clients.ActiveDirectory\NetFx\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll" />
<NetCoreAssemblies Include="$(RepoSrc)lib\Microsoft.IdentityModel.Clients.ActiveDirectory\NetCore\Microsoft.IdentityModel.Clients.ActiveDirectory.dll" />
Expand Down
1 change: 1 addition & 0 deletions src/Accounts/Accounts/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Add additional framework extensions for .Net Framework execution

## Version 1.3.0
* Update to latest version of ClientRuntime
Expand Down
Loading