diff --git a/Notification.API/appsettings.json b/Notification.API/appsettings.json deleted file mode 100644 index 51bd83c..0000000 --- a/Notification.API/appsettings.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "AllowedHosts": "*", - - "NotificationsEmail": { - "SendGridApiKey": "your sendgrid api key", - "FromEmail": "your registered email for shipping", - "FromName": "sender's name" - }, - - "NotificationSMS": { - "AccountSid": "your twilio acount key", - "AuthToken": "your twilio api key", - "FromNumber": "your twilio number registered" - } -} diff --git a/Notification.sln b/Notification.sln index bbad47f..b5e2728 100644 --- a/Notification.sln +++ b/Notification.sln @@ -3,13 +3,15 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.6.33815.320 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Notification.Aplication", "Notification.Aplication\Notification.Aplication.csproj", "{E14BAAA6-89DD-4DE0-B129-7D3F467EEF1D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Notification.Aplication", "src\Notification.Aplication\Notification.Aplication.csproj", "{E14BAAA6-89DD-4DE0-B129-7D3F467EEF1D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Notification.Domain", "Notification.Domain\Notification.Domain.csproj", "{E527B8D8-AD0C-4767-AC4C-421FC4C31CC2}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Notification.Domain", "src\Notification.Domain\Notification.Domain.csproj", "{E527B8D8-AD0C-4767-AC4C-421FC4C31CC2}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Notification.Infrastructure", "Notification.Infrastructure\Notification.Infrastructure.csproj", "{AA49A5F5-A13F-4D8D-8E24-94032B819FA5}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Notification.Infrastructure", "src\Notification.Infrastructure\Notification.Infrastructure.csproj", "{AA49A5F5-A13F-4D8D-8E24-94032B819FA5}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Notification.API", "Notification.API\Notification.API.csproj", "{2E5E9E88-702D-451A-ABDB-1D6B3C40656E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Notification.API", "src\Notification.API\Notification.API.csproj", "{2E5E9E88-702D-451A-ABDB-1D6B3C40656E}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{8EE9D9AC-9988-4160-B188-02C610A666CC}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -37,6 +39,12 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {E14BAAA6-89DD-4DE0-B129-7D3F467EEF1D} = {8EE9D9AC-9988-4160-B188-02C610A666CC} + {E527B8D8-AD0C-4767-AC4C-421FC4C31CC2} = {8EE9D9AC-9988-4160-B188-02C610A666CC} + {AA49A5F5-A13F-4D8D-8E24-94032B819FA5} = {8EE9D9AC-9988-4160-B188-02C610A666CC} + {2E5E9E88-702D-451A-ABDB-1D6B3C40656E} = {8EE9D9AC-9988-4160-B188-02C610A666CC} + EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {93E98B36-A035-4DB2-A06B-AB72834D61A1} EndGlobalSection diff --git a/README.md b/README.md index 69a3833..72abb41 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ -API para envio de notificação por email e telefone -integrada com mensageria com Rabbitmq +API para envio de notificações por email e telefone integrada com mensageria com Rabbitmq. -![Alt text](NotificationSwagger-1.jpg) +![Alt text](docs/NotificationSwagger-1.jpg) -![Alt text]() \ No newline at end of file +![Alt text](docs/Diagrama%20NotificationAPI-1.jpg) \ No newline at end of file diff --git a/.$Diagrama NotificationAPI.drawio.bkp b/docs/.$Diagrama NotificationAPI.drawio.bkp similarity index 100% rename from .$Diagrama NotificationAPI.drawio.bkp rename to docs/.$Diagrama NotificationAPI.drawio.bkp diff --git a/Diagrama NotificationAPI-1.jpg b/docs/Diagrama NotificationAPI-1.jpg similarity index 100% rename from Diagrama NotificationAPI-1.jpg rename to docs/Diagrama NotificationAPI-1.jpg diff --git a/Diagrama NotificationAPI.drawio b/docs/Diagrama NotificationAPI.drawio similarity index 100% rename from Diagrama NotificationAPI.drawio rename to docs/Diagrama NotificationAPI.drawio diff --git a/Diagrama NotificationAPI.jpg b/docs/Diagrama NotificationAPI.jpg similarity index 100% rename from Diagrama NotificationAPI.jpg rename to docs/Diagrama NotificationAPI.jpg diff --git a/NotificationSwagger-1.jpg b/docs/NotificationSwagger-1.jpg similarity index 100% rename from NotificationSwagger-1.jpg rename to docs/NotificationSwagger-1.jpg diff --git a/NotificationSwagger.jpg b/docs/NotificationSwagger.jpg similarity index 100% rename from NotificationSwagger.jpg rename to docs/NotificationSwagger.jpg diff --git a/Notification.API/Controllers/NotificationController.cs b/src/Notification.API/Controllers/NotificationController.cs similarity index 100% rename from Notification.API/Controllers/NotificationController.cs rename to src/Notification.API/Controllers/NotificationController.cs diff --git a/Notification.API/Controllers/NotificationDeviceController.cs b/src/Notification.API/Controllers/NotificationDeviceController.cs similarity index 100% rename from Notification.API/Controllers/NotificationDeviceController.cs rename to src/Notification.API/Controllers/NotificationDeviceController.cs diff --git a/Notification.API/Controllers/NotificationSendController.cs b/src/Notification.API/Controllers/NotificationSendController.cs similarity index 100% rename from Notification.API/Controllers/NotificationSendController.cs rename to src/Notification.API/Controllers/NotificationSendController.cs diff --git a/Notification.API/Controllers/NotificationTemplateController.cs b/src/Notification.API/Controllers/NotificationTemplateController.cs similarity index 100% rename from Notification.API/Controllers/NotificationTemplateController.cs rename to src/Notification.API/Controllers/NotificationTemplateController.cs diff --git a/Notification.API/Controllers/NotificationTypeController.cs b/src/Notification.API/Controllers/NotificationTypeController.cs similarity index 100% rename from Notification.API/Controllers/NotificationTypeController.cs rename to src/Notification.API/Controllers/NotificationTypeController.cs diff --git a/Notification.API/Filter/ExceptionFilter.cs b/src/Notification.API/Filter/ExceptionFilter.cs similarity index 100% rename from Notification.API/Filter/ExceptionFilter.cs rename to src/Notification.API/Filter/ExceptionFilter.cs diff --git a/Notification.API/Notification.API.csproj b/src/Notification.API/Notification.API.csproj similarity index 89% rename from Notification.API/Notification.API.csproj rename to src/Notification.API/Notification.API.csproj index a788b11..5553fca 100644 --- a/Notification.API/Notification.API.csproj +++ b/src/Notification.API/Notification.API.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable 789d0ca0-7617-4c77-8854-7b45aba30fe8 @@ -9,8 +9,8 @@ - - + + diff --git a/Notification.API/Program.cs b/src/Notification.API/Program.cs similarity index 100% rename from Notification.API/Program.cs rename to src/Notification.API/Program.cs diff --git a/Notification.API/Properties/launchSettings.json b/src/Notification.API/Properties/launchSettings.json similarity index 100% rename from Notification.API/Properties/launchSettings.json rename to src/Notification.API/Properties/launchSettings.json diff --git a/Notification.API/appsettings.Development.json b/src/Notification.API/appsettings.Development.json similarity index 100% rename from Notification.API/appsettings.Development.json rename to src/Notification.API/appsettings.Development.json diff --git a/Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceCommand.cs b/src/Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceCommand.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceCommand.cs rename to src/Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceCommand.cs diff --git a/Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceCommandHandler.cs b/src/Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceCommandHandler.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceCommandHandler.cs rename to src/Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceCommandHandler.cs diff --git a/Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceValidator.cs b/src/Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceValidator.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceValidator.cs rename to src/Notification.Aplication/Commands/NotificationDevice/CreateNotificationDevice/CreateNotificationDeviceValidator.cs diff --git a/Notification.Aplication/Commands/NotificationDevice/DeleteNotificationDevice/DeleteNotificationDeviceCommand.cs b/src/Notification.Aplication/Commands/NotificationDevice/DeleteNotificationDevice/DeleteNotificationDeviceCommand.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationDevice/DeleteNotificationDevice/DeleteNotificationDeviceCommand.cs rename to src/Notification.Aplication/Commands/NotificationDevice/DeleteNotificationDevice/DeleteNotificationDeviceCommand.cs diff --git a/Notification.Aplication/Commands/NotificationDevice/DeleteNotificationDevice/DeleteNotificationDeviceCommandHandler.cs b/src/Notification.Aplication/Commands/NotificationDevice/DeleteNotificationDevice/DeleteNotificationDeviceCommandHandler.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationDevice/DeleteNotificationDevice/DeleteNotificationDeviceCommandHandler.cs rename to src/Notification.Aplication/Commands/NotificationDevice/DeleteNotificationDevice/DeleteNotificationDeviceCommandHandler.cs diff --git a/Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceCommand.cs b/src/Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceCommand.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceCommand.cs rename to src/Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceCommand.cs diff --git a/Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceCommandHandler.cs b/src/Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceCommandHandler.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceCommandHandler.cs rename to src/Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceCommandHandler.cs diff --git a/Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceValidator.cs b/src/Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceValidator.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceValidator.cs rename to src/Notification.Aplication/Commands/NotificationDevice/UpdateNotificationDevice/UpdateNotificationDeviceValidator.cs diff --git a/Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendCommand.cs b/src/Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendCommand.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendCommand.cs rename to src/Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendCommand.cs diff --git a/Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendCommandHandler.cs b/src/Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendCommandHandler.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendCommandHandler.cs rename to src/Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendCommandHandler.cs diff --git a/Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendValidator.cs b/src/Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendValidator.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendValidator.cs rename to src/Notification.Aplication/Commands/NotificationSend/CreateNotificationSend/CreateNotificationSendValidator.cs diff --git a/Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateCommand.cs b/src/Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateCommand.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateCommand.cs rename to src/Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateCommand.cs diff --git a/Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateCommandHandler.cs b/src/Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateCommandHandler.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateCommandHandler.cs rename to src/Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateCommandHandler.cs diff --git a/Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateValidator.cs b/src/Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateValidator.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateValidator.cs rename to src/Notification.Aplication/Commands/NotificationTemplate/CreateNotificationTemplate/CreateNotificationTemplateValidator.cs diff --git a/Notification.Aplication/Commands/NotificationTemplate/DeleteNotificationTemplate/DeleteNotificationTemplateCommand.cs b/src/Notification.Aplication/Commands/NotificationTemplate/DeleteNotificationTemplate/DeleteNotificationTemplateCommand.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTemplate/DeleteNotificationTemplate/DeleteNotificationTemplateCommand.cs rename to src/Notification.Aplication/Commands/NotificationTemplate/DeleteNotificationTemplate/DeleteNotificationTemplateCommand.cs diff --git a/Notification.Aplication/Commands/NotificationTemplate/DeleteNotificationTemplate/DeleteNotificationTemplateCommandHandler.cs b/src/Notification.Aplication/Commands/NotificationTemplate/DeleteNotificationTemplate/DeleteNotificationTemplateCommandHandler.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTemplate/DeleteNotificationTemplate/DeleteNotificationTemplateCommandHandler.cs rename to src/Notification.Aplication/Commands/NotificationTemplate/DeleteNotificationTemplate/DeleteNotificationTemplateCommandHandler.cs diff --git a/Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateCommand.cs b/src/Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateCommand.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateCommand.cs rename to src/Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateCommand.cs diff --git a/Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateCommandHandler.cs b/src/Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateCommandHandler.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateCommandHandler.cs rename to src/Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateCommandHandler.cs diff --git a/Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateValidator.cs b/src/Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateValidator.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateValidator.cs rename to src/Notification.Aplication/Commands/NotificationTemplate/UpdateNotificationTemplate/UpdateNotificationTemplateValidator.cs diff --git a/Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesCommand.cs b/src/Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesCommand.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesCommand.cs rename to src/Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesCommand.cs diff --git a/Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesCommandHandler.cs b/src/Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesCommandHandler.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesCommandHandler.cs rename to src/Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesCommandHandler.cs diff --git a/Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesValidator.cs b/src/Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesValidator.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesValidator.cs rename to src/Notification.Aplication/Commands/NotificationTypes/CreateNotificationTypes/CreateNotificationsTypesValidator.cs diff --git a/Notification.Aplication/Commands/NotificationTypes/DeleteNotificationTypes/DeleteNotificationTypeCommand.cs b/src/Notification.Aplication/Commands/NotificationTypes/DeleteNotificationTypes/DeleteNotificationTypeCommand.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTypes/DeleteNotificationTypes/DeleteNotificationTypeCommand.cs rename to src/Notification.Aplication/Commands/NotificationTypes/DeleteNotificationTypes/DeleteNotificationTypeCommand.cs diff --git a/Notification.Aplication/Commands/NotificationTypes/DeleteNotificationTypes/DeleteNotificationTypeCommandHandler.cs b/src/Notification.Aplication/Commands/NotificationTypes/DeleteNotificationTypes/DeleteNotificationTypeCommandHandler.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTypes/DeleteNotificationTypes/DeleteNotificationTypeCommandHandler.cs rename to src/Notification.Aplication/Commands/NotificationTypes/DeleteNotificationTypes/DeleteNotificationTypeCommandHandler.cs diff --git a/Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesCommand.cs b/src/Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesCommand.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesCommand.cs rename to src/Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesCommand.cs diff --git a/Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesCommandHandler.cs b/src/Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesCommandHandler.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesCommandHandler.cs rename to src/Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesCommandHandler.cs diff --git a/Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesValidator.cs b/src/Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesValidator.cs similarity index 100% rename from Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesValidator.cs rename to src/Notification.Aplication/Commands/NotificationTypes/UpdateNotificationTypes/UpdateNotificationTypesValidator.cs diff --git a/Notification.Aplication/DTO/Response/ResponseNotificationDevice.cs b/src/Notification.Aplication/DTO/Response/ResponseNotificationDevice.cs similarity index 100% rename from Notification.Aplication/DTO/Response/ResponseNotificationDevice.cs rename to src/Notification.Aplication/DTO/Response/ResponseNotificationDevice.cs diff --git a/Notification.Aplication/DTO/Response/ResponseNotificationSend.cs b/src/Notification.Aplication/DTO/Response/ResponseNotificationSend.cs similarity index 100% rename from Notification.Aplication/DTO/Response/ResponseNotificationSend.cs rename to src/Notification.Aplication/DTO/Response/ResponseNotificationSend.cs diff --git a/Notification.Aplication/DTO/Response/ResponseNotificationTemplate.cs b/src/Notification.Aplication/DTO/Response/ResponseNotificationTemplate.cs similarity index 100% rename from Notification.Aplication/DTO/Response/ResponseNotificationTemplate.cs rename to src/Notification.Aplication/DTO/Response/ResponseNotificationTemplate.cs diff --git a/Notification.Aplication/DTO/Response/ResponseNotificationTypes.cs b/src/Notification.Aplication/DTO/Response/ResponseNotificationTypes.cs similarity index 100% rename from Notification.Aplication/DTO/Response/ResponseNotificationTypes.cs rename to src/Notification.Aplication/DTO/Response/ResponseNotificationTypes.cs diff --git a/Notification.Aplication/ExceptionBase/GenericErrorException.cs b/src/Notification.Aplication/ExceptionBase/GenericErrorException.cs similarity index 100% rename from Notification.Aplication/ExceptionBase/GenericErrorException.cs rename to src/Notification.Aplication/ExceptionBase/GenericErrorException.cs diff --git a/Notification.Aplication/ExceptionBase/NotificationExceptions.cs b/src/Notification.Aplication/ExceptionBase/NotificationExceptions.cs similarity index 100% rename from Notification.Aplication/ExceptionBase/NotificationExceptions.cs rename to src/Notification.Aplication/ExceptionBase/NotificationExceptions.cs diff --git a/Notification.Aplication/ExceptionBase/ResponseErrorJson.cs b/src/Notification.Aplication/ExceptionBase/ResponseErrorJson.cs similarity index 100% rename from Notification.Aplication/ExceptionBase/ResponseErrorJson.cs rename to src/Notification.Aplication/ExceptionBase/ResponseErrorJson.cs diff --git a/Notification.Aplication/ExceptionBase/ValidationErrorException.cs b/src/Notification.Aplication/ExceptionBase/ValidationErrorException.cs similarity index 100% rename from Notification.Aplication/ExceptionBase/ValidationErrorException.cs rename to src/Notification.Aplication/ExceptionBase/ValidationErrorException.cs diff --git a/Notification.Aplication/Notification.Aplication.csproj b/src/Notification.Aplication/Notification.Aplication.csproj similarity index 80% rename from Notification.Aplication/Notification.Aplication.csproj rename to src/Notification.Aplication/Notification.Aplication.csproj index 8907322..f29dbbd 100644 --- a/Notification.Aplication/Notification.Aplication.csproj +++ b/src/Notification.Aplication/Notification.Aplication.csproj @@ -1,7 +1,7 @@ - + - net7.0 + net8.0 enable disable @@ -11,8 +11,8 @@ - - + + diff --git a/Notification.Aplication/Queries/NotificationDevice/GetAllNotificationDevice/GetAllNotificationDeviceQuery.cs b/src/Notification.Aplication/Queries/NotificationDevice/GetAllNotificationDevice/GetAllNotificationDeviceQuery.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationDevice/GetAllNotificationDevice/GetAllNotificationDeviceQuery.cs rename to src/Notification.Aplication/Queries/NotificationDevice/GetAllNotificationDevice/GetAllNotificationDeviceQuery.cs diff --git a/Notification.Aplication/Queries/NotificationDevice/GetAllNotificationDevice/GetAllNotificationDeviceQueryHandler.cs b/src/Notification.Aplication/Queries/NotificationDevice/GetAllNotificationDevice/GetAllNotificationDeviceQueryHandler.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationDevice/GetAllNotificationDevice/GetAllNotificationDeviceQueryHandler.cs rename to src/Notification.Aplication/Queries/NotificationDevice/GetAllNotificationDevice/GetAllNotificationDeviceQueryHandler.cs diff --git a/Notification.Aplication/Queries/NotificationDevice/GetByIdNotificationDevice/GetByIdNotificationDeviceQuery.cs b/src/Notification.Aplication/Queries/NotificationDevice/GetByIdNotificationDevice/GetByIdNotificationDeviceQuery.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationDevice/GetByIdNotificationDevice/GetByIdNotificationDeviceQuery.cs rename to src/Notification.Aplication/Queries/NotificationDevice/GetByIdNotificationDevice/GetByIdNotificationDeviceQuery.cs diff --git a/Notification.Aplication/Queries/NotificationDevice/GetByIdNotificationDevice/GetByIdNotificationDeviceQueryHandler.cs b/src/Notification.Aplication/Queries/NotificationDevice/GetByIdNotificationDevice/GetByIdNotificationDeviceQueryHandler.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationDevice/GetByIdNotificationDevice/GetByIdNotificationDeviceQueryHandler.cs rename to src/Notification.Aplication/Queries/NotificationDevice/GetByIdNotificationDevice/GetByIdNotificationDeviceQueryHandler.cs diff --git a/Notification.Aplication/Queries/NotificationSend/GetAllNotificationSend/GetAllNotificationSendQuery.cs b/src/Notification.Aplication/Queries/NotificationSend/GetAllNotificationSend/GetAllNotificationSendQuery.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationSend/GetAllNotificationSend/GetAllNotificationSendQuery.cs rename to src/Notification.Aplication/Queries/NotificationSend/GetAllNotificationSend/GetAllNotificationSendQuery.cs diff --git a/Notification.Aplication/Queries/NotificationSend/GetAllNotificationSend/GetAllNotificationSendQueryHandler.cs b/src/Notification.Aplication/Queries/NotificationSend/GetAllNotificationSend/GetAllNotificationSendQueryHandler.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationSend/GetAllNotificationSend/GetAllNotificationSendQueryHandler.cs rename to src/Notification.Aplication/Queries/NotificationSend/GetAllNotificationSend/GetAllNotificationSendQueryHandler.cs diff --git a/Notification.Aplication/Queries/NotificationSend/GetByIdNotificationSend/GetByIdNotificationSendQuery.cs b/src/Notification.Aplication/Queries/NotificationSend/GetByIdNotificationSend/GetByIdNotificationSendQuery.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationSend/GetByIdNotificationSend/GetByIdNotificationSendQuery.cs rename to src/Notification.Aplication/Queries/NotificationSend/GetByIdNotificationSend/GetByIdNotificationSendQuery.cs diff --git a/Notification.Aplication/Queries/NotificationSend/GetByIdNotificationSend/GetByIdNotificationSendQueryHandler.cs b/src/Notification.Aplication/Queries/NotificationSend/GetByIdNotificationSend/GetByIdNotificationSendQueryHandler.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationSend/GetByIdNotificationSend/GetByIdNotificationSendQueryHandler.cs rename to src/Notification.Aplication/Queries/NotificationSend/GetByIdNotificationSend/GetByIdNotificationSendQueryHandler.cs diff --git a/Notification.Aplication/Queries/NotificationTemplate/GetAllNotificationTemplate/GetAllNotificationTemplateCommand.cs b/src/Notification.Aplication/Queries/NotificationTemplate/GetAllNotificationTemplate/GetAllNotificationTemplateCommand.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationTemplate/GetAllNotificationTemplate/GetAllNotificationTemplateCommand.cs rename to src/Notification.Aplication/Queries/NotificationTemplate/GetAllNotificationTemplate/GetAllNotificationTemplateCommand.cs diff --git a/Notification.Aplication/Queries/NotificationTemplate/GetAllNotificationTemplate/GetAllNotificationTemplateCommandHandler.cs b/src/Notification.Aplication/Queries/NotificationTemplate/GetAllNotificationTemplate/GetAllNotificationTemplateCommandHandler.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationTemplate/GetAllNotificationTemplate/GetAllNotificationTemplateCommandHandler.cs rename to src/Notification.Aplication/Queries/NotificationTemplate/GetAllNotificationTemplate/GetAllNotificationTemplateCommandHandler.cs diff --git a/Notification.Aplication/Queries/NotificationTemplate/GetByIdNotificationTemplate/GetByIdNotificationTemplateCommand.cs b/src/Notification.Aplication/Queries/NotificationTemplate/GetByIdNotificationTemplate/GetByIdNotificationTemplateCommand.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationTemplate/GetByIdNotificationTemplate/GetByIdNotificationTemplateCommand.cs rename to src/Notification.Aplication/Queries/NotificationTemplate/GetByIdNotificationTemplate/GetByIdNotificationTemplateCommand.cs diff --git a/Notification.Aplication/Queries/NotificationTemplate/GetByIdNotificationTemplate/GetByIdNotificationTemplateCommandHandler.cs b/src/Notification.Aplication/Queries/NotificationTemplate/GetByIdNotificationTemplate/GetByIdNotificationTemplateCommandHandler.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationTemplate/GetByIdNotificationTemplate/GetByIdNotificationTemplateCommandHandler.cs rename to src/Notification.Aplication/Queries/NotificationTemplate/GetByIdNotificationTemplate/GetByIdNotificationTemplateCommandHandler.cs diff --git a/Notification.Aplication/Queries/NotificationTypes/GetAllNotificationTypes/GetAllNotificationTypesQuery.cs b/src/Notification.Aplication/Queries/NotificationTypes/GetAllNotificationTypes/GetAllNotificationTypesQuery.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationTypes/GetAllNotificationTypes/GetAllNotificationTypesQuery.cs rename to src/Notification.Aplication/Queries/NotificationTypes/GetAllNotificationTypes/GetAllNotificationTypesQuery.cs diff --git a/Notification.Aplication/Queries/NotificationTypes/GetAllNotificationTypes/GetAllNotificationTypesQueryHandler.cs b/src/Notification.Aplication/Queries/NotificationTypes/GetAllNotificationTypes/GetAllNotificationTypesQueryHandler.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationTypes/GetAllNotificationTypes/GetAllNotificationTypesQueryHandler.cs rename to src/Notification.Aplication/Queries/NotificationTypes/GetAllNotificationTypes/GetAllNotificationTypesQueryHandler.cs diff --git a/Notification.Aplication/Queries/NotificationTypes/GetByIdNotificatioTypes/GetByIdNotificationTypesQuery.cs b/src/Notification.Aplication/Queries/NotificationTypes/GetByIdNotificatioTypes/GetByIdNotificationTypesQuery.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationTypes/GetByIdNotificatioTypes/GetByIdNotificationTypesQuery.cs rename to src/Notification.Aplication/Queries/NotificationTypes/GetByIdNotificatioTypes/GetByIdNotificationTypesQuery.cs diff --git a/Notification.Aplication/Queries/NotificationTypes/GetByIdNotificatioTypes/GetByIdNotificationTypesQueryHandler.cs b/src/Notification.Aplication/Queries/NotificationTypes/GetByIdNotificatioTypes/GetByIdNotificationTypesQueryHandler.cs similarity index 100% rename from Notification.Aplication/Queries/NotificationTypes/GetByIdNotificatioTypes/GetByIdNotificationTypesQueryHandler.cs rename to src/Notification.Aplication/Queries/NotificationTypes/GetByIdNotificatioTypes/GetByIdNotificationTypesQueryHandler.cs diff --git a/Notification.Aplication/ResourceErrorMessages.Designer.cs b/src/Notification.Aplication/ResourceErrorMessages.Designer.cs similarity index 100% rename from Notification.Aplication/ResourceErrorMessages.Designer.cs rename to src/Notification.Aplication/ResourceErrorMessages.Designer.cs diff --git a/Notification.Aplication/ResourceErrorMessages.resx b/src/Notification.Aplication/ResourceErrorMessages.resx similarity index 100% rename from Notification.Aplication/ResourceErrorMessages.resx rename to src/Notification.Aplication/ResourceErrorMessages.resx diff --git a/Notification.Aplication/Service/Automapper/AutoMapperConfiguration.cs b/src/Notification.Aplication/Service/Automapper/AutoMapperConfiguration.cs similarity index 100% rename from Notification.Aplication/Service/Automapper/AutoMapperConfiguration.cs rename to src/Notification.Aplication/Service/Automapper/AutoMapperConfiguration.cs diff --git a/Notification.Domain/Entities/BaseEntity.cs b/src/Notification.Domain/Entities/BaseEntity.cs similarity index 100% rename from Notification.Domain/Entities/BaseEntity.cs rename to src/Notification.Domain/Entities/BaseEntity.cs diff --git a/Notification.Domain/Entities/NotificationDevice.cs b/src/Notification.Domain/Entities/NotificationDevice.cs similarity index 100% rename from Notification.Domain/Entities/NotificationDevice.cs rename to src/Notification.Domain/Entities/NotificationDevice.cs diff --git a/Notification.Domain/Entities/NotificationSend.cs b/src/Notification.Domain/Entities/NotificationSend.cs similarity index 100% rename from Notification.Domain/Entities/NotificationSend.cs rename to src/Notification.Domain/Entities/NotificationSend.cs diff --git a/Notification.Domain/Entities/NotificationTemplate.cs b/src/Notification.Domain/Entities/NotificationTemplate.cs similarity index 100% rename from Notification.Domain/Entities/NotificationTemplate.cs rename to src/Notification.Domain/Entities/NotificationTemplate.cs diff --git a/Notification.Domain/Entities/NotificationType.cs b/src/Notification.Domain/Entities/NotificationType.cs similarity index 100% rename from Notification.Domain/Entities/NotificationType.cs rename to src/Notification.Domain/Entities/NotificationType.cs diff --git a/Notification.Domain/Enum/DeviceType.cs b/src/Notification.Domain/Enum/DeviceType.cs similarity index 100% rename from Notification.Domain/Enum/DeviceType.cs rename to src/Notification.Domain/Enum/DeviceType.cs diff --git a/Notification.Domain/Enum/NotificationStatus.cs b/src/Notification.Domain/Enum/NotificationStatus.cs similarity index 100% rename from Notification.Domain/Enum/NotificationStatus.cs rename to src/Notification.Domain/Enum/NotificationStatus.cs diff --git a/Notification.Domain/Extension/RepositoryExtension.cs b/src/Notification.Domain/Extension/RepositoryExtension.cs similarity index 100% rename from Notification.Domain/Extension/RepositoryExtension.cs rename to src/Notification.Domain/Extension/RepositoryExtension.cs diff --git a/Notification.Domain/Notification.Domain.csproj b/src/Notification.Domain/Notification.Domain.csproj similarity index 75% rename from Notification.Domain/Notification.Domain.csproj rename to src/Notification.Domain/Notification.Domain.csproj index 0320701..77a63c7 100644 --- a/Notification.Domain/Notification.Domain.csproj +++ b/src/Notification.Domain/Notification.Domain.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable disable - + diff --git a/Notification.Domain/Repositories/INotificationDeviceRepository.cs b/src/Notification.Domain/Repositories/INotificationDeviceRepository.cs similarity index 100% rename from Notification.Domain/Repositories/INotificationDeviceRepository.cs rename to src/Notification.Domain/Repositories/INotificationDeviceRepository.cs diff --git a/Notification.Domain/Repositories/INotificationSendRepository.cs b/src/Notification.Domain/Repositories/INotificationSendRepository.cs similarity index 100% rename from Notification.Domain/Repositories/INotificationSendRepository.cs rename to src/Notification.Domain/Repositories/INotificationSendRepository.cs diff --git a/Notification.Domain/Repositories/INotificationTemplateRepository.cs b/src/Notification.Domain/Repositories/INotificationTemplateRepository.cs similarity index 100% rename from Notification.Domain/Repositories/INotificationTemplateRepository.cs rename to src/Notification.Domain/Repositories/INotificationTemplateRepository.cs diff --git a/Notification.Domain/Repositories/INotificationTypeRepository.cs b/src/Notification.Domain/Repositories/INotificationTypeRepository.cs similarity index 100% rename from Notification.Domain/Repositories/INotificationTypeRepository.cs rename to src/Notification.Domain/Repositories/INotificationTypeRepository.cs diff --git a/Notification.Domain/Repositories/ISendEmailService.cs b/src/Notification.Domain/Repositories/ISendEmailService.cs similarity index 100% rename from Notification.Domain/Repositories/ISendEmailService.cs rename to src/Notification.Domain/Repositories/ISendEmailService.cs diff --git a/Notification.Domain/Repositories/ISendSmsService.cs b/src/Notification.Domain/Repositories/ISendSmsService.cs similarity index 100% rename from Notification.Domain/Repositories/ISendSmsService.cs rename to src/Notification.Domain/Repositories/ISendSmsService.cs diff --git a/Notification.Domain/Repositories/IUnitofWork.cs b/src/Notification.Domain/Repositories/IUnitofWork.cs similarity index 100% rename from Notification.Domain/Repositories/IUnitofWork.cs rename to src/Notification.Domain/Repositories/IUnitofWork.cs diff --git a/Notification.Infrastructure/DataAcess/Bootstrapper.cs b/src/Notification.Infrastructure/DataAcess/Bootstrapper.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/Bootstrapper.cs rename to src/Notification.Infrastructure/DataAcess/Bootstrapper.cs diff --git a/Notification.Infrastructure/DataAcess/Migrations/BaseVersion.cs b/src/Notification.Infrastructure/DataAcess/Migrations/BaseVersion.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/Migrations/BaseVersion.cs rename to src/Notification.Infrastructure/DataAcess/Migrations/BaseVersion.cs diff --git a/Notification.Infrastructure/DataAcess/Migrations/MigrationExtension.cs b/src/Notification.Infrastructure/DataAcess/Migrations/MigrationExtension.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/Migrations/MigrationExtension.cs rename to src/Notification.Infrastructure/DataAcess/Migrations/MigrationExtension.cs diff --git a/Notification.Infrastructure/DataAcess/Migrations/Seeds/SeedMigrations.cs b/src/Notification.Infrastructure/DataAcess/Migrations/Seeds/SeedMigrations.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/Migrations/Seeds/SeedMigrations.cs rename to src/Notification.Infrastructure/DataAcess/Migrations/Seeds/SeedMigrations.cs diff --git a/Notification.Infrastructure/DataAcess/Migrations/Version/Version001.cs b/src/Notification.Infrastructure/DataAcess/Migrations/Version/Version001.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/Migrations/Version/Version001.cs rename to src/Notification.Infrastructure/DataAcess/Migrations/Version/Version001.cs diff --git a/Notification.Infrastructure/DataAcess/Migrations/VersionNumbers.cs b/src/Notification.Infrastructure/DataAcess/Migrations/VersionNumbers.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/Migrations/VersionNumbers.cs rename to src/Notification.Infrastructure/DataAcess/Migrations/VersionNumbers.cs diff --git a/Notification.Infrastructure/DataAcess/NotificationContext.cs b/src/Notification.Infrastructure/DataAcess/NotificationContext.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/NotificationContext.cs rename to src/Notification.Infrastructure/DataAcess/NotificationContext.cs diff --git a/Notification.Infrastructure/DataAcess/Repository/NotificationDeviceRepository.cs b/src/Notification.Infrastructure/DataAcess/Repository/NotificationDeviceRepository.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/Repository/NotificationDeviceRepository.cs rename to src/Notification.Infrastructure/DataAcess/Repository/NotificationDeviceRepository.cs diff --git a/Notification.Infrastructure/DataAcess/Repository/NotificationSendRepository.cs b/src/Notification.Infrastructure/DataAcess/Repository/NotificationSendRepository.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/Repository/NotificationSendRepository.cs rename to src/Notification.Infrastructure/DataAcess/Repository/NotificationSendRepository.cs diff --git a/Notification.Infrastructure/DataAcess/Repository/NotificationTemplateRepository.cs b/src/Notification.Infrastructure/DataAcess/Repository/NotificationTemplateRepository.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/Repository/NotificationTemplateRepository.cs rename to src/Notification.Infrastructure/DataAcess/Repository/NotificationTemplateRepository.cs diff --git a/Notification.Infrastructure/DataAcess/Repository/NotificationTypeRepository.cs b/src/Notification.Infrastructure/DataAcess/Repository/NotificationTypeRepository.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/Repository/NotificationTypeRepository.cs rename to src/Notification.Infrastructure/DataAcess/Repository/NotificationTypeRepository.cs diff --git a/Notification.Infrastructure/DataAcess/UnitofWork.cs b/src/Notification.Infrastructure/DataAcess/UnitofWork.cs similarity index 100% rename from Notification.Infrastructure/DataAcess/UnitofWork.cs rename to src/Notification.Infrastructure/DataAcess/UnitofWork.cs diff --git a/Notification.Infrastructure/Notification.Infrastructure.csproj b/src/Notification.Infrastructure/Notification.Infrastructure.csproj similarity index 71% rename from Notification.Infrastructure/Notification.Infrastructure.csproj rename to src/Notification.Infrastructure/Notification.Infrastructure.csproj index a21dc0d..6f5cc05 100644 --- a/Notification.Infrastructure/Notification.Infrastructure.csproj +++ b/src/Notification.Infrastructure/Notification.Infrastructure.csproj @@ -1,28 +1,28 @@ - net7.0 + net8.0 enable enable - - - - + + + + - + - - - - - - + + + + + + - + diff --git a/Notification.Infrastructure/Services/SendEmail/MailConfig.cs b/src/Notification.Infrastructure/Services/SendEmail/MailConfig.cs similarity index 100% rename from Notification.Infrastructure/Services/SendEmail/MailConfig.cs rename to src/Notification.Infrastructure/Services/SendEmail/MailConfig.cs diff --git a/Notification.Infrastructure/Services/SendEmail/SendEmailService.cs b/src/Notification.Infrastructure/Services/SendEmail/SendEmailService.cs similarity index 100% rename from Notification.Infrastructure/Services/SendEmail/SendEmailService.cs rename to src/Notification.Infrastructure/Services/SendEmail/SendEmailService.cs diff --git a/Notification.Infrastructure/Services/SendSMS/SendsmsService.cs b/src/Notification.Infrastructure/Services/SendSMS/SendsmsService.cs similarity index 100% rename from Notification.Infrastructure/Services/SendSMS/SendsmsService.cs rename to src/Notification.Infrastructure/Services/SendSMS/SendsmsService.cs diff --git a/Notification.Infrastructure/Services/SendSMS/SmsConfig.cs b/src/Notification.Infrastructure/Services/SendSMS/SmsConfig.cs similarity index 100% rename from Notification.Infrastructure/Services/SendSMS/SmsConfig.cs rename to src/Notification.Infrastructure/Services/SendSMS/SmsConfig.cs