From 7c2fccb79e6e1d102e4a3ec212e4bf626c16c23e Mon Sep 17 00:00:00 2001 From: Patrick Bateman Date: Thu, 8 Aug 2024 13:15:27 +0000 Subject: [PATCH] Move to services/ --- {API => services/AuthorizationService}/.dockerignore | 0 {API => services/AuthorizationService}/.gitignore | 0 {API => services/AuthorizationService}/API.csproj | 0 {API => services/AuthorizationService}/API.csproj.user | 0 {API => services/AuthorizationService}/API.http | 0 {API => services/AuthorizationService}/API.sln | 0 {API => services/AuthorizationService}/AppDBContext.cs | 0 .../Application/Users/Commands/CreateUser.cs | 0 .../Application/Users/Commands/DeleteUser.cs | 0 .../AuthorizationService}/Application/Users/Commands/LoginUser.cs | 0 .../Application/Users/Commands/UpdateUser.cs | 0 .../Application/Users/Commands/UpdateUserPassword.cs | 0 .../Application/Users/Queries/QueryAllUsers.cs | 0 .../Application/Users/Queries/QueryUserById.cs | 0 .../AuthorizationService}/Controllers/HealthCheckController.cs | 0 .../AuthorizationService}/Controllers/UsersController.cs | 0 {API => services/AuthorizationService}/Dockerfile | 0 .../Migrations/20240812084720_CreateUser.Designer.cs | 0 .../AuthorizationService}/Migrations/20240812084720_CreateUser.cs | 0 .../Migrations/20240813075158_ChangedUserWithGuid.Designer.cs | 0 .../Migrations/20240813075158_ChangedUserWithGuid.cs | 0 .../Migrations/20240813112418_NoMoreGuid.Designer.cs | 0 .../AuthorizationService}/Migrations/20240813112418_NoMoreGuid.cs | 0 .../Migrations/20240816102314_removedSaltAndBackdoor.Designer.cs | 0 .../Migrations/20240816102314_removedSaltAndBackdoor.cs | 0 .../AuthorizationService}/Migrations/AppDBContextModelSnapshot.cs | 0 {API => services/AuthorizationService}/Models/BaseModel.cs | 0 {API => services/AuthorizationService}/Models/User.cs | 0 .../Persistence/Repositories/IUserRepository.cs | 0 .../Persistence/Repositories/UserRepository.cs | 0 {API => services/AuthorizationService}/Program.cs | 0 .../AuthorizationService}/Properties/launchSettings.json | 0 .../AuthorizationService}/appsettings.Development.json | 0 {API => services/AuthorizationService}/appsettings.json | 0 {API => services/AuthorizationService}/integration-tests.sh | 0 {API => services/AuthorizationService}/skantravels.service | 0 {rust-backend => services/tourist-service}/.cargo/config.toml | 0 {rust-backend => services/tourist-service}/.env.example | 0 {rust-backend => services/tourist-service}/.gitignore | 0 {rust-backend => services/tourist-service}/Cargo.lock | 0 {rust-backend => services/tourist-service}/Cargo.toml | 0 .../tourist-service}/migrations/V1__create_favorites_table.sql | 0 .../tourist-service}/skantravels-rust.service | 0 {rust-backend => services/tourist-service}/src/auth.rs | 0 {rust-backend => services/tourist-service}/src/main.rs | 0 {rust-backend => services/tourist-service}/src/models.rs | 0 46 files changed, 0 insertions(+), 0 deletions(-) rename {API => services/AuthorizationService}/.dockerignore (100%) rename {API => services/AuthorizationService}/.gitignore (100%) rename {API => services/AuthorizationService}/API.csproj (100%) rename {API => services/AuthorizationService}/API.csproj.user (100%) rename {API => services/AuthorizationService}/API.http (100%) rename {API => services/AuthorizationService}/API.sln (100%) rename {API => services/AuthorizationService}/AppDBContext.cs (100%) rename {API => services/AuthorizationService}/Application/Users/Commands/CreateUser.cs (100%) rename {API => services/AuthorizationService}/Application/Users/Commands/DeleteUser.cs (100%) rename {API => services/AuthorizationService}/Application/Users/Commands/LoginUser.cs (100%) rename {API => services/AuthorizationService}/Application/Users/Commands/UpdateUser.cs (100%) rename {API => services/AuthorizationService}/Application/Users/Commands/UpdateUserPassword.cs (100%) rename {API => services/AuthorizationService}/Application/Users/Queries/QueryAllUsers.cs (100%) rename {API => services/AuthorizationService}/Application/Users/Queries/QueryUserById.cs (100%) rename {API => services/AuthorizationService}/Controllers/HealthCheckController.cs (100%) rename {API => services/AuthorizationService}/Controllers/UsersController.cs (100%) rename {API => services/AuthorizationService}/Dockerfile (100%) rename {API => services/AuthorizationService}/Migrations/20240812084720_CreateUser.Designer.cs (100%) rename {API => services/AuthorizationService}/Migrations/20240812084720_CreateUser.cs (100%) rename {API => services/AuthorizationService}/Migrations/20240813075158_ChangedUserWithGuid.Designer.cs (100%) rename {API => services/AuthorizationService}/Migrations/20240813075158_ChangedUserWithGuid.cs (100%) rename {API => services/AuthorizationService}/Migrations/20240813112418_NoMoreGuid.Designer.cs (100%) rename {API => services/AuthorizationService}/Migrations/20240813112418_NoMoreGuid.cs (100%) rename {API => services/AuthorizationService}/Migrations/20240816102314_removedSaltAndBackdoor.Designer.cs (100%) rename {API => services/AuthorizationService}/Migrations/20240816102314_removedSaltAndBackdoor.cs (100%) rename {API => services/AuthorizationService}/Migrations/AppDBContextModelSnapshot.cs (100%) rename {API => services/AuthorizationService}/Models/BaseModel.cs (100%) rename {API => services/AuthorizationService}/Models/User.cs (100%) rename {API => services/AuthorizationService}/Persistence/Repositories/IUserRepository.cs (100%) rename {API => services/AuthorizationService}/Persistence/Repositories/UserRepository.cs (100%) rename {API => services/AuthorizationService}/Program.cs (100%) rename {API => services/AuthorizationService}/Properties/launchSettings.json (100%) rename {API => services/AuthorizationService}/appsettings.Development.json (100%) rename {API => services/AuthorizationService}/appsettings.json (100%) rename {API => services/AuthorizationService}/integration-tests.sh (100%) rename {API => services/AuthorizationService}/skantravels.service (100%) rename {rust-backend => services/tourist-service}/.cargo/config.toml (100%) rename {rust-backend => services/tourist-service}/.env.example (100%) rename {rust-backend => services/tourist-service}/.gitignore (100%) rename {rust-backend => services/tourist-service}/Cargo.lock (100%) rename {rust-backend => services/tourist-service}/Cargo.toml (100%) rename {rust-backend => services/tourist-service}/migrations/V1__create_favorites_table.sql (100%) rename {rust-backend => services/tourist-service}/skantravels-rust.service (100%) rename {rust-backend => services/tourist-service}/src/auth.rs (100%) rename {rust-backend => services/tourist-service}/src/main.rs (100%) rename {rust-backend => services/tourist-service}/src/models.rs (100%) diff --git a/API/.dockerignore b/services/AuthorizationService/.dockerignore similarity index 100% rename from API/.dockerignore rename to services/AuthorizationService/.dockerignore diff --git a/API/.gitignore b/services/AuthorizationService/.gitignore similarity index 100% rename from API/.gitignore rename to services/AuthorizationService/.gitignore diff --git a/API/API.csproj b/services/AuthorizationService/API.csproj similarity index 100% rename from API/API.csproj rename to services/AuthorizationService/API.csproj diff --git a/API/API.csproj.user b/services/AuthorizationService/API.csproj.user similarity index 100% rename from API/API.csproj.user rename to services/AuthorizationService/API.csproj.user diff --git a/API/API.http b/services/AuthorizationService/API.http similarity index 100% rename from API/API.http rename to services/AuthorizationService/API.http diff --git a/API/API.sln b/services/AuthorizationService/API.sln similarity index 100% rename from API/API.sln rename to services/AuthorizationService/API.sln diff --git a/API/AppDBContext.cs b/services/AuthorizationService/AppDBContext.cs similarity index 100% rename from API/AppDBContext.cs rename to services/AuthorizationService/AppDBContext.cs diff --git a/API/Application/Users/Commands/CreateUser.cs b/services/AuthorizationService/Application/Users/Commands/CreateUser.cs similarity index 100% rename from API/Application/Users/Commands/CreateUser.cs rename to services/AuthorizationService/Application/Users/Commands/CreateUser.cs diff --git a/API/Application/Users/Commands/DeleteUser.cs b/services/AuthorizationService/Application/Users/Commands/DeleteUser.cs similarity index 100% rename from API/Application/Users/Commands/DeleteUser.cs rename to services/AuthorizationService/Application/Users/Commands/DeleteUser.cs diff --git a/API/Application/Users/Commands/LoginUser.cs b/services/AuthorizationService/Application/Users/Commands/LoginUser.cs similarity index 100% rename from API/Application/Users/Commands/LoginUser.cs rename to services/AuthorizationService/Application/Users/Commands/LoginUser.cs diff --git a/API/Application/Users/Commands/UpdateUser.cs b/services/AuthorizationService/Application/Users/Commands/UpdateUser.cs similarity index 100% rename from API/Application/Users/Commands/UpdateUser.cs rename to services/AuthorizationService/Application/Users/Commands/UpdateUser.cs diff --git a/API/Application/Users/Commands/UpdateUserPassword.cs b/services/AuthorizationService/Application/Users/Commands/UpdateUserPassword.cs similarity index 100% rename from API/Application/Users/Commands/UpdateUserPassword.cs rename to services/AuthorizationService/Application/Users/Commands/UpdateUserPassword.cs diff --git a/API/Application/Users/Queries/QueryAllUsers.cs b/services/AuthorizationService/Application/Users/Queries/QueryAllUsers.cs similarity index 100% rename from API/Application/Users/Queries/QueryAllUsers.cs rename to services/AuthorizationService/Application/Users/Queries/QueryAllUsers.cs diff --git a/API/Application/Users/Queries/QueryUserById.cs b/services/AuthorizationService/Application/Users/Queries/QueryUserById.cs similarity index 100% rename from API/Application/Users/Queries/QueryUserById.cs rename to services/AuthorizationService/Application/Users/Queries/QueryUserById.cs diff --git a/API/Controllers/HealthCheckController.cs b/services/AuthorizationService/Controllers/HealthCheckController.cs similarity index 100% rename from API/Controllers/HealthCheckController.cs rename to services/AuthorizationService/Controllers/HealthCheckController.cs diff --git a/API/Controllers/UsersController.cs b/services/AuthorizationService/Controllers/UsersController.cs similarity index 100% rename from API/Controllers/UsersController.cs rename to services/AuthorizationService/Controllers/UsersController.cs diff --git a/API/Dockerfile b/services/AuthorizationService/Dockerfile similarity index 100% rename from API/Dockerfile rename to services/AuthorizationService/Dockerfile diff --git a/API/Migrations/20240812084720_CreateUser.Designer.cs b/services/AuthorizationService/Migrations/20240812084720_CreateUser.Designer.cs similarity index 100% rename from API/Migrations/20240812084720_CreateUser.Designer.cs rename to services/AuthorizationService/Migrations/20240812084720_CreateUser.Designer.cs diff --git a/API/Migrations/20240812084720_CreateUser.cs b/services/AuthorizationService/Migrations/20240812084720_CreateUser.cs similarity index 100% rename from API/Migrations/20240812084720_CreateUser.cs rename to services/AuthorizationService/Migrations/20240812084720_CreateUser.cs diff --git a/API/Migrations/20240813075158_ChangedUserWithGuid.Designer.cs b/services/AuthorizationService/Migrations/20240813075158_ChangedUserWithGuid.Designer.cs similarity index 100% rename from API/Migrations/20240813075158_ChangedUserWithGuid.Designer.cs rename to services/AuthorizationService/Migrations/20240813075158_ChangedUserWithGuid.Designer.cs diff --git a/API/Migrations/20240813075158_ChangedUserWithGuid.cs b/services/AuthorizationService/Migrations/20240813075158_ChangedUserWithGuid.cs similarity index 100% rename from API/Migrations/20240813075158_ChangedUserWithGuid.cs rename to services/AuthorizationService/Migrations/20240813075158_ChangedUserWithGuid.cs diff --git a/API/Migrations/20240813112418_NoMoreGuid.Designer.cs b/services/AuthorizationService/Migrations/20240813112418_NoMoreGuid.Designer.cs similarity index 100% rename from API/Migrations/20240813112418_NoMoreGuid.Designer.cs rename to services/AuthorizationService/Migrations/20240813112418_NoMoreGuid.Designer.cs diff --git a/API/Migrations/20240813112418_NoMoreGuid.cs b/services/AuthorizationService/Migrations/20240813112418_NoMoreGuid.cs similarity index 100% rename from API/Migrations/20240813112418_NoMoreGuid.cs rename to services/AuthorizationService/Migrations/20240813112418_NoMoreGuid.cs diff --git a/API/Migrations/20240816102314_removedSaltAndBackdoor.Designer.cs b/services/AuthorizationService/Migrations/20240816102314_removedSaltAndBackdoor.Designer.cs similarity index 100% rename from API/Migrations/20240816102314_removedSaltAndBackdoor.Designer.cs rename to services/AuthorizationService/Migrations/20240816102314_removedSaltAndBackdoor.Designer.cs diff --git a/API/Migrations/20240816102314_removedSaltAndBackdoor.cs b/services/AuthorizationService/Migrations/20240816102314_removedSaltAndBackdoor.cs similarity index 100% rename from API/Migrations/20240816102314_removedSaltAndBackdoor.cs rename to services/AuthorizationService/Migrations/20240816102314_removedSaltAndBackdoor.cs diff --git a/API/Migrations/AppDBContextModelSnapshot.cs b/services/AuthorizationService/Migrations/AppDBContextModelSnapshot.cs similarity index 100% rename from API/Migrations/AppDBContextModelSnapshot.cs rename to services/AuthorizationService/Migrations/AppDBContextModelSnapshot.cs diff --git a/API/Models/BaseModel.cs b/services/AuthorizationService/Models/BaseModel.cs similarity index 100% rename from API/Models/BaseModel.cs rename to services/AuthorizationService/Models/BaseModel.cs diff --git a/API/Models/User.cs b/services/AuthorizationService/Models/User.cs similarity index 100% rename from API/Models/User.cs rename to services/AuthorizationService/Models/User.cs diff --git a/API/Persistence/Repositories/IUserRepository.cs b/services/AuthorizationService/Persistence/Repositories/IUserRepository.cs similarity index 100% rename from API/Persistence/Repositories/IUserRepository.cs rename to services/AuthorizationService/Persistence/Repositories/IUserRepository.cs diff --git a/API/Persistence/Repositories/UserRepository.cs b/services/AuthorizationService/Persistence/Repositories/UserRepository.cs similarity index 100% rename from API/Persistence/Repositories/UserRepository.cs rename to services/AuthorizationService/Persistence/Repositories/UserRepository.cs diff --git a/API/Program.cs b/services/AuthorizationService/Program.cs similarity index 100% rename from API/Program.cs rename to services/AuthorizationService/Program.cs diff --git a/API/Properties/launchSettings.json b/services/AuthorizationService/Properties/launchSettings.json similarity index 100% rename from API/Properties/launchSettings.json rename to services/AuthorizationService/Properties/launchSettings.json diff --git a/API/appsettings.Development.json b/services/AuthorizationService/appsettings.Development.json similarity index 100% rename from API/appsettings.Development.json rename to services/AuthorizationService/appsettings.Development.json diff --git a/API/appsettings.json b/services/AuthorizationService/appsettings.json similarity index 100% rename from API/appsettings.json rename to services/AuthorizationService/appsettings.json diff --git a/API/integration-tests.sh b/services/AuthorizationService/integration-tests.sh similarity index 100% rename from API/integration-tests.sh rename to services/AuthorizationService/integration-tests.sh diff --git a/API/skantravels.service b/services/AuthorizationService/skantravels.service similarity index 100% rename from API/skantravels.service rename to services/AuthorizationService/skantravels.service diff --git a/rust-backend/.cargo/config.toml b/services/tourist-service/.cargo/config.toml similarity index 100% rename from rust-backend/.cargo/config.toml rename to services/tourist-service/.cargo/config.toml diff --git a/rust-backend/.env.example b/services/tourist-service/.env.example similarity index 100% rename from rust-backend/.env.example rename to services/tourist-service/.env.example diff --git a/rust-backend/.gitignore b/services/tourist-service/.gitignore similarity index 100% rename from rust-backend/.gitignore rename to services/tourist-service/.gitignore diff --git a/rust-backend/Cargo.lock b/services/tourist-service/Cargo.lock similarity index 100% rename from rust-backend/Cargo.lock rename to services/tourist-service/Cargo.lock diff --git a/rust-backend/Cargo.toml b/services/tourist-service/Cargo.toml similarity index 100% rename from rust-backend/Cargo.toml rename to services/tourist-service/Cargo.toml diff --git a/rust-backend/migrations/V1__create_favorites_table.sql b/services/tourist-service/migrations/V1__create_favorites_table.sql similarity index 100% rename from rust-backend/migrations/V1__create_favorites_table.sql rename to services/tourist-service/migrations/V1__create_favorites_table.sql diff --git a/rust-backend/skantravels-rust.service b/services/tourist-service/skantravels-rust.service similarity index 100% rename from rust-backend/skantravels-rust.service rename to services/tourist-service/skantravels-rust.service diff --git a/rust-backend/src/auth.rs b/services/tourist-service/src/auth.rs similarity index 100% rename from rust-backend/src/auth.rs rename to services/tourist-service/src/auth.rs diff --git a/rust-backend/src/main.rs b/services/tourist-service/src/main.rs similarity index 100% rename from rust-backend/src/main.rs rename to services/tourist-service/src/main.rs diff --git a/rust-backend/src/models.rs b/services/tourist-service/src/models.rs similarity index 100% rename from rust-backend/src/models.rs rename to services/tourist-service/src/models.rs