From a1f996e508e9595d558864bdb9c8dd9164c0dd94 Mon Sep 17 00:00:00 2001 From: Lucas Morgan Date: Wed, 9 Nov 2022 09:11:25 -0600 Subject: [PATCH] Rename folder from Shogi.Sockets to Shogi.Api --- .../.config/dotnet-tools.json | 0 .../Controllers/SessionController.cs | 0 .../Controllers/UserController.cs | 0 .../ExampleAnonymousSessionMiddleware.cs | 0 .../Extensions/Extensions.cs | 0 .../Extensions/LogMiddleware.cs | 0 .../Extensions/WebSocketExtensions.cs | 0 {Shogi.Sockets => Shogi.Api}/Managers/ModelMapper.cs | 0 .../Managers/SocketConnectionManager.cs | 0 .../Managers/SocketTokenCache.cs | 0 {Shogi.Sockets => Shogi.Api}/Models/User.cs | 0 .../Models/WhichLoginPlatform.cs | 0 {Shogi.Sockets => Shogi.Api}/Program.cs | 0 .../Properties/PublishProfiles/FolderProfile.pubxml | 0 .../ServiceDependencies/local/secrets1.arm.json | 0 .../Properties/launchSettings.json | 0 .../Properties/serviceDependencies.json | 0 .../Properties/serviceDependencies.local.json | 0 {Shogi.Sockets => Shogi.Api}/Readme.md | 0 .../Repositories/CouchModels/BoardStateDocument.cs | 0 .../Repositories/CouchModels/CouchCreatedResult.cs | 0 .../Repositories/CouchModels/CouchDocument.cs | 0 .../Repositories/CouchModels/CouchFindResult.cs | 0 .../Repositories/CouchModels/CouchViewResult.cs | 0 .../Repositories/CouchModels/Move.cs | 0 .../Repositories/CouchModels/Piece.cs | 0 .../Repositories/CouchModels/SessionDocument.cs | 0 .../Repositories/CouchModels/UserDocument.cs | 0 .../Repositories/CouchModels/WhichDocumentType.cs | 0 .../Repositories/Dto/BoardStateDto.cs | 0 .../Repositories/Dto/SessionDto.cs | 0 .../Repositories/GameboardRepository.cs | 0 .../Repositories/QueryRepository.cs | 0 .../Repositories/SessionRepository.cs | 0 .../Repositories/UserRepository.cs | 0 .../Services/SocketService.cs | 0 {Shogi.Sockets => Shogi.Api}/Shogi.Api.csproj | 0 .../ShogiUserClaimsTransformer.cs | 0 .../appsettings.Development.json | 0 {Shogi.Sockets => Shogi.Api}/appsettings.json | 0 Shogi.sln | 12 ++++++------ 41 files changed, 6 insertions(+), 6 deletions(-) rename {Shogi.Sockets => Shogi.Api}/.config/dotnet-tools.json (100%) rename {Shogi.Sockets => Shogi.Api}/Controllers/SessionController.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Controllers/UserController.cs (100%) rename {Shogi.Sockets => Shogi.Api}/ExampleAnonymousSessionMiddleware.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Extensions/Extensions.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Extensions/LogMiddleware.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Extensions/WebSocketExtensions.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Managers/ModelMapper.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Managers/SocketConnectionManager.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Managers/SocketTokenCache.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Models/User.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Models/WhichLoginPlatform.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Program.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Properties/PublishProfiles/FolderProfile.pubxml (100%) rename {Shogi.Sockets => Shogi.Api}/Properties/ServiceDependencies/local/secrets1.arm.json (100%) rename {Shogi.Sockets => Shogi.Api}/Properties/launchSettings.json (100%) rename {Shogi.Sockets => Shogi.Api}/Properties/serviceDependencies.json (100%) rename {Shogi.Sockets => Shogi.Api}/Properties/serviceDependencies.local.json (100%) rename {Shogi.Sockets => Shogi.Api}/Readme.md (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/CouchModels/BoardStateDocument.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/CouchModels/CouchCreatedResult.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/CouchModels/CouchDocument.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/CouchModels/CouchFindResult.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/CouchModels/CouchViewResult.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/CouchModels/Move.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/CouchModels/Piece.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/CouchModels/SessionDocument.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/CouchModels/UserDocument.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/CouchModels/WhichDocumentType.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/Dto/BoardStateDto.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/Dto/SessionDto.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/GameboardRepository.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/QueryRepository.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/SessionRepository.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Repositories/UserRepository.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Services/SocketService.cs (100%) rename {Shogi.Sockets => Shogi.Api}/Shogi.Api.csproj (100%) rename {Shogi.Sockets => Shogi.Api}/ShogiUserClaimsTransformer.cs (100%) rename {Shogi.Sockets => Shogi.Api}/appsettings.Development.json (100%) rename {Shogi.Sockets => Shogi.Api}/appsettings.json (100%) diff --git a/Shogi.Sockets/.config/dotnet-tools.json b/Shogi.Api/.config/dotnet-tools.json similarity index 100% rename from Shogi.Sockets/.config/dotnet-tools.json rename to Shogi.Api/.config/dotnet-tools.json diff --git a/Shogi.Sockets/Controllers/SessionController.cs b/Shogi.Api/Controllers/SessionController.cs similarity index 100% rename from Shogi.Sockets/Controllers/SessionController.cs rename to Shogi.Api/Controllers/SessionController.cs diff --git a/Shogi.Sockets/Controllers/UserController.cs b/Shogi.Api/Controllers/UserController.cs similarity index 100% rename from Shogi.Sockets/Controllers/UserController.cs rename to Shogi.Api/Controllers/UserController.cs diff --git a/Shogi.Sockets/ExampleAnonymousSessionMiddleware.cs b/Shogi.Api/ExampleAnonymousSessionMiddleware.cs similarity index 100% rename from Shogi.Sockets/ExampleAnonymousSessionMiddleware.cs rename to Shogi.Api/ExampleAnonymousSessionMiddleware.cs diff --git a/Shogi.Sockets/Extensions/Extensions.cs b/Shogi.Api/Extensions/Extensions.cs similarity index 100% rename from Shogi.Sockets/Extensions/Extensions.cs rename to Shogi.Api/Extensions/Extensions.cs diff --git a/Shogi.Sockets/Extensions/LogMiddleware.cs b/Shogi.Api/Extensions/LogMiddleware.cs similarity index 100% rename from Shogi.Sockets/Extensions/LogMiddleware.cs rename to Shogi.Api/Extensions/LogMiddleware.cs diff --git a/Shogi.Sockets/Extensions/WebSocketExtensions.cs b/Shogi.Api/Extensions/WebSocketExtensions.cs similarity index 100% rename from Shogi.Sockets/Extensions/WebSocketExtensions.cs rename to Shogi.Api/Extensions/WebSocketExtensions.cs diff --git a/Shogi.Sockets/Managers/ModelMapper.cs b/Shogi.Api/Managers/ModelMapper.cs similarity index 100% rename from Shogi.Sockets/Managers/ModelMapper.cs rename to Shogi.Api/Managers/ModelMapper.cs diff --git a/Shogi.Sockets/Managers/SocketConnectionManager.cs b/Shogi.Api/Managers/SocketConnectionManager.cs similarity index 100% rename from Shogi.Sockets/Managers/SocketConnectionManager.cs rename to Shogi.Api/Managers/SocketConnectionManager.cs diff --git a/Shogi.Sockets/Managers/SocketTokenCache.cs b/Shogi.Api/Managers/SocketTokenCache.cs similarity index 100% rename from Shogi.Sockets/Managers/SocketTokenCache.cs rename to Shogi.Api/Managers/SocketTokenCache.cs diff --git a/Shogi.Sockets/Models/User.cs b/Shogi.Api/Models/User.cs similarity index 100% rename from Shogi.Sockets/Models/User.cs rename to Shogi.Api/Models/User.cs diff --git a/Shogi.Sockets/Models/WhichLoginPlatform.cs b/Shogi.Api/Models/WhichLoginPlatform.cs similarity index 100% rename from Shogi.Sockets/Models/WhichLoginPlatform.cs rename to Shogi.Api/Models/WhichLoginPlatform.cs diff --git a/Shogi.Sockets/Program.cs b/Shogi.Api/Program.cs similarity index 100% rename from Shogi.Sockets/Program.cs rename to Shogi.Api/Program.cs diff --git a/Shogi.Sockets/Properties/PublishProfiles/FolderProfile.pubxml b/Shogi.Api/Properties/PublishProfiles/FolderProfile.pubxml similarity index 100% rename from Shogi.Sockets/Properties/PublishProfiles/FolderProfile.pubxml rename to Shogi.Api/Properties/PublishProfiles/FolderProfile.pubxml diff --git a/Shogi.Sockets/Properties/ServiceDependencies/local/secrets1.arm.json b/Shogi.Api/Properties/ServiceDependencies/local/secrets1.arm.json similarity index 100% rename from Shogi.Sockets/Properties/ServiceDependencies/local/secrets1.arm.json rename to Shogi.Api/Properties/ServiceDependencies/local/secrets1.arm.json diff --git a/Shogi.Sockets/Properties/launchSettings.json b/Shogi.Api/Properties/launchSettings.json similarity index 100% rename from Shogi.Sockets/Properties/launchSettings.json rename to Shogi.Api/Properties/launchSettings.json diff --git a/Shogi.Sockets/Properties/serviceDependencies.json b/Shogi.Api/Properties/serviceDependencies.json similarity index 100% rename from Shogi.Sockets/Properties/serviceDependencies.json rename to Shogi.Api/Properties/serviceDependencies.json diff --git a/Shogi.Sockets/Properties/serviceDependencies.local.json b/Shogi.Api/Properties/serviceDependencies.local.json similarity index 100% rename from Shogi.Sockets/Properties/serviceDependencies.local.json rename to Shogi.Api/Properties/serviceDependencies.local.json diff --git a/Shogi.Sockets/Readme.md b/Shogi.Api/Readme.md similarity index 100% rename from Shogi.Sockets/Readme.md rename to Shogi.Api/Readme.md diff --git a/Shogi.Sockets/Repositories/CouchModels/BoardStateDocument.cs b/Shogi.Api/Repositories/CouchModels/BoardStateDocument.cs similarity index 100% rename from Shogi.Sockets/Repositories/CouchModels/BoardStateDocument.cs rename to Shogi.Api/Repositories/CouchModels/BoardStateDocument.cs diff --git a/Shogi.Sockets/Repositories/CouchModels/CouchCreatedResult.cs b/Shogi.Api/Repositories/CouchModels/CouchCreatedResult.cs similarity index 100% rename from Shogi.Sockets/Repositories/CouchModels/CouchCreatedResult.cs rename to Shogi.Api/Repositories/CouchModels/CouchCreatedResult.cs diff --git a/Shogi.Sockets/Repositories/CouchModels/CouchDocument.cs b/Shogi.Api/Repositories/CouchModels/CouchDocument.cs similarity index 100% rename from Shogi.Sockets/Repositories/CouchModels/CouchDocument.cs rename to Shogi.Api/Repositories/CouchModels/CouchDocument.cs diff --git a/Shogi.Sockets/Repositories/CouchModels/CouchFindResult.cs b/Shogi.Api/Repositories/CouchModels/CouchFindResult.cs similarity index 100% rename from Shogi.Sockets/Repositories/CouchModels/CouchFindResult.cs rename to Shogi.Api/Repositories/CouchModels/CouchFindResult.cs diff --git a/Shogi.Sockets/Repositories/CouchModels/CouchViewResult.cs b/Shogi.Api/Repositories/CouchModels/CouchViewResult.cs similarity index 100% rename from Shogi.Sockets/Repositories/CouchModels/CouchViewResult.cs rename to Shogi.Api/Repositories/CouchModels/CouchViewResult.cs diff --git a/Shogi.Sockets/Repositories/CouchModels/Move.cs b/Shogi.Api/Repositories/CouchModels/Move.cs similarity index 100% rename from Shogi.Sockets/Repositories/CouchModels/Move.cs rename to Shogi.Api/Repositories/CouchModels/Move.cs diff --git a/Shogi.Sockets/Repositories/CouchModels/Piece.cs b/Shogi.Api/Repositories/CouchModels/Piece.cs similarity index 100% rename from Shogi.Sockets/Repositories/CouchModels/Piece.cs rename to Shogi.Api/Repositories/CouchModels/Piece.cs diff --git a/Shogi.Sockets/Repositories/CouchModels/SessionDocument.cs b/Shogi.Api/Repositories/CouchModels/SessionDocument.cs similarity index 100% rename from Shogi.Sockets/Repositories/CouchModels/SessionDocument.cs rename to Shogi.Api/Repositories/CouchModels/SessionDocument.cs diff --git a/Shogi.Sockets/Repositories/CouchModels/UserDocument.cs b/Shogi.Api/Repositories/CouchModels/UserDocument.cs similarity index 100% rename from Shogi.Sockets/Repositories/CouchModels/UserDocument.cs rename to Shogi.Api/Repositories/CouchModels/UserDocument.cs diff --git a/Shogi.Sockets/Repositories/CouchModels/WhichDocumentType.cs b/Shogi.Api/Repositories/CouchModels/WhichDocumentType.cs similarity index 100% rename from Shogi.Sockets/Repositories/CouchModels/WhichDocumentType.cs rename to Shogi.Api/Repositories/CouchModels/WhichDocumentType.cs diff --git a/Shogi.Sockets/Repositories/Dto/BoardStateDto.cs b/Shogi.Api/Repositories/Dto/BoardStateDto.cs similarity index 100% rename from Shogi.Sockets/Repositories/Dto/BoardStateDto.cs rename to Shogi.Api/Repositories/Dto/BoardStateDto.cs diff --git a/Shogi.Sockets/Repositories/Dto/SessionDto.cs b/Shogi.Api/Repositories/Dto/SessionDto.cs similarity index 100% rename from Shogi.Sockets/Repositories/Dto/SessionDto.cs rename to Shogi.Api/Repositories/Dto/SessionDto.cs diff --git a/Shogi.Sockets/Repositories/GameboardRepository.cs b/Shogi.Api/Repositories/GameboardRepository.cs similarity index 100% rename from Shogi.Sockets/Repositories/GameboardRepository.cs rename to Shogi.Api/Repositories/GameboardRepository.cs diff --git a/Shogi.Sockets/Repositories/QueryRepository.cs b/Shogi.Api/Repositories/QueryRepository.cs similarity index 100% rename from Shogi.Sockets/Repositories/QueryRepository.cs rename to Shogi.Api/Repositories/QueryRepository.cs diff --git a/Shogi.Sockets/Repositories/SessionRepository.cs b/Shogi.Api/Repositories/SessionRepository.cs similarity index 100% rename from Shogi.Sockets/Repositories/SessionRepository.cs rename to Shogi.Api/Repositories/SessionRepository.cs diff --git a/Shogi.Sockets/Repositories/UserRepository.cs b/Shogi.Api/Repositories/UserRepository.cs similarity index 100% rename from Shogi.Sockets/Repositories/UserRepository.cs rename to Shogi.Api/Repositories/UserRepository.cs diff --git a/Shogi.Sockets/Services/SocketService.cs b/Shogi.Api/Services/SocketService.cs similarity index 100% rename from Shogi.Sockets/Services/SocketService.cs rename to Shogi.Api/Services/SocketService.cs diff --git a/Shogi.Sockets/Shogi.Api.csproj b/Shogi.Api/Shogi.Api.csproj similarity index 100% rename from Shogi.Sockets/Shogi.Api.csproj rename to Shogi.Api/Shogi.Api.csproj diff --git a/Shogi.Sockets/ShogiUserClaimsTransformer.cs b/Shogi.Api/ShogiUserClaimsTransformer.cs similarity index 100% rename from Shogi.Sockets/ShogiUserClaimsTransformer.cs rename to Shogi.Api/ShogiUserClaimsTransformer.cs diff --git a/Shogi.Sockets/appsettings.Development.json b/Shogi.Api/appsettings.Development.json similarity index 100% rename from Shogi.Sockets/appsettings.Development.json rename to Shogi.Api/appsettings.Development.json diff --git a/Shogi.Sockets/appsettings.json b/Shogi.Api/appsettings.json similarity index 100% rename from Shogi.Sockets/appsettings.json rename to Shogi.Api/appsettings.json diff --git a/Shogi.sln b/Shogi.sln index c660867..04e182f 100644 --- a/Shogi.sln +++ b/Shogi.sln @@ -13,8 +13,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AcceptanceTests", "Tests\Ac EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shogi.Contracts", "Shogi.Contracts\Shogi.Contracts.csproj", "{1B9445A9-9C4D-46E3-8027-926C7FE0B55B}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shogi.Api", "Shogi.Sockets\Shogi.Api.csproj", "{F88923BB-21FD-413F-AA40-CD62B90B1BB0}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E69DE334-29A7-46AE-9647-54DC0187CD8D}" ProjectSection(SolutionItems) = preProject .gitignore = .gitignore @@ -27,6 +25,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shogi.UI", "Shogi.UI\Shogi. EndProject Project("{00D1A9C2-B5F0-4AF3-8072-F6C62B433612}") = "Shogi.Database", "Shogi.Database\Shogi.Database.sqlproj", "{9B115B71-088F-41EF-858F-C7B155271A9F}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shogi.Api", "Shogi.Api\Shogi.Api.csproj", "{62604006-6E18-45DA-8D5A-6ADD1C6D3CE2}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -49,10 +49,6 @@ Global {1B9445A9-9C4D-46E3-8027-926C7FE0B55B}.Debug|Any CPU.Build.0 = Debug|Any CPU {1B9445A9-9C4D-46E3-8027-926C7FE0B55B}.Release|Any CPU.ActiveCfg = Release|Any CPU {1B9445A9-9C4D-46E3-8027-926C7FE0B55B}.Release|Any CPU.Build.0 = Release|Any CPU - {F88923BB-21FD-413F-AA40-CD62B90B1BB0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F88923BB-21FD-413F-AA40-CD62B90B1BB0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F88923BB-21FD-413F-AA40-CD62B90B1BB0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F88923BB-21FD-413F-AA40-CD62B90B1BB0}.Release|Any CPU.Build.0 = Release|Any CPU {12B90F81-AFE6-4CD5-8517-218C0D70A1B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {12B90F81-AFE6-4CD5-8517-218C0D70A1B6}.Debug|Any CPU.Build.0 = Debug|Any CPU {12B90F81-AFE6-4CD5-8517-218C0D70A1B6}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -63,6 +59,10 @@ Global {9B115B71-088F-41EF-858F-C7B155271A9F}.Release|Any CPU.ActiveCfg = Release|Any CPU {9B115B71-088F-41EF-858F-C7B155271A9F}.Release|Any CPU.Build.0 = Release|Any CPU {9B115B71-088F-41EF-858F-C7B155271A9F}.Release|Any CPU.Deploy.0 = Release|Any CPU + {62604006-6E18-45DA-8D5A-6ADD1C6D3CE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {62604006-6E18-45DA-8D5A-6ADD1C6D3CE2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {62604006-6E18-45DA-8D5A-6ADD1C6D3CE2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {62604006-6E18-45DA-8D5A-6ADD1C6D3CE2}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE