Browse Source

Remove obsolete folders

dotnet3-migration/reorganize-folders
Miguel Veloso 5 years ago
parent
commit
6ab89ae608
10 changed files with 0 additions and 281 deletions
  1. +0
    -17
      src/Clients/Clients.Grpc.Caller/Clients.Grpc.Caller.csproj
  2. +0
    -50
      src/Clients/Clients.Grpc.Caller/Program.cs
  3. +0
    -34
      src/Clients/Clients.Grpc.Caller/Protos/basket.proto
  4. +0
    -3
      src/Directory.Build.props
  5. +0
    -1
      src/_build/ReadMe.md
  6. +0
    -129
      src/_build/dependencies.props
  7. +0
    -34
      src/csproj-files.txt
  8. +0
    -11
      src/package-lock.json
  9. +0
    -1
      src/scripts/restore-packages
  10. +0
    -1
      src/scripts/restore-packages.cmd

+ 0
- 17
src/Clients/Clients.Grpc.Caller/Clients.Grpc.Caller.csproj View File

@ -1,17 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.9.1" />
<PackageReference Include="Grpc.Net.Client" Version="0.1.22-pre3" />
<PackageReference Include="Grpc.Tools" Version="2.23.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<Protobuf Include="Protos\basket.proto" GrpcServices="Client" />
</ItemGroup>
</Project>

+ 0
- 50
src/Clients/Clients.Grpc.Caller/Program.cs View File

@ -1,50 +0,0 @@
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Grpc.Core;
using Grpc.Net.Client;
using GrpcBasket;
namespace Clients.Grpc.Caller
{
class Program
{
static async Task Main(string[] args)
{
Console.WriteLine("Starting...");
AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport", true);
AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2Support", true);
using (var httpClientHandler = new HttpClientHandler())
{
httpClientHandler.ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => { return true; };
using (var httpClient = new HttpClient(httpClientHandler))
{
// Make your request...
// var httpClient = new HttpClient();
// The port number(5001) must match the port of the gRPC server.
//httpClient.BaseAddress = new Uri("http://localhost:5103");
httpClient.BaseAddress = new Uri("http://localhost:5580");
//httpClient.DefaultRequestVersion = Version.Parse("2.0");
var client = GrpcClient.Create<Basket.BasketClient>(httpClient);
try
{
var reply = await client.GetBasketByIdAsync(
new BasketRequest { Id = "4f71a02f-4738-43a9-8c81-7652877e7102" });
Console.WriteLine("Greeting: " + reply.Buyerid);
Console.WriteLine("Greeting: " + reply.Items);
}
//catch(Grpc)
catch (RpcException e)
{
Console.WriteLine($"Error calling via grpc: {e.Status} - {e.Message}");
}
Console.WriteLine("Press any key to exit...");
Console.ReadKey();
}
}
}
}
}

+ 0
- 34
src/Clients/Clients.Grpc.Caller/Protos/basket.proto View File

@ -1,34 +0,0 @@
syntax = "proto3";
option csharp_namespace = "GrpcBasket";
package BasketApi;
service Basket {
rpc GetBasketById(BasketRequest) returns (CustomerBasketResponse);
rpc UpdateBasket(CustomerBasketRequest) returns (CustomerBasketResponse);
}
message BasketRequest {
string id = 1;
}
message CustomerBasketRequest {
string buyerid = 1;
repeated BasketItemResponse items = 2;
}
message CustomerBasketResponse {
string buyerid = 1;
repeated BasketItemResponse items = 2;
}
message BasketItemResponse {
string id = 1;
int32 productid = 2;
string productname = 3;
double unitprice = 4;
double oldunitprice = 5;
int32 quantity = 6;
string pictureurl = 7;
}

+ 0
- 3
src/Directory.Build.props View File

@ -1,3 +0,0 @@
<Project>
<Import Project="_build/dependencies.props" />
</Project>

+ 0
- 1
src/_build/ReadMe.md View File

@ -1 +0,0 @@
`Please define why we are using this here.`

+ 0
- 129
src/_build/dependencies.props View File

@ -1,129 +0,0 @@
<Project>
<PropertyGroup Label="SDK Versions">
<NetStandardTargetVersion>netstandard2.1</NetStandardTargetVersion>
<NetCoreTargetVersion>netcoreapp3.0</NetCoreTargetVersion>
<MicrosoftNETTestSdkPackageVersion>15.8.0</MicrosoftNETTestSdkPackageVersion>
<LangVersion>preview</LangVersion>
</PropertyGroup>
<PropertyGroup Label="Package Versions">
<MicrosoftExtensionsDependencyInjectionAbstractionsVersion>2.1.1</MicrosoftExtensionsDependencyInjectionAbstractionsVersion>
<MicrosoftExtensionsHostingVersion>2.1.1</MicrosoftExtensionsHostingVersion>
</PropertyGroup>
<PropertyGroup Label="CLI Tools Versions">
<BundlerMinifier_Core>2.9.406</BundlerMinifier_Core>
</PropertyGroup>
<PropertyGroup Label="Package Versions">
<Grpc_AspNetCore_Server>0.1.22-pre3</Grpc_AspNetCore_Server>
<Grpc_Net_Client>0.1.22-pre3</Grpc_Net_Client>
<Google_Protobuf>3.9.1</Google_Protobuf>
<Grpc_Core>1.22.0</Grpc_Core>
<Grpc_Tools>2.23.0</Grpc_Tools>
<Grpc_AspNetCore_Server_ClientFactory>0.1.22-pre2</Grpc_AspNetCore_Server_ClientFactory>
<AspNetCore_HealthChecks_AzureServiceBus>2.2.0</AspNetCore_HealthChecks_AzureServiceBus>
<AspNetCore_HealthChecks_AzureStorage>2.2.0</AspNetCore_HealthChecks_AzureStorage>
<AspNetCore_HealthChecks_MongoDb>2.2.0</AspNetCore_HealthChecks_MongoDb>
<AspNetCore_HealthChecks_Rabbitmq>2.2.0</AspNetCore_HealthChecks_Rabbitmq>
<AspNetCore_HealthChecks_Redis>2.2.0</AspNetCore_HealthChecks_Redis>
<AspNetCore_HealthChecks_SqlServer>2.2.0</AspNetCore_HealthChecks_SqlServer>
<AspNetCore_HealthChecks_UI_Client>2.2.3</AspNetCore_HealthChecks_UI_Client>
<AspNetCore_HealthChecks_UI>2.2.22</AspNetCore_HealthChecks_UI>
<AspNetCore_HealthChecks_Uris>2.2.2</AspNetCore_HealthChecks_Uris>
<Autofac_Extensions_DependencyInjection>4.2.1</Autofac_Extensions_DependencyInjection>
<Autofac>4.9.2</Autofac>
<BuildBundlerMinifier>2.6.375</BuildBundlerMinifier>
<Dapper>1.50.7</Dapper>
<FluentValidation_AspNetCore>7.5.0</FluentValidation_AspNetCore>
<IdentityServer4_AspNetIdentity>3.0.0-preview3.4</IdentityServer4_AspNetIdentity>
<IdentityServer4_EntityFramework_Storage>3.0.0-preview3.4</IdentityServer4_EntityFramework_Storage>
<IdentityServer4_EntityFramework>3.0.0-preview3.4</IdentityServer4_EntityFramework>
<IdentityServer4_Storage>3.0.0-preview3.4</IdentityServer4_Storage>
<IdentityServer4>3.0.0-preview3.4</IdentityServer4>
<MediatR_Extensions_Microsoft_DependencyInjection>5.1.0</MediatR_Extensions_Microsoft_DependencyInjection>
<MediatR>5.1.0</MediatR>
<Microsoft_ApplicationInsights_AspNetCore>2.2.1</Microsoft_ApplicationInsights_AspNetCore>
<Microsoft_ApplicationInsights_DependencyCollector>2.6.1</Microsoft_ApplicationInsights_DependencyCollector>
<Microsoft_ApplicationInsights_Kubernetes>1.0.2</Microsoft_ApplicationInsights_Kubernetes>
<Microsoft_AspNet_WebApi_Client>5.2.7</Microsoft_AspNet_WebApi_Client>
<Microsoft_AspNetCore_App>3.0.0-preview8.19405.7</Microsoft_AspNetCore_App>
<Microsoft_AspNetCore_Authentication_JwtBearer>3.0.0-preview8.19405.7</Microsoft_AspNetCore_Authentication_JwtBearer>
<Microsoft_AspNetCore_Authentication_OpenIdConnect>3.0.0-preview8.19405.7</Microsoft_AspNetCore_Authentication_OpenIdConnect>
<Microsoft_AspNetCore_Authentication>3.0.0-preview4-19123-01</Microsoft_AspNetCore_Authentication>
<Microsoft_AspNetCore_Authorization>3.0.0-preview4-19123-01</Microsoft_AspNetCore_Authorization>
<Microsoft_AspNetCore_DataProtection_Redis>2.2.0-preview2-35157</Microsoft_AspNetCore_DataProtection_Redis>
<Microsoft_AspNetCore_Diagnostics_EntityFrameworkCore>3.0.0-preview8.19405.7</Microsoft_AspNetCore_Diagnostics_EntityFrameworkCore>
<Microsoft_AspNetCore_Diagnostics_HealthChecks>2.2.0</Microsoft_AspNetCore_Diagnostics_HealthChecks>
<Microsoft_AspNetCore_HealthChecks>1.0.0</Microsoft_AspNetCore_HealthChecks>
<Microsoft_AspNetCore_Hosting_Abstractions>3.0.0-preview4-19123-01</Microsoft_AspNetCore_Hosting_Abstractions>
<Microsoft_AspNetCore_Http_Abstractions_3_0>3.0.0-preview4-19123-01</Microsoft_AspNetCore_Http_Abstractions_3_0>
<Microsoft_AspNetCore_Http_Abstractions>2.2.0</Microsoft_AspNetCore_Http_Abstractions>
<Microsoft_AspNetCore_Identity_EntityFrameworkCore>3.0.0-preview8.19405.7</Microsoft_AspNetCore_Identity_EntityFrameworkCore>
<Microsoft_AspNetCore_Mvc_Core>3.0.0-preview4-19123-01</Microsoft_AspNetCore_Mvc_Core>
<Microsoft_AspNetCore_Mvc_Formatters_Json>3.0.0-preview4-19123-01</Microsoft_AspNetCore_Mvc_Formatters_Json>
<Microsoft_AspNetCore_Mvc_NewtonsoftJson>3.0.0-preview8.19405.7</Microsoft_AspNetCore_Mvc_NewtonsoftJson>
<Microsoft_AspNetCore_Mvc_Testing>3.0.0-preview6.19307.2</Microsoft_AspNetCore_Mvc_Testing>
<Microsoft_AspNetCore_Mvc_ViewFeatures>3.0.0-preview4-19123-01</Microsoft_AspNetCore_Mvc_ViewFeatures>
<Microsoft_AspNetCore_Razor_Design>3.0.0-alpha1-10670</Microsoft_AspNetCore_Razor_Design>
<Microsoft_AspNetCore_SignalR_Redis>3.0.0-alpha1-34847</Microsoft_AspNetCore_SignalR_Redis>
<Microsoft_AspNetCore_TestHost>3.0.0-preview8.19405.7</Microsoft_AspNetCore_TestHost>
<Microsoft_Azure_ServiceBus>3.0.0</Microsoft_Azure_ServiceBus>
<Microsoft_Build_Utilities_Core>15.9.20</Microsoft_Build_Utilities_Core>
<Microsoft_CSharp>4.5.0</Microsoft_CSharp>
<Microsoft_EntityFrameworkCore_Design_preview5>3.0.0-preview5.19227.1</Microsoft_EntityFrameworkCore_Design_preview5>
<Microsoft_EntityFrameworkCore_Design>3.0.0-preview8.19405.11</Microsoft_EntityFrameworkCore_Design>
<Microsoft_EntityFrameworkCore_Relational_preview5>3.0.0-preview5.19227.1</Microsoft_EntityFrameworkCore_Relational_preview5>
<Microsoft_EntityFrameworkCore_Relational>3.0.0-preview8.19405.11</Microsoft_EntityFrameworkCore_Relational>
<Microsoft_EntityFrameworkCore_SqlServer_preview5>3.0.0-preview5.19227.1</Microsoft_EntityFrameworkCore_SqlServer_preview5>
<Microsoft_EntityFrameworkCore_SqlServer>3.0.0-preview8.19405.11</Microsoft_EntityFrameworkCore_SqlServer>
<Microsoft_EntityFrameworkCore>3.0.0-preview8.19405.11</Microsoft_EntityFrameworkCore>
<Microsoft_Extensions_Configuration_AzureKeyVault>3.0.0-preview8.19405.4</Microsoft_Extensions_Configuration_AzureKeyVault>
<Microsoft_Extensions_DependencyInjection_Abstractions>2.2.0</Microsoft_Extensions_DependencyInjection_Abstractions>
<Microsoft_Extensions_Diagnostics_HealthChecks>2.2.0</Microsoft_Extensions_Diagnostics_HealthChecks>
<Microsoft_Extensions_Hosting>3.0.0-preview8.19405.4</Microsoft_Extensions_Hosting>
<Microsoft_Extensions_Http_Polly>2.2.0</Microsoft_Extensions_Http_Polly>
<Microsoft_Extensions_Http>2.2.0</Microsoft_Extensions_Http>
<Microsoft_Extensions_Identity_Stores>3.0.0-preview8.19405.7</Microsoft_Extensions_Identity_Stores>
<Microsoft_Extensions_Logging_AzureAppServices>3.0.0-preview8.19405.4</Microsoft_Extensions_Logging_AzureAppServices>
<Microsoft_Extensions_Logging>2.2.0</Microsoft_Extensions_Logging>
<Microsoft_NET_Test_Sdk>16.0.1</Microsoft_NET_Test_Sdk>
<Microsoft_NETCore_Platforms>3.0.0-preview8.19405.3</Microsoft_NETCore_Platforms>
<Microsoft_VisualStudio_Azure_Containers_Tools_Targets>1.0.2105168</Microsoft_VisualStudio_Azure_Containers_Tools_Targets>
<Microsoft_VisualStudio_Azure_Containers_Tools_Targets>1.7.9</Microsoft_VisualStudio_Azure_Containers_Tools_Targets>
<Microsoft_VisualStudio_Web_CodeGeneration_Design>3.0.0-preview6-19319-03</Microsoft_VisualStudio_Web_CodeGeneration_Design>
<Microsoft_Web_LibraryManager_Build>1.0.172</Microsoft_Web_LibraryManager_Build>
<MongoDB_Bson>2.9.0-beta2</MongoDB_Bson>
<MongoDB_Driver_Core>2.9.0-beta2</MongoDB_Driver_Core>
<MongoDB_Driver>2.9.0-beta2</MongoDB_Driver>
<Moq>4.10.1</Moq>
<Newtonsoft_Json>12.0.2</Newtonsoft_Json>
<Ocelot>12.0.1</Ocelot>
<Polly>6.0.1</Polly>
<RabbitMQ_Client>5.0.1</RabbitMQ_Client>
<Serilog_AspNetCore>3.0.0-dev-00053</Serilog_AspNetCore>
<Serilog_Enrichers_Environment>2.1.3 </Serilog_Enrichers_Environment>
<Serilog_Settings_Configuration>3.1.1-dev-00209</Serilog_Settings_Configuration>
<Serilog_Sinks_Console>3.1.1</Serilog_Sinks_Console>
<Serilog_Sinks_Http>4.2.1</Serilog_Sinks_Http>
<Serilog_Sinks_Seq>4.0.0</Serilog_Sinks_Seq>
<StackExchange_Redis_StrongName>1.2.6</StackExchange_Redis_StrongName>
<Swashbuckle_AspNetCore>5.0.0-rc2</Swashbuckle_AspNetCore>
<System_Data_SqlClient>4.7.0-preview8.19405.3</System_Data_SqlClient>
<System_IO_Compression_ZipFile>4.3.0</System_IO_Compression_ZipFile>
<System_Reflection_TypeExtensions>4.5.1</System_Reflection_TypeExtensions>
<System_Reflection>4.3.0</System_Reflection>
<System_ValueTuple>4.5.0</System_ValueTuple>
<xunit_runner_visualstudio>2.4.0</xunit_runner_visualstudio>
<xunit>2.4.0</xunit>
</PropertyGroup>
<PropertyGroup Label="Package information">
<PackageLicenseUrl>https://github.com/dotnet-architecture/eShopOnContainers/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/dotnet-architecture/eShopOnContainers</PackageProjectUrl>
<RepositoryUrl>https://github.com/dotnet-architecture/eShopOnContainers</RepositoryUrl>
<Authors>Microsoft</Authors>
</PropertyGroup>
</Project>

+ 0
- 34
src/csproj-files.txt View File

@ -1,34 +0,0 @@
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
COPY src/BuildingBlocks/EventBus/CommandBus/*.csproj /src/src/BuildingBlocks/EventBus/CommandBus/
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
COPY src/BuildingBlocks/EventBus/EventBus.Tests/*.csproj /src/src/BuildingBlocks/EventBus/EventBus.Tests/
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
COPY src/Services/Basket/Basket.FunctionalTests/*.csproj /src/src/Services/Basket/Basket.FunctionalTests/
COPY src/Services/Basket/Basket.UnitTests/*.csproj /src/src/Services/Basket/Basket.UnitTests/
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
COPY src/Services/Catalog/Catalog.FunctionalTests/*.csproj /src/src/Services/Catalog/Catalog.FunctionalTests/
COPY src/Services/Catalog/Catalog.UnitTests/*.csproj /src/src/Services/Catalog/Catalog.UnitTests/
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
COPY src/Services/Location/Locations.FunctionalTests/*.csproj /src/src/Services/Location/Locations.FunctionalTests/
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
COPY src/Services/Marketing/Marketing.FunctionalTests/*.csproj /src/src/Services/Marketing/Marketing.FunctionalTests/
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
COPY src/Services/Ordering/Ordering.FunctionalTests/*.csproj /src/src/Services/Ordering/Ordering.FunctionalTests/
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
COPY src/Services/Ordering/Ordering.UnitTests/*.csproj /src/src/Services/Ordering/Ordering.UnitTests/
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/

+ 0
- 11
src/package-lock.json View File

@ -1,11 +0,0 @@
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"@aspnet/signalr": {
"version": "1.0.0-preview1-update1",
"resolved": "https://registry.npmjs.org/@aspnet/signalr/-/signalr-1.0.0-preview1-update1.tgz",
"integrity": "sha512-TGFCoLa2svN37Ew5ue0kGFxbkmQzq2I9N5TMLFBWRrpTYF4txlE3yPX0EaPt/NToKBaK1A+VK8Q+1MGSYtnqUw=="
}
}
}

+ 0
- 1
src/scripts/restore-packages View File

@ -1 +0,0 @@
echo RESTORING ALL PACKAGES...; for f in /src/csproj-files/*.csproj; do dotnet restore $f; done

+ 0
- 1
src/scripts/restore-packages.cmd View File

@ -1 +0,0 @@
for %%p in (csproj-files\*.csproj) do dotnet restore %%p

Loading…
Cancel
Save