Update and cleanup eShoppull/2066/head
@ -1,55 +0,0 @@ | |||
kind: helm-release | |||
apiVersion: 1.1 | |||
build: | |||
context: ..\..\..\.. | |||
dockerfile: Dockerfile | |||
install: | |||
chart: ../../../../k8s/helm/mobileshoppingagg | |||
set: | |||
image: | |||
tag: $(tag) | |||
pullPolicy: Never | |||
ingress: | |||
annotations: | |||
kubernetes.io/ingress.class: traefik-azds | |||
hosts: | |||
# This expands to [space.s.]apigwms.<guid>.<region>.aksapp.io | |||
- $(spacePrefix)eshop$(hostSuffix) | |||
inf: | |||
k8s: | |||
dns: $(spacePrefix)eshop$(hostSuffix) | |||
values: | |||
- values.dev.yaml? | |||
- secrets.dev.yaml? | |||
- app.yaml | |||
- inf.yaml | |||
configurations: | |||
develop: | |||
build: | |||
useGitIgnore: true | |||
dockerfile: Dockerfile.develop | |||
container: | |||
syncTarget: /src | |||
sync: | |||
- '**/Pages/**' | |||
- '**/Views/**' | |||
- '**/wwwroot/**' | |||
- '!**/*.{sln,csproj}' | |||
command: | |||
- dotnet | |||
- run | |||
- --no-restore | |||
- --no-build | |||
- --no-launch-profile | |||
- -c | |||
- ${Configuration:-Debug} | |||
iterate: | |||
processesToKill: | |||
- dotnet | |||
- vsdbg | |||
buildCommands: | |||
- - dotnet | |||
- build | |||
- --no-restore | |||
- -c | |||
- ${Configuration:-Debug} |
@ -1,55 +0,0 @@ | |||
kind: helm-release | |||
apiVersion: 1.1 | |||
build: | |||
context: ..\..\..\.. | |||
dockerfile: Dockerfile | |||
install: | |||
chart: ../../../../k8s/helm/webshoppingagg | |||
set: | |||
image: | |||
tag: $(tag) | |||
pullPolicy: Never | |||
ingress: | |||
annotations: | |||
kubernetes.io/ingress.class: traefik-azds | |||
hosts: | |||
# This expands to [space.s.]apigwms.<guid>.<region>.aksapp.io | |||
- $(spacePrefix)eshop$(hostSuffix) | |||
inf: | |||
k8s: | |||
dns: $(spacePrefix)eshop$(hostSuffix) | |||
values: | |||
- values.dev.yaml? | |||
- secrets.dev.yaml? | |||
- app.yaml | |||
- inf.yaml | |||
configurations: | |||
develop: | |||
build: | |||
useGitIgnore: true | |||
dockerfile: Dockerfile.develop | |||
container: | |||
syncTarget: /src | |||
sync: | |||
- '**/Pages/**' | |||
- '**/Views/**' | |||
- '**/wwwroot/**' | |||
- '!**/*.{sln,csproj}' | |||
command: | |||
- dotnet | |||
- run | |||
- --no-restore | |||
- --no-build | |||
- --no-launch-profile | |||
- -c | |||
- ${Configuration:-Debug} | |||
iterate: | |||
processesToKill: | |||
- dotnet | |||
- vsdbg | |||
buildCommands: | |||
- - dotnet | |||
- build | |||
- --no-restore | |||
- -c | |||
- ${Configuration:-Debug} |
@ -1,11 +0,0 @@ | |||
<Project Sdk="Microsoft.NET.Sdk"> | |||
<PropertyGroup> | |||
<TargetFramework>net7.0</TargetFramework> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" /> | |||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" /> | |||
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" /> | |||
</ItemGroup> | |||
</Project> |
@ -1,22 +0,0 @@ | |||
namespace Devspaces.Support; | |||
public class DevspacesMessageHandler : DelegatingHandler | |||
{ | |||
private const string DevspacesHeaderName = "azds-route-as"; | |||
private readonly IHttpContextAccessor _httpContextAccessor; | |||
public DevspacesMessageHandler(IHttpContextAccessor httpContextAccessor) | |||
{ | |||
_httpContextAccessor = httpContextAccessor; | |||
} | |||
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) | |||
{ | |||
var req = _httpContextAccessor.HttpContext.Request; | |||
if (req.Headers.ContainsKey(DevspacesHeaderName)) | |||
{ | |||
request.Headers.Add(DevspacesHeaderName, req.Headers[DevspacesHeaderName] as IEnumerable<string>); | |||
} | |||
return base.SendAsync(request, cancellationToken); | |||
} | |||
} |
@ -1,6 +0,0 @@ | |||
global using Microsoft.AspNetCore.Http; | |||
global using Microsoft.Extensions.DependencyInjection; | |||
global using System.Collections.Generic; | |||
global using System.Net.Http; | |||
global using System.Threading.Tasks; | |||
global using System.Threading; |
@ -1,10 +0,0 @@ | |||
namespace Devspaces.Support; | |||
public static class HttpClientBuilderDevspacesExtensions | |||
{ | |||
public static IHttpClientBuilder AddDevspacesSupport(this IHttpClientBuilder builder) | |||
{ | |||
builder.AddHttpMessageHandler<DevspacesMessageHandler>(); | |||
return builder; | |||
} | |||
} |
@ -1,10 +0,0 @@ | |||
namespace Devspaces.Support; | |||
public static class ServiceCollectionDevspacesExtensions | |||
{ | |||
public static IServiceCollection AddDevspaces(this IServiceCollection services) | |||
{ | |||
services.AddTransient<DevspacesMessageHandler>(); | |||
return services; | |||
} | |||
} |
@ -0,0 +1,99 @@ | |||
<Project> | |||
<PropertyGroup> | |||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | |||
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<PackageVersion Include="AspNetCore.HealthChecks.AzureServiceBus" Version="6.1.0" /> | |||
<PackageVersion Include="AspNetCore.HealthChecks.AzureStorage" Version="6.1.2" /> | |||
<PackageVersion Include="AspNetCore.HealthChecks.Rabbitmq" Version="6.0.2" /> | |||
<PackageVersion Include="AspNetCore.HealthChecks.Redis" Version="6.0.4" /> | |||
<PackageVersion Include="AspNetCore.HealthChecks.SqlServer" Version="6.0.2" /> | |||
<PackageVersion Include="AspNetCore.HealthChecks.UI" Version="6.0.5" /> | |||
<PackageVersion Include="AspNetCore.HealthChecks.UI.Client" Version="6.0.5" /> | |||
<PackageVersion Include="AspNetCore.HealthChecks.UI.InMemory.Storage" Version="6.0.5" /> | |||
<PackageVersion Include="AspNetCore.HealthChecks.Uris" Version="6.0.3" /> | |||
<PackageVersion Include="Autofac" Version="6.5.0" /> | |||
<PackageVersion Include="Autofac.Extensions.DependencyInjection" Version="8.0.0" /> | |||
<PackageVersion Include="Azure.Extensions.AspNetCore.Configuration.Secrets" Version="1.2.2" /> | |||
<PackageVersion Include="Azure.Identity" Version="1.8.2" /> | |||
<PackageVersion Include="Azure.Messaging.ServiceBus" Version="7.12.0" /> | |||
<PackageVersion Include="BuildBundlerMinifier" Version="3.2.449" /> | |||
<PackageVersion Include="Dapper" Version="2.0.123" /> | |||
<PackageVersion Include="Duende.IdentityServer" Version="6.2.3" /> | |||
<PackageVersion Include="Duende.IdentityServer.AspNetIdentity" Version="6.2.3" /> | |||
<PackageVersion Include="Duende.IdentityServer.EntityFramework" Version="6.2.3" /> | |||
<PackageVersion Include="Duende.IdentityServer.EntityFramework.Storage" Version="6.2.3" /> | |||
<PackageVersion Include="Duende.IdentityServer.Storage" Version="6.2.3" /> | |||
<PackageVersion Include="FluentValidation.AspNetCore" Version="11.2.2" /> | |||
<PackageVersion Include="Google.Protobuf" Version="3.22.0" /> | |||
<PackageVersion Include="Grpc.AspNetCore.Server" Version="2.51.0" /> | |||
<PackageVersion Include="Grpc.AspNetCore.Server.ClientFactory" Version="2.51.0" /> | |||
<PackageVersion Include="Grpc.Core" Version="2.46.6" /> | |||
<PackageVersion Include="Grpc.Net.Client" Version="2.51.0" /> | |||
<PackageVersion Include="Grpc.Net.ClientFactory" Version="2.51.0" /> | |||
<PackageVersion Include="Grpc.Tools" Version="2.51.0" PrivateAssets="All" /> | |||
<PackageVersion Include="MediatR" Version="12.0.0" /> | |||
<PackageVersion Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0-beta1" /> | |||
<PackageVersion Include="Microsoft.ApplicationInsights.DependencyCollector" Version="2.22.0-beta1" /> | |||
<PackageVersion Include="Microsoft.ApplicationInsights.Kubernetes" Version="6.0.0" /> | |||
<PackageVersion Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.Authorization" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.Diagnostics.HealthChecks" Version="2.2.0" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.HealthChecks" Version="1.0.0" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.Identity.UI" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.SignalR.StackExchangeRedis" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.4.0" /> | |||
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" /> | |||
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Proxies" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" /> | |||
<PackageVersion Include="Microsoft.Extensions.DependencyModel" Version="7.0.0" /> | |||
<PackageVersion Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="7.0.1" /> | |||
<PackageVersion Include="Microsoft.Extensions.Http" Version="7.0.0" /> | |||
<PackageVersion Include="Microsoft.Extensions.Identity.Stores" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.Extensions.Logging" Version="7.0.0" /> | |||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" /> | |||
<PackageVersion Include="Microsoft.Extensions.Logging.AzureAppServices" Version="7.0.3" /> | |||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.5.0" /> | |||
<PackageVersion Include="Microsoft.NETCore.Platforms" Version="7.0.0" /> | |||
<PackageVersion Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.17.0" /> | |||
<PackageVersion Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="7.0.4" /> | |||
<PackageVersion Include="Microsoft.Web.LibraryManager.Build" Version="2.1.175" /> | |||
<PackageVersion Include="Moq" Version="4.18.4" /> | |||
<PackageVersion Include="Newtonsoft.Json" Version="13.0.2" /> | |||
<PackageVersion Include="Polly" Version="7.2.3" /> | |||
<PackageVersion Include="RabbitMQ.Client" Version="6.4.0" /> | |||
<PackageVersion Include="Serilog.AspNetCore" Version="6.1.0" /> | |||
<PackageVersion Include="Serilog.Enrichers.Environment" Version="2.2.1-dev-00787" /> | |||
<PackageVersion Include="Serilog.Settings.Configuration" Version="3.5.0-dev-00359" /> | |||
<PackageVersion Include="Serilog.Sinks.Console" Version="4.1.1-dev-00896" /> | |||
<PackageVersion Include="Serilog.Sinks.Http" Version="8.0.0" /> | |||
<PackageVersion Include="Serilog.Sinks.Seq" Version="5.2.3-dev-00260" /> | |||
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.5.0" /> | |||
<PackageVersion Include="Swashbuckle.AspNetCore.Newtonsoft" Version="6.5.0" /> | |||
<PackageVersion Include="System.Data.SqlClient" Version="4.8.5" /> | |||
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="6.27.0" /> | |||
<PackageVersion Include="System.Reflection.TypeExtensions" Version="4.7.0" /> | |||
<PackageVersion Include="xunit" Version="2.4.2" /> | |||
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.5" /> | |||
</ItemGroup> | |||
</Project> |
@ -1,9 +1,10 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<configuration> | |||
<config> | |||
<add key="repositoryPath" value="packages" /> | |||
</config> | |||
<packageSources> | |||
<add key="NuGet" value="https://api.nuget.org/v3/index.json" /> | |||
<clear /> | |||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> | |||
</packageSources> | |||
</configuration> | |||
<solution> | |||
<add key="disableSourceControlIntegration" value="true" /> | |||
</solution> | |||
</configuration> |
@ -1,61 +1,59 @@ | |||
<Project Sdk="Microsoft.NET.Sdk.Web"> | |||
<PropertyGroup> | |||
<TargetFramework>net7.0</TargetFramework> | |||
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback> | |||
<DockerComposeProjectPath>..\..\..\..\docker-compose.dcproj</DockerComposeProjectPath> | |||
<GenerateErrorForMissingTargetingPacks>false</GenerateErrorForMissingTargetingPacks> | |||
<IsTransformWebConfigDisabled>true</IsTransformWebConfigDisabled> | |||
</PropertyGroup> | |||
<PropertyGroup> | |||
<TargetFramework>net7.0</TargetFramework> | |||
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback> | |||
<DockerComposeProjectPath>..\..\..\..\docker-compose.dcproj</DockerComposeProjectPath> | |||
<GenerateErrorForMissingTargetingPacks>false</GenerateErrorForMissingTargetingPacks> | |||
<IsTransformWebConfigDisabled>true</IsTransformWebConfigDisabled> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<Content Update="web.config"> | |||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> | |||
</Content> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Content Update="web.config"> | |||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> | |||
</Content> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="7.0.0" /> | |||
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.25.0" /> | |||
<PackageReference Include="Azure.Identity" Version="1.5.0-beta.3" /> | |||
<PackageReference Include="AspNetCore.HealthChecks.AzureServiceBus" Version="6.0.4" /> | |||
<PackageReference Include="AspNetCore.HealthChecks.Rabbitmq" Version="6.0.2" /> | |||
<PackageReference Include="AspNetCore.HealthChecks.Redis" Version="6.0.4" /> | |||
<PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="6.0.5" /> | |||
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="8.0.0" /> | |||
<PackageReference Include="Azure.Extensions.AspNetCore.Configuration.Secrets" Version="1.2.2" /> | |||
<PackageReference Include="Azure.Identity" Version="1.9.0-beta.1" /> | |||
<PackageReference Include="Google.Protobuf" Version="3.21.9" /> | |||
<PackageReference Include="Grpc.AspNetCore.Server" Version="2.50.0" /> | |||
<PackageReference Include="Grpc.Tools" Version="2.51.0-pre1" PrivateAssets="All" /> | |||
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0-beta1" /> | |||
<PackageReference Include="Microsoft.ApplicationInsights.DependencyCollector" Version="2.22.0-beta1" /> | |||
<PackageReference Include="Microsoft.ApplicationInsights.Kubernetes" Version="3.1.0" /> | |||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.0" /> | |||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.HealthChecks" Version="2.2.0" /> | |||
<PackageReference Include="Microsoft.AspNetCore.HealthChecks" Version="1.0.0" /> | |||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.0" /> | |||
<PackageReference Include="Microsoft.Extensions.Configuration.AzureKeyVault" Version="3.1.24" /> | |||
<PackageReference Include="Microsoft.Extensions.Logging.AzureAppServices" Version="7.0.0" /> | |||
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.17.0" /> | |||
<PackageReference Include="Serilog.AspNetCore" Version="6.1.0-dev-00289" /> | |||
<PackageReference Include="Serilog.Enrichers.Environment" Version="2.2.1-dev-00787" /> | |||
<PackageReference Include="Serilog.Settings.Configuration" Version="3.5.0-dev-00359" /> | |||
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.1-dev-00896" /> | |||
<PackageReference Include="Serilog.Sinks.Http" Version="8.0.0" /> | |||
<PackageReference Include="Serilog.Sinks.Seq" Version="5.2.3-dev-00260" /> | |||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" /> | |||
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="6.4.0" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" /> | |||
<PackageReference Include="System.IdentityModel.Tokens.Jwt" /> | |||
<PackageReference Include="AspNetCore.HealthChecks.AzureServiceBus" /> | |||
<PackageReference Include="AspNetCore.HealthChecks.Rabbitmq" /> | |||
<PackageReference Include="AspNetCore.HealthChecks.Redis" /> | |||
<PackageReference Include="AspNetCore.HealthChecks.UI.Client" /> | |||
<PackageReference Include="Autofac.Extensions.DependencyInjection" /> | |||
<PackageReference Include="Azure.Extensions.AspNetCore.Configuration.Secrets" /> | |||
<PackageReference Include="Azure.Identity" /> | |||
<PackageReference Include="Google.Protobuf" /> | |||
<PackageReference Include="Grpc.AspNetCore.Server" /> | |||
<PackageReference Include="Grpc.Tools" PrivateAssets="All" /> | |||
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" /> | |||
<PackageReference Include="Microsoft.ApplicationInsights.DependencyCollector" /> | |||
<PackageReference Include="Microsoft.ApplicationInsights.Kubernetes" /> | |||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" /> | |||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.HealthChecks" /> | |||
<PackageReference Include="Microsoft.AspNetCore.HealthChecks" /> | |||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" /> | |||
<PackageReference Include="Microsoft.Extensions.Logging.AzureAppServices" /> | |||
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" /> | |||
<PackageReference Include="Serilog.AspNetCore" /> | |||
<PackageReference Include="Serilog.Enrichers.Environment" /> | |||
<PackageReference Include="Serilog.Settings.Configuration" /> | |||
<PackageReference Include="Serilog.Sinks.Console" /> | |||
<PackageReference Include="Serilog.Sinks.Http" /> | |||
<PackageReference Include="Serilog.Sinks.Seq" /> | |||
<PackageReference Include="Swashbuckle.AspNetCore" /> | |||
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Protobuf Include="Proto\basket.proto" GrpcServices="Server" Generator="MSBuild:Compile" /> | |||
<Content Include="@(Protobuf)" /> | |||
<None Remove="@(Protobuf)" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Protobuf Include="Proto\basket.proto" GrpcServices="Server" Generator="MSBuild:Compile" /> | |||
<Content Include="@(Protobuf)" /> | |||
<None Remove="@(Protobuf)" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ProjectReference Include="..\..\..\BuildingBlocks\EventBus\EventBusRabbitMQ\EventBusRabbitMQ.csproj" /> | |||
<ProjectReference Include="..\..\..\BuildingBlocks\EventBus\EventBusServiceBus\EventBusServiceBus.csproj" /> | |||
<ProjectReference Include="..\..\..\BuildingBlocks\EventBus\EventBus\EventBus.csproj" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ProjectReference Include="..\..\..\BuildingBlocks\EventBus\EventBusRabbitMQ\EventBusRabbitMQ.csproj" /> | |||
<ProjectReference Include="..\..\..\BuildingBlocks\EventBus\EventBusServiceBus\EventBusServiceBus.csproj" /> | |||
<ProjectReference Include="..\..\..\BuildingBlocks\EventBus\EventBus\EventBus.csproj" /> | |||
</ItemGroup> | |||
</Project> |
@ -1,62 +1,59 @@ | |||
global using Autofac.Extensions.DependencyInjection; | |||
global using Autofac; | |||
global using Azure.Core; | |||
global using Azure.Identity; | |||
global using Basket.API.Infrastructure.ActionResults; | |||
global using Basket.API.Infrastructure.Exceptions; | |||
global using Basket.API.Infrastructure.Filters; | |||
global using Basket.API.Infrastructure.Middlewares; | |||
global using Basket.API.IntegrationEvents.EventHandling; | |||
global using Basket.API.IntegrationEvents.Events; | |||
global using Basket.API.Model; | |||
global using Grpc.Core; | |||
global using GrpcBasket; | |||
global using HealthChecks.UI.Client; | |||
global using Microsoft.AspNetCore.Authentication.JwtBearer; | |||
global using Microsoft.AspNetCore.Authorization; | |||
global using Microsoft.AspNetCore.Builder; | |||
global using Microsoft.AspNetCore.Diagnostics.HealthChecks; | |||
global using Microsoft.AspNetCore.Hosting; | |||
global using Microsoft.AspNetCore.Http.Features; | |||
global using Microsoft.AspNetCore.Http; | |||
global using Microsoft.AspNetCore.Mvc.Authorization; | |||
global using Microsoft.AspNetCore.Mvc.Filters; | |||
global using Microsoft.AspNetCore.Mvc; | |||
global using Microsoft.AspNetCore.Server.Kestrel.Core; | |||
global using Microsoft.AspNetCore; | |||
global using Azure.Messaging.ServiceBus; | |||
global using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Abstractions; | |||
global using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events; | |||
global using Microsoft.eShopOnContainers.BuildingBlocks.EventBus; | |||
global using Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ; | |||
global using Microsoft.eShopOnContainers.BuildingBlocks.EventBusServiceBus; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.Controllers; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.Infrastructure.Repositories; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.IntegrationEvents.EventHandling; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.IntegrationEvents.Events; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.Model; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.Services; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API; | |||
global using Microsoft.Extensions.Configuration; | |||
global using Microsoft.Extensions.DependencyInjection; | |||
global using Microsoft.Extensions.Diagnostics.HealthChecks; | |||
global using Microsoft.Extensions.Hosting; | |||
global using Microsoft.Extensions.Logging; | |||
global using Microsoft.Extensions.Options; | |||
global using Microsoft.OpenApi.Models; | |||
global using RabbitMQ.Client; | |||
global using Serilog.Context; | |||
global using Serilog; | |||
global using StackExchange.Redis; | |||
global using Swashbuckle.AspNetCore.SwaggerGen; | |||
global using System.Collections.Generic; | |||
global using System.ComponentModel.DataAnnotations; | |||
global using System.IdentityModel.Tokens.Jwt; | |||
global using System.IO; | |||
global using System.Linq; | |||
global using System.Net; | |||
global using System.Security.Claims; | |||
global using System.Text.Json; | |||
global using System.Threading.Tasks; | |||
global using System; | |||
global using Microsoft.IdentityModel.Tokens; | |||
global using Autofac.Extensions.DependencyInjection; | |||
global using Autofac; | |||
global using Azure.Core; | |||
global using Azure.Identity; | |||
global using Basket.API.Infrastructure.ActionResults; | |||
global using Basket.API.Infrastructure.Exceptions; | |||
global using Basket.API.Infrastructure.Filters; | |||
global using Basket.API.Infrastructure.Middlewares; | |||
global using Basket.API.IntegrationEvents.EventHandling; | |||
global using Basket.API.IntegrationEvents.Events; | |||
global using Basket.API.Model; | |||
global using Grpc.Core; | |||
global using GrpcBasket; | |||
global using HealthChecks.UI.Client; | |||
global using Microsoft.AspNetCore.Authorization; | |||
global using Microsoft.AspNetCore.Builder; | |||
global using Microsoft.AspNetCore.Diagnostics.HealthChecks; | |||
global using Microsoft.AspNetCore.Hosting; | |||
global using Microsoft.AspNetCore.Http.Features; | |||
global using Microsoft.AspNetCore.Http; | |||
global using Microsoft.AspNetCore.Mvc.Authorization; | |||
global using Microsoft.AspNetCore.Mvc.Filters; | |||
global using Microsoft.AspNetCore.Mvc; | |||
global using Microsoft.AspNetCore.Server.Kestrel.Core; | |||
global using Microsoft.AspNetCore; | |||
global using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Abstractions; | |||
global using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events; | |||
global using Microsoft.eShopOnContainers.BuildingBlocks.EventBus; | |||
global using Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ; | |||
global using Microsoft.eShopOnContainers.BuildingBlocks.EventBusServiceBus; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.Controllers; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.Infrastructure.Repositories; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.IntegrationEvents.EventHandling; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.IntegrationEvents.Events; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.Model; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API.Services; | |||
global using Microsoft.eShopOnContainers.Services.Basket.API; | |||
global using Microsoft.Extensions.Configuration; | |||
global using Microsoft.Extensions.DependencyInjection; | |||
global using Microsoft.Extensions.Diagnostics.HealthChecks; | |||
global using Microsoft.Extensions.Hosting; | |||
global using Microsoft.Extensions.Logging; | |||
global using Microsoft.Extensions.Options; | |||
global using Microsoft.OpenApi.Models; | |||
global using RabbitMQ.Client; | |||
global using Serilog.Context; | |||
global using Serilog; | |||
global using StackExchange.Redis; | |||
global using Swashbuckle.AspNetCore.SwaggerGen; | |||
global using System.Collections.Generic; | |||
global using System.ComponentModel.DataAnnotations; | |||
global using System.IdentityModel.Tokens.Jwt; | |||
global using System.IO; | |||
global using System.Linq; | |||
global using System.Net; | |||
global using System.Security.Claims; | |||
global using System.Text.Json; | |||
global using System.Threading.Tasks; | |||
global using System; |
@ -1,56 +0,0 @@ | |||
kind: helm-release | |||
apiVersion: 1.1 | |||
build: | |||
context: ..\..\..\.. | |||
dockerfile: Dockerfile | |||
install: | |||
chart: ../../../../k8s/helm/basket-api | |||
set: | |||
replicaCount: 1 | |||
image: | |||
tag: $(tag) | |||
pullPolicy: Never | |||
ingress: | |||
annotations: | |||
kubernetes.io/ingress.class: traefik-azds | |||
hosts: | |||
- $(spacePrefix)eshop$(hostSuffix) | |||
inf: | |||
k8s: | |||
dns: $(spacePrefix)eshop$(hostSuffix) | |||
values: | |||
- values.dev.yaml? | |||
- secrets.dev.yaml? | |||
- inf.yaml | |||
- app.yaml | |||
configurations: | |||
develop: | |||
build: | |||
useGitIgnore: true | |||
dockerfile: Dockerfile.develop | |||
args: | |||
BUILD_CONFIGURATION: ${BUILD_CONFIGURATION:-Debug} | |||
container: | |||
sync: | |||
- '**/Pages/**' | |||
- '**/Views/**' | |||
- '**/wwwroot/**' | |||
- '!**/*.{sln,csproj}' | |||
command: | |||
- dotnet | |||
- run | |||
- --no-restore | |||
- --no-build | |||
- --no-launch-profile | |||
- -c | |||
- ${BUILD_CONFIGURATION:-Debug} | |||
iterate: | |||
processesToKill: | |||
- dotnet | |||
- vsdbg | |||
buildCommands: | |||
- - dotnet | |||
- build | |||
- --no-restore | |||
- -c | |||
- ${BUILD_CONFIGURATION:-Debug} |
@ -1,54 +0,0 @@ | |||
kind: helm-release | |||
apiVersion: 1.1 | |||
build: | |||
context: ..\..\..\.. | |||
dockerfile: Dockerfile | |||
install: | |||
chart: ../../../../k8s/helm/catalog-api | |||
set: | |||
image: | |||
tag: $(tag) | |||
pullPolicy: Never | |||
ingress: | |||
annotations: | |||
kubernetes.io/ingress.class: traefik-azds | |||
hosts: | |||
- $(spacePrefix)eshop$(hostSuffix) | |||
inf: | |||
k8s: | |||
dns: $(spacePrefix)eshop$(hostSuffix) | |||
values: | |||
- values.dev.yaml? | |||
- secrets.dev.yaml? | |||
- inf.yaml | |||
- app.yaml | |||
configurations: | |||
develop: | |||
build: | |||
useGitIgnore: true | |||
dockerfile: Dockerfile.develop | |||
container: | |||
syncTarget: /src | |||
sync: | |||
- '**/Pages/**' | |||
- '**/Views/**' | |||
- '**/wwwroot/**' | |||
- '!**/*.{sln,csproj}' | |||
command: | |||
- dotnet | |||
- run | |||
- --no-restore | |||
- --no-build | |||
- --no-launch-profile | |||
- -c | |||
- ${Configuration:-Debug} | |||
iterate: | |||
processesToKill: | |||
- dotnet | |||
- vsdbg | |||
buildCommands: | |||
- - dotnet | |||
- build | |||
- --no-restore | |||
- -c | |||
- ${Configuration:-Debug} |
@ -1,27 +0,0 @@ | |||
namespace Microsoft.eShopOnContainers.Services.Identity.API.Devspaces | |||
{ | |||
using Microsoft.Extensions.Logging; | |||
public class DevspacesRedirectUriValidator : IRedirectUriValidator | |||
{ | |||
private readonly ILogger _logger; | |||
public DevspacesRedirectUriValidator(ILogger<DevspacesRedirectUriValidator> logger) | |||
{ | |||
_logger = logger; | |||
} | |||
public Task<bool> IsPostLogoutRedirectUriValidAsync(string requestedUri, Duende.IdentityServer.Models.Client client) | |||
{ | |||
_logger.LogInformation("Client {ClientName} used post logout uri {RequestedUri}.", client.ClientName, requestedUri); | |||
return Task.FromResult(true); | |||
} | |||
public Task<bool> IsRedirectUriValidAsync(string requestedUri, Duende.IdentityServer.Models.Client client) | |||
{ | |||
_logger.LogInformation("Client {ClientName} used post logout uri {RequestedUri}.", client.ClientName, requestedUri); | |||
return Task.FromResult(true); | |||
} | |||
} | |||
} |
@ -1,14 +0,0 @@ | |||
namespace Microsoft.eShopOnContainers.Services.Identity.API.Devspaces | |||
{ | |||
static class IdentityDevspacesBuilderExtensions | |||
{ | |||
public static IIdentityServerBuilder AddDevspacesIfNeeded(this IIdentityServerBuilder builder, bool useDevspaces) | |||
{ | |||
if (useDevspaces) | |||
{ | |||
builder.AddRedirectUriValidator<DevspacesRedirectUriValidator>(); | |||
} | |||
return builder; | |||
} | |||
} | |||
} |
@ -1,56 +0,0 @@ | |||
kind: helm-release | |||
apiVersion: 1.1 | |||
build: | |||
context: ..\..\..\.. | |||
dockerfile: Dockerfile | |||
install: | |||
chart: ../../../../k8s/helm/identity-api | |||
set: | |||
replicaCount: 1 | |||
image: | |||
tag: $(tag) | |||
pullPolicy: Never | |||
ingress: | |||
annotations: | |||
kubernetes.io/ingress.class: traefik-azds | |||
hosts: | |||
- $(spacePrefix)eshop$(hostSuffix) | |||
inf: | |||
k8s: | |||
dns: $(spacePrefix)eshop$(hostSuffix) | |||
values: | |||
- values.dev.yaml? | |||
- secrets.dev.yaml? | |||
- inf.yaml | |||
- app.yaml | |||
configurations: | |||
develop: | |||
build: | |||
useGitIgnore: true | |||
dockerfile: Dockerfile.develop | |||
args: | |||
BUILD_CONFIGURATION: ${BUILD_CONFIGURATION:-Debug} | |||
container: | |||
sync: | |||
- '**/Pages/**' | |||
- '**/Views/**' | |||
- '**/wwwroot/**' | |||
- '!**/*.{sln,csproj}' | |||
command: | |||
- dotnet | |||
- run | |||
- --no-restore | |||
- --no-build | |||
- --no-launch-profile | |||
- -c | |||
- ${BUILD_CONFIGURATION:-Debug} | |||
iterate: | |||
processesToKill: | |||
- dotnet | |||
- vsdbg | |||
buildCommands: | |||
- - dotnet | |||
- build | |||
- --no-restore | |||
- -c | |||
- ${BUILD_CONFIGURATION:-Debug} |
@ -1 +0,0 @@ | |||
enableDevspaces: "true" |
@ -1,56 +0,0 @@ | |||
kind: helm-release | |||
apiVersion: 1.1 | |||
build: | |||
context: ..\..\..\.. | |||
dockerfile: Dockerfile | |||
install: | |||
chart: ../../../../k8s/helm/ordering-api | |||
set: | |||
replicaCount: 1 | |||
image: | |||
tag: $(tag) | |||
pullPolicy: Never | |||
ingress: | |||
annotations: | |||
kubernetes.io/ingress.class: traefik-azds | |||
hosts: | |||
- $(spacePrefix)eshop$(hostSuffix) | |||
inf: | |||
k8s: | |||
dns: $(spacePrefix)eshop$(hostSuffix) | |||
values: | |||
- values.dev.yaml? | |||
- secrets.dev.yaml? | |||
- inf.yaml | |||
- app.yaml | |||
configurations: | |||
develop: | |||
build: | |||
useGitIgnore: true | |||
dockerfile: Dockerfile.develop | |||
args: | |||
BUILD_CONFIGURATION: ${BUILD_CONFIGURATION:-Debug} | |||
container: | |||
sync: | |||
- '**/Pages/**' | |||
- '**/Views/**' | |||
- '**/wwwroot/**' | |||
- '!**/*.{sln,csproj}' | |||
command: | |||
- dotnet | |||
- run | |||
- --no-restore | |||
- --no-build | |||
- --no-launch-profile | |||
- -c | |||
- ${BUILD_CONFIGURATION:-Debug} | |||
iterate: | |||
processesToKill: | |||
- dotnet | |||
- vsdbg | |||
buildCommands: | |||
- - dotnet | |||
- build | |||
- --no-restore | |||
- -c | |||
- ${BUILD_CONFIGURATION:-Debug} |