Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit e43cf8e

Browse files
ReubenBondtjain-ms
authored andcommitted
Remove deprecated Azure Dev Spaces support
1 parent 68d0df2 commit e43cf8e

File tree

37 files changed

+4
-173
lines changed

37 files changed

+4
-173
lines changed

src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ COPY "eShopOnContainers-ServicesAndWebApps.sln" "eShopOnContainers-ServicesAndWe
1111

1212
COPY "ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj" "ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj"
1313
COPY "ApiGateways/Web.Bff.Shopping/aggregator/Web.Shopping.HttpAggregator.csproj" "ApiGateways/Web.Bff.Shopping/aggregator/Web.Shopping.HttpAggregator.csproj"
14-
COPY "BuildingBlocks/Devspaces.Support/Devspaces.Support.csproj" "BuildingBlocks/Devspaces.Support/Devspaces.Support.csproj"
1514
COPY "BuildingBlocks/EventBus/EventBus/EventBus.csproj" "BuildingBlocks/EventBus/EventBus/EventBus.csproj"
1615
COPY "BuildingBlocks/EventBus/EventBus.Tests/EventBus.Tests.csproj" "BuildingBlocks/EventBus/EventBus.Tests/EventBus.Tests.csproj"
1716
COPY "BuildingBlocks/EventBus/EventBusRabbitMQ/EventBusRabbitMQ.csproj" "BuildingBlocks/EventBus/EventBusRabbitMQ/EventBusRabbitMQ.csproj"

src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile.develop

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ EXPOSE 80
66

77
WORKDIR /src
88
COPY ["src/ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj", "src/ApiGateways/Mobile.Bff.Shopping/aggregator/"]
9-
COPY ["src/BuildingBlocks/Devspaces.Support/Devspaces.Support.csproj", "src/BuildingBlocks/Devspaces.Support/"]
109
COPY ["src/NuGet.config", "src/NuGet.config"]
1110

1211
RUN dotnet restore src/ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj -nowarn:msb3202,nu1503

src/ApiGateways/Mobile.Bff.Shopping/aggregator/GlobalUsings.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
global using CatalogApi;
2-
global using Devspaces.Support;
32
global using Grpc.Core.Interceptors;
43
global using Grpc.Core;
54
global using GrpcBasket;

src/ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
3131
</ItemGroup>
3232

33-
<ItemGroup>
34-
<ProjectReference Include="..\..\..\BuildingBlocks\Devspaces.Support\Devspaces.Support.csproj" />
35-
</ItemGroup>
36-
3733
<ItemGroup>
3834
<Protobuf Include="..\..\..\Services\Basket\Basket.API\Proto\basket.proto" GrpcServices="Client" />
3935
<Protobuf Include="..\..\..\Services\Catalog\Catalog.API\Proto\catalog.proto" GrpcServices="Client" />

src/ApiGateways/Mobile.Bff.Shopping/aggregator/Properties/launchSettings.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@
2424
"ASPNETCORE_ENVIRONMENT": "Development"
2525
},
2626
"applicationUrl": "http://localhost:61632/"
27-
},
28-
"Azure Dev Spaces": {
29-
"commandName": "AzureDevSpaces",
30-
"launchBrowser": true,
31-
"resourceGroup": "eshoptestedu",
32-
"aksName": "eshoptestedu",
33-
"subscriptionId": "e3035ac1-c06c-4daf-8939-57b3c5f1f759"
3427
}
3528
}
3629
}

src/ApiGateways/Mobile.Bff.Shopping/aggregator/Startup.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public void ConfigureServices(IServiceCollection services)
2222

2323
services.AddCustomMvc(Configuration)
2424
.AddCustomAuthentication(Configuration)
25-
.AddDevspaces()
2625
.AddHttpServices()
2726
.AddGrpcServices();
2827
}
@@ -172,8 +171,7 @@ public static IServiceCollection AddHttpServices(this IServiceCollection service
172171

173172
//register http services
174173

175-
services.AddHttpClient<IOrderApiClient, OrderApiClient>()
176-
.AddDevspacesSupport();
174+
services.AddHttpClient<IOrderApiClient, OrderApiClient>();
177175

178176
return services;
179177
}

src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ COPY "eShopOnContainers-ServicesAndWebApps.sln" "eShopOnContainers-ServicesAndWe
1111

1212
COPY "ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj" "ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj"
1313
COPY "ApiGateways/Web.Bff.Shopping/aggregator/Web.Shopping.HttpAggregator.csproj" "ApiGateways/Web.Bff.Shopping/aggregator/Web.Shopping.HttpAggregator.csproj"
14-
COPY "BuildingBlocks/Devspaces.Support/Devspaces.Support.csproj" "BuildingBlocks/Devspaces.Support/Devspaces.Support.csproj"
1514
COPY "BuildingBlocks/EventBus/EventBus/EventBus.csproj" "BuildingBlocks/EventBus/EventBus/EventBus.csproj"
1615
COPY "BuildingBlocks/EventBus/EventBus.Tests/EventBus.Tests.csproj" "BuildingBlocks/EventBus/EventBus.Tests/EventBus.Tests.csproj"
1716
COPY "BuildingBlocks/EventBus/EventBusRabbitMQ/EventBusRabbitMQ.csproj" "BuildingBlocks/EventBus/EventBusRabbitMQ/EventBusRabbitMQ.csproj"

src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile.develop

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ EXPOSE 80
66

77
WORKDIR /src
88
COPY ["src/ApiGateways/Web.Bff.Shopping/aggregator/Web.Shopping.HttpAggregator.csproj", "src/ApiGateways/Web.Bff.Shopping/aggregator/"]
9-
COPY ["src/BuildingBlocks/Devspaces.Support/Devspaces.Support.csproj", "src/BuildingBlocks/Devspaces.Support/"]
109
COPY ["src/NuGet.config", "src/NuGet.config"]
1110

1211
RUN dotnet restore src/ApiGateways/Web.Bff.Shopping/aggregator/Web.Shopping.HttpAggregator.csproj -nowarn:msb3202,nu1503

src/ApiGateways/Web.Bff.Shopping/aggregator/GlobalUsings.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
global using CatalogApi;
2-
global using Devspaces.Support;
32
global using Grpc.Core.Interceptors;
43
global using Grpc.Core;
54
global using GrpcBasket;

src/ApiGateways/Web.Bff.Shopping/aggregator/Startup.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ public void ConfigureServices(IServiceCollection services)
2323
services.AddCustomMvc(Configuration)
2424
.AddCustomAuthentication(Configuration)
2525
//.AddCustomAuthorization(Configuration)
26-
.AddDevspaces()
2726
.AddApplicationServices()
2827
.AddGrpcServices();
2928
}
@@ -159,8 +158,7 @@ public static IServiceCollection AddApplicationServices(this IServiceCollection
159158
//register http services
160159

161160
services.AddHttpClient<IOrderApiClient, OrderApiClient>()
162-
.AddHttpMessageHandler<HttpClientAuthorizationDelegatingHandler>()
163-
.AddDevspacesSupport();
161+
.AddHttpMessageHandler<HttpClientAuthorizationDelegatingHandler>();
164162

165163
return services;
166164
}

0 commit comments

Comments
 (0)