diff --git a/GameMicroServer.sln b/APIGateway.sln similarity index 86% rename from GameMicroServer.sln rename to APIGateway.sln index 01da97b..c10c64a 100644 --- a/GameMicroServer.sln +++ b/APIGateway.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.7.34221.43 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GameMicroServer", "GameMicroServer\GameMicroServer.csproj", "{C8787DE3-73A1-4FA9-BC23-865FCF0560AF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "APIGateway", "APIGateway\APIGateway.csproj", "{C8787DE3-73A1-4FA9-BC23-865FCF0560AF}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/GameMicroServer/GameMicroServer.csproj b/APIGateway/APIGateway.csproj similarity index 100% rename from GameMicroServer/GameMicroServer.csproj rename to APIGateway/APIGateway.csproj diff --git a/GameMicroServer/Controllers/microController.cs b/APIGateway/Controllers/GatewayController.cs similarity index 93% rename from GameMicroServer/Controllers/microController.cs rename to APIGateway/Controllers/GatewayController.cs index 931e493..0a13ef3 100644 --- a/GameMicroServer/Controllers/microController.cs +++ b/APIGateway/Controllers/GatewayController.cs @@ -8,11 +8,11 @@ using Microsoft.Extensions.Caching.Distributed; using System.Text.Json; -namespace Micro +namespace Gateway { [ApiController] [Route("[controller]")] - public class MicroController : ControllerBase + public class GatewayController : ControllerBase { private static readonly List TheInfo = new List { @@ -54,9 +54,9 @@ public class MicroController : ControllerBase }; - private readonly ILogger _logger; + private readonly ILogger _logger; - public MicroController(ILogger logger) + public GatewayController(ILogger logger) { _logger = logger; } diff --git a/GameMicroServer/Dockerfile b/APIGateway/Dockerfile similarity index 100% rename from GameMicroServer/Dockerfile rename to APIGateway/Dockerfile diff --git a/GameMicroServer/GameInfo.cs b/APIGateway/GameInfo.cs similarity index 94% rename from GameMicroServer/GameInfo.cs rename to APIGateway/GameInfo.cs index 8732214..c3110d3 100644 --- a/GameMicroServer/GameInfo.cs +++ b/APIGateway/GameInfo.cs @@ -1,4 +1,4 @@ -namespace Micro +namespace Gateway { public class GameInfo { diff --git a/GameMicroServer/Program.cs b/APIGateway/Program.cs similarity index 100% rename from GameMicroServer/Program.cs rename to APIGateway/Program.cs diff --git a/GameMicroServer/Properties/launchSettings.json b/APIGateway/Properties/launchSettings.json similarity index 97% rename from GameMicroServer/Properties/launchSettings.json rename to APIGateway/Properties/launchSettings.json index fdaca06..e7be61f 100644 --- a/GameMicroServer/Properties/launchSettings.json +++ b/APIGateway/Properties/launchSettings.json @@ -1,6 +1,6 @@ { "profiles": { - "GameMicroServer": { + "APIGateway": { "commandName": "Project", "launchBrowser": true, "launchUrl": "swagger", diff --git a/GameMicroServer/appsettings.Development.json b/APIGateway/appsettings.Development.json similarity index 100% rename from GameMicroServer/appsettings.Development.json rename to APIGateway/appsettings.Development.json diff --git a/GameMicroServer/appsettings.json b/APIGateway/appsettings.json similarity index 100% rename from GameMicroServer/appsettings.json rename to APIGateway/appsettings.json