Skip to content

Commit

Permalink
Merge pull request #33 from buildersoftdev/v3/main
Browse files Browse the repository at this point in the history
V3/main
  • Loading branch information
eneshoxha authored Nov 22, 2022
2 parents bcfb0db + 325c423 commit 9001680
Show file tree
Hide file tree
Showing 128 changed files with 2,443 additions and 2,421 deletions.
25 changes: 0 additions & 25 deletions .dockerignore

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/dotnet.yml

This file was deleted.

31 changes: 31 additions & 0 deletions Andy.X.Client.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32804.467
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Andy.X.Client", "src\Andy.X.Client\Andy.X.Client.csproj", "{5D4C1C4B-1A71-4C4C-BBFE-D67E91E8AB10}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Andy.X.Client.Extensions.DependencyInjection", "src\Andy.X.Client.Extensions.DependencyInjection\Andy.X.Client.Extensions.DependencyInjection.csproj", "{A96A1988-9ABC-45BC-B643-A259807821D1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5D4C1C4B-1A71-4C4C-BBFE-D67E91E8AB10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5D4C1C4B-1A71-4C4C-BBFE-D67E91E8AB10}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5D4C1C4B-1A71-4C4C-BBFE-D67E91E8AB10}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5D4C1C4B-1A71-4C4C-BBFE-D67E91E8AB10}.Release|Any CPU.Build.0 = Release|Any CPU
{A96A1988-9ABC-45BC-B643-A259807821D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A96A1988-9ABC-45BC-B643-A259807821D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A96A1988-9ABC-45BC-B643-A259807821D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A96A1988-9ABC-45BC-B643-A259807821D1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D1632860-7F16-417F-B5D8-67F265E250C4}
EndGlobalSection
EndGlobal
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<p align="center">
<img src="https://user-images.githubusercontent.com/10813728/202870468-20d05267-a8e6-4f93-a579-f249b8bd1268.png" alt="Andy X Logo"/>
</p>

What is Andy X Client?
============
Andy X is an open-source distributed streaming platform designed to deliver the best performance possible for high-performance data pipelines, streaming analytics, streaming between microservices and data integrations.
Expand All @@ -16,7 +20,7 @@ and make pull-requests.

## Reporting security issues and bugs

Security issues and bugs should be reported privately, via email, [email protected]. You should receive a response within 24 hours.
Security issues and bugs should be reported privately, via email, [email protected]. You should receive a response within 24 hours.

## Related projects

Expand Down
36 changes: 0 additions & 36 deletions docs/General/1 Welcome.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/Tenants/1 Tenants.md

This file was deleted.

25 changes: 0 additions & 25 deletions examples/andyx-examples.sln

This file was deleted.

9 changes: 0 additions & 9 deletions examples/andyx-examples/Models/SimpleMessage.cs

This file was deleted.

23 changes: 0 additions & 23 deletions examples/andyx-examples/Program.cs

This file was deleted.

43 changes: 0 additions & 43 deletions examples/andyx-examples/SimpleConsumer.cs

This file was deleted.

33 changes: 0 additions & 33 deletions examples/andyx-examples/SimpleProducer.cs

This file was deleted.

13 changes: 0 additions & 13 deletions examples/andyx-examples/andyx-examples.csproj

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;net5;netcoreapp3.1;netstandard2.1</TargetFrameworks>
<AssemblyVersion>3.0.0</AssemblyVersion>
<FileVersion>3.0.0</FileVersion>
<Product>Buildersoft Andy X</Product>
<Company>Buildersoft</Company>
<Authors>Buildersoft</Authors>
<Copyright>Copyright © Buildersoft 2022</Copyright>

<Description>
Andy X Client extensions for ASP.NET Core
</Description>

<RepositoryUrl>https://github.com/buildersoftdev/andyxclient</RepositoryUrl>
<PackageTags>andyx eda streaming distributed</PackageTags>

<Version>3.0.0</Version>
<PackageLicenseFile>license.md</PackageLicenseFile>
<PackageIcon>andyX.png</PackageIcon>
<PackageId>Andy.X.Client.Extensions.Microsoft.DependencyInjection</PackageId>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<IsPublishable>True</IsPublishable>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<RepositoryType></RepositoryType>
<PackageProjectUrl>https://buildersoftdev.azurewebsites.net/andyx</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Andy.X.Client\Andy.X.Client.csproj" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="Assets\andyX.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="Assets\license.md">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<Folder Include="Assets\" />
</ItemGroup>

</Project>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using Andy.X.Client.Builders;
using Andy.X.Client.Configurations;
using Microsoft.Extensions.DependencyInjection;
using System;

namespace Andy.X.Client.Extensions.DependencyInjection
{
public static class ConsumerDependencyInjectionExtensions
{
public static IServiceCollection AddConsumerBuilder<K, V>(this IServiceCollection services, Action<ConsumerConfiguration> configuration)
{
ConsumerConfiguration ConsumerConfiguration = new ConsumerConfiguration();
configuration.Invoke(ConsumerConfiguration);

var builder = new ConsumerBuilder<K, V>(ConsumerConfiguration);

return services.AddSingleton<ConsumerBuilder<K, V>>(builder);
}
}
}
Loading

0 comments on commit 9001680

Please sign in to comment.