Skip to content

Commit 6132ebf

Browse files
authored
Merge pull request #3565 from SiddharthChatrolaMs/dev
Remove managed cache cmdlets and their usage
2 parents 077168e + d75163d commit 6132ebf

File tree

64 files changed

+1
-16359
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1
-16359
lines changed

AzurePowershell.Test.targets

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
<AsmXUnitTests Include=".\src\ServiceManagement\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll"/>
6161
<AsmXUnitTests Include=".\src\ServiceManagement\Services\Commands.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Test.dll"/>
6262
<AsmXUnitTests Include=".\src\ServiceManagement\StorSimple\Commands.StorSimple.Test\bin\Debug\Microsoft.WindowsAzure.Commands.StorSimple.Test.dll"/>
63-
<AsmXUnitTests Include=".\src\ServiceManagement\ManagedCache\Commands.ManagedCache.Test\bin\Debug\Microsoft.Azure.Commands.ManagedCache.Test.dll"/>
6463
<AsmXUnitTests Include=".\src\ServiceManagement\RemoteApp\Commands.RemoteApp.Test\bin\Debug\Microsoft.Azure.Commands.RemoteApp.Tests.dll"/>
6564
<AsmXUnitTests Include=".\src\ServiceManagement\Common\Commands.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Commands.ScenarioTest.dll"/>
6665
<AsmXUnitTests Include=".\src\ServiceManagement\RecoveryServices\Commands.RecoveryServices.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Test.dll"/>
@@ -219,14 +218,6 @@
219218
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
220219
</Target>
221220

222-
<Target Name="TestManagedCache">
223-
<PropertyGroup>
224-
<_ManagedCacheTestAssembly>.\src\ServiceManagement\ManagedCache\Commands.ManagedCache.Test\bin\Debug\Microsoft.Azure.Commands.ManagedCache.Test.dll</_ManagedCacheTestAssembly>
225-
</PropertyGroup>
226-
<Xunit.Runner.MSBuild.xunit Assemblies="$(_ManagedCacheTestAssembly)" Html="$(TestOutputDirectory)\ManagedCache.xunit.dll.html" Verbose="false"
227-
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
228-
</Target>
229-
230221
<Target Name="TestResourceManager">
231222
<Xunit.Runner.MSBuild.xunit Assemblies="$(ResourceManagerTestDebug)" Html="$(TestOutputDirectory)\ResourceManagerTestDebug.xunit.dll.html" Verbose="false"
232223
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />

setup/azurecmdfiles.wxi

Lines changed: 0 additions & 210 deletions
Large diffs are not rendered by default.

src/Common/Commands.ScenarioTests.Common/Constants.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ public class Category
5252

5353
public const string TrafficManager = "TrafficManager";
5454

55-
public const string ManagedCache = "ManagedCache";
56-
5755
public const string Scheduler = "Scheduler";
5856

5957
public const string KeyVault = "KeyVault";

src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/Constants.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ public class Category
4848

4949
public const string TrafficManager = "TrafficManager";
5050

51-
public const string ManagedCache = "ManagedCache";
52-
5351
public const string Scheduler = "Scheduler";
5452

5553
public const string KeyVault = "KeyVault";

src/ServiceManagement/Common/Commands.ServiceManagement.Common/RequiredResourceLookup.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ internal static IList<string> RequiredProvidersForServiceManagement<T>()
3939
return new[] { "website" };
4040
}
4141

42-
if (typeof(T).FullName.EndsWith("ManagedCacheClient"))
43-
{
44-
return new[] { "cacheservice.Caching" };
45-
}
46-
4742
if (typeof(T).FullName.EndsWith("SchedulerManagementClient"))
4843
{
4944
return new[] { "scheduler.jobcollections" };

0 commit comments

Comments
 (0)