Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions src/Services/go-event/O2NextGen.GoEvent.Api.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.32112.339
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "O2NextGen.GoEvent.Api", "O2NextGen.GoEvent.Api\O2NextGen.GoEvent.Api.csproj", "{FFBCB4B3-9F13-4429-8B2B-CFA203EDCC0B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "O2NextGen.GoEvent.Data", "O2NextGen.GoEvent.Data\O2NextGen.GoEvent.Data.csproj", "{128BEE44-DF42-4C1E-A713-C53F714E3467}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "O2NextGen.GoEvent.Business", "O2NextGen.GoEvent.Business\O2NextGen.GoEvent.Business.csproj", "{977A9773-AA5C-4680-B31A-A9802234771F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "O2NextGen.GoEvent.Impl", "O2NextGen.GoEvent.Impl\O2NextGen.GoEvent.Impl.csproj", "{A5DCC75E-2546-454F-84CC-0ABFA5912E29}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{8A20718D-D1D1-4374-BBAC-B19363EBF2C1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.O2NextGen.GoEvent.Api", "Tests\Tests.O2NextGen.GoEvent.Api\Tests.O2NextGen.GoEvent.Api.csproj", "{EDC7EE36-BFDC-4D7C-A0C9-D4DB6B0944F5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.O2NextGen.GoEvent.Data", "Tests\Tests.O2NextGen.GoEvent.Data\Tests.O2NextGen.GoEvent.Data.csproj", "{4E543CCC-7717-4B3A-81D0-12E605E6A6BC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.O2NextGen.GoEvent.Business", "Tests\Tests.O2NextGen.GoEvent.Business\Tests.O2NextGen.GoEvent.Business.csproj", "{6D5B87CC-F843-4808-9DFA-C947970C9F4F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.O2NextGen.GoEvent.Impl", "Tests\Tests.O2NextGen.GoEvent.Impl\Tests.O2NextGen.GoEvent.Impl.csproj", "{21335271-D439-4EE8-B321-7140CDDC3CB9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationTests.O2NextGen.GoEvent.Api", "Tests\IntegrationTests.O2NextGen.GoEvent.Api\IntegrationTests.O2NextGen.GoEvent.Api.csproj", "{C2F2DE5D-D2B9-4BD3-97D7-E9E6E721F06B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FFBCB4B3-9F13-4429-8B2B-CFA203EDCC0B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FFBCB4B3-9F13-4429-8B2B-CFA203EDCC0B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FFBCB4B3-9F13-4429-8B2B-CFA203EDCC0B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FFBCB4B3-9F13-4429-8B2B-CFA203EDCC0B}.Release|Any CPU.Build.0 = Release|Any CPU
{128BEE44-DF42-4C1E-A713-C53F714E3467}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{128BEE44-DF42-4C1E-A713-C53F714E3467}.Debug|Any CPU.Build.0 = Debug|Any CPU
{128BEE44-DF42-4C1E-A713-C53F714E3467}.Release|Any CPU.ActiveCfg = Release|Any CPU
{128BEE44-DF42-4C1E-A713-C53F714E3467}.Release|Any CPU.Build.0 = Release|Any CPU
{977A9773-AA5C-4680-B31A-A9802234771F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{977A9773-AA5C-4680-B31A-A9802234771F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{977A9773-AA5C-4680-B31A-A9802234771F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{977A9773-AA5C-4680-B31A-A9802234771F}.Release|Any CPU.Build.0 = Release|Any CPU
{A5DCC75E-2546-454F-84CC-0ABFA5912E29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A5DCC75E-2546-454F-84CC-0ABFA5912E29}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A5DCC75E-2546-454F-84CC-0ABFA5912E29}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A5DCC75E-2546-454F-84CC-0ABFA5912E29}.Release|Any CPU.Build.0 = Release|Any CPU
{EDC7EE36-BFDC-4D7C-A0C9-D4DB6B0944F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EDC7EE36-BFDC-4D7C-A0C9-D4DB6B0944F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EDC7EE36-BFDC-4D7C-A0C9-D4DB6B0944F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EDC7EE36-BFDC-4D7C-A0C9-D4DB6B0944F5}.Release|Any CPU.Build.0 = Release|Any CPU
{4E543CCC-7717-4B3A-81D0-12E605E6A6BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4E543CCC-7717-4B3A-81D0-12E605E6A6BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4E543CCC-7717-4B3A-81D0-12E605E6A6BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4E543CCC-7717-4B3A-81D0-12E605E6A6BC}.Release|Any CPU.Build.0 = Release|Any CPU
{6D5B87CC-F843-4808-9DFA-C947970C9F4F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6D5B87CC-F843-4808-9DFA-C947970C9F4F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6D5B87CC-F843-4808-9DFA-C947970C9F4F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6D5B87CC-F843-4808-9DFA-C947970C9F4F}.Release|Any CPU.Build.0 = Release|Any CPU
{21335271-D439-4EE8-B321-7140CDDC3CB9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{21335271-D439-4EE8-B321-7140CDDC3CB9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{21335271-D439-4EE8-B321-7140CDDC3CB9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{21335271-D439-4EE8-B321-7140CDDC3CB9}.Release|Any CPU.Build.0 = Release|Any CPU
{C2F2DE5D-D2B9-4BD3-97D7-E9E6E721F06B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C2F2DE5D-D2B9-4BD3-97D7-E9E6E721F06B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C2F2DE5D-D2B9-4BD3-97D7-E9E6E721F06B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C2F2DE5D-D2B9-4BD3-97D7-E9E6E721F06B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{EDC7EE36-BFDC-4D7C-A0C9-D4DB6B0944F5} = {8A20718D-D1D1-4374-BBAC-B19363EBF2C1}
{4E543CCC-7717-4B3A-81D0-12E605E6A6BC} = {8A20718D-D1D1-4374-BBAC-B19363EBF2C1}
{6D5B87CC-F843-4808-9DFA-C947970C9F4F} = {8A20718D-D1D1-4374-BBAC-B19363EBF2C1}
{21335271-D439-4EE8-B321-7140CDDC3CB9} = {8A20718D-D1D1-4374-BBAC-B19363EBF2C1}
{C2F2DE5D-D2B9-4BD3-97D7-E9E6E721F06B} = {8A20718D-D1D1-4374-BBAC-B19363EBF2C1}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {CE580401-4E4D-4937-BEBC-2503D25E0EEC}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;

namespace O2NextGen.GoEvent.Api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ValuesController : ControllerBase
{
// GET api/values
[HttpGet]
public ActionResult<IEnumerable<string>> Get()
{
return new string[] { "value1", "value2" };
}

// GET api/values/5
[HttpGet("{id}")]
public ActionResult<string> Get(int id)
{
return "value";
}

// POST api/values
[HttpPost]
public void Post([FromBody] string value)
{
}

// PUT api/values/5
[HttpPut("{id}")]
public void Put(int id, [FromBody] string value)
{
}

// DELETE api/values/5
[HttpDelete("{id}")]
public void Delete(int id)
{
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>

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

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
</ItemGroup>

</Project>
17 changes: 17 additions & 0 deletions src/Services/go-event/O2NextGen.GoEvent.Api/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;

namespace O2NextGen.GoEvent.Api
{
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
}

public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:24236",
"sslPort": 44335
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "api/values",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"O2NextGen.GoEvent.Api": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "api/values",
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
40 changes: 40 additions & 0 deletions src/Services/go-event/O2NextGen.GoEvent.Api/Startup.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;

namespace O2NextGen.GoEvent.Api
{
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}

public IConfiguration Configuration { get; }

// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
}

// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
else
{
app.UseHsts();
}

app.UseHttpsRedirection();
app.UseMvc();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
}
}
8 changes: 8 additions & 0 deletions src/Services/go-event/O2NextGen.GoEvent.Api/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*"
}
6 changes: 6 additions & 0 deletions src/Services/go-event/O2NextGen.GoEvent.Business/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace O2NextGen.GoEvent.Business
{
public class Class1
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>

</Project>
6 changes: 6 additions & 0 deletions src/Services/go-event/O2NextGen.GoEvent.Data/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace O2NextGen.GoEvent.Data
{
public class Class1
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>

</Project>
6 changes: 6 additions & 0 deletions src/Services/go-event/O2NextGen.GoEvent.Impl/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace O2NextGen.GoEvent.Impl
{
public class Class1
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>

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

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using Xunit;

namespace IntegrationTests.O2NextGen.GoEvent.Api
{
public class UnitTest1
{
[Fact]
public void Test1()
{

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

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
<PackageReference Include="coverlet.collector" Version="3.1.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using NUnit.Framework;

namespace Tests.O2NextGen.GoEvent.Api
{
public class Tests
{
[SetUp]
public void Setup()
{
}

[Test]
public void Test1()
{
Assert.Pass();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
<PackageReference Include="coverlet.collector" Version="3.1.0" />
</ItemGroup>

</Project>
Loading