netcore-blueprint 1.0.15 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (597) hide show
  1. package/create.js +32 -40
  2. package/package.json +1 -1
  3. package/Blueprint.API/Blueprint.API.csproj +0 -28
  4. package/Blueprint.API/Blueprint.API.csproj.user +0 -8
  5. package/Blueprint.API/Blueprint.API.http +0 -6
  6. package/Blueprint.API/Controllers/UserController.cs +0 -179
  7. package/Blueprint.API/Controllers/UserControllerAsync.cs +0 -51
  8. package/Blueprint.API/Controllers/VersionController.cs +0 -43
  9. package/Blueprint.API/Controllers/WeatherForecastController.cs +0 -33
  10. package/Blueprint.API/Mappers/DtoMappingProfile.cs +0 -28
  11. package/Blueprint.API/Program.cs +0 -176
  12. package/Blueprint.API/Properties/launchSettings.json +0 -41
  13. package/Blueprint.API/Services/RabbitMqConsumerService.cs +0 -154
  14. package/Blueprint.API/WeatherForecast.cs +0 -13
  15. package/Blueprint.API/appsettings.Development.json +0 -8
  16. package/Blueprint.API/appsettings.json +0 -22
  17. package/Blueprint.API/bin/Debug/net8.0/AWSSDK.Core.dll +0 -0
  18. package/Blueprint.API/bin/Debug/net8.0/AWSSDK.Extensions.NETCore.Setup.dll +0 -0
  19. package/Blueprint.API/bin/Debug/net8.0/AWSSDK.S3.dll +0 -0
  20. package/Blueprint.API/bin/Debug/net8.0/AutoMapper.dll +0 -0
  21. package/Blueprint.API/bin/Debug/net8.0/Blueprint.API.deps.json +0 -1702
  22. package/Blueprint.API/bin/Debug/net8.0/Blueprint.API.dll +0 -0
  23. package/Blueprint.API/bin/Debug/net8.0/Blueprint.API.exe +0 -0
  24. package/Blueprint.API/bin/Debug/net8.0/Blueprint.API.pdb +0 -0
  25. package/Blueprint.API/bin/Debug/net8.0/Blueprint.API.runtimeconfig.json +0 -20
  26. package/Blueprint.API/bin/Debug/net8.0/Blueprint.Core.deps.json +0 -777
  27. package/Blueprint.API/bin/Debug/net8.0/Blueprint.Core.dll +0 -0
  28. package/Blueprint.API/bin/Debug/net8.0/Blueprint.Core.exe +0 -0
  29. package/Blueprint.API/bin/Debug/net8.0/Blueprint.Core.pdb +0 -0
  30. package/Blueprint.API/bin/Debug/net8.0/Blueprint.Core.runtimeconfig.json +0 -12
  31. package/Blueprint.API/bin/Debug/net8.0/Blueprint.Infra.deps.json +0 -1636
  32. package/Blueprint.API/bin/Debug/net8.0/Blueprint.Infra.dll +0 -0
  33. package/Blueprint.API/bin/Debug/net8.0/Blueprint.Infra.exe +0 -0
  34. package/Blueprint.API/bin/Debug/net8.0/Blueprint.Infra.pdb +0 -0
  35. package/Blueprint.API/bin/Debug/net8.0/Blueprint.Infra.runtimeconfig.json +0 -13
  36. package/Blueprint.API/bin/Debug/net8.0/DnsClient.dll +0 -0
  37. package/Blueprint.API/bin/Debug/net8.0/Humanizer.dll +0 -0
  38. package/Blueprint.API/bin/Debug/net8.0/Microsoft.AspNetCore.Authentication.JwtBearer.dll +0 -0
  39. package/Blueprint.API/bin/Debug/net8.0/Microsoft.AspNetCore.Mvc.Versioning.dll +0 -0
  40. package/Blueprint.API/bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
  41. package/Blueprint.API/bin/Debug/net8.0/Microsoft.Bcl.Memory.dll +0 -0
  42. package/Blueprint.API/bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll +0 -0
  43. package/Blueprint.API/bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.dll +0 -0
  44. package/Blueprint.API/bin/Debug/net8.0/Microsoft.CodeAnalysis.Workspaces.dll +0 -0
  45. package/Blueprint.API/bin/Debug/net8.0/Microsoft.CodeAnalysis.dll +0 -0
  46. package/Blueprint.API/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll +0 -0
  47. package/Blueprint.API/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Design.dll +0 -0
  48. package/Blueprint.API/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll +0 -0
  49. package/Blueprint.API/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll +0 -0
  50. package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll +0 -0
  51. package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
  52. package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll +0 -0
  53. package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.DependencyModel.dll +0 -0
  54. package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  55. package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.Logging.dll +0 -0
  56. package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.Options.dll +0 -0
  57. package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll +0 -0
  58. package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll +0 -0
  59. package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll +0 -0
  60. package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll +0 -0
  61. package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.dll +0 -0
  62. package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll +0 -0
  63. package/Blueprint.API/bin/Debug/net8.0/Microsoft.OpenApi.dll +0 -0
  64. package/Blueprint.API/bin/Debug/net8.0/MongoDB.Bson.dll +0 -0
  65. package/Blueprint.API/bin/Debug/net8.0/MongoDB.Driver.dll +0 -0
  66. package/Blueprint.API/bin/Debug/net8.0/Mono.TextTemplating.dll +0 -0
  67. package/Blueprint.API/bin/Debug/net8.0/MySqlConnector.dll +0 -0
  68. package/Blueprint.API/bin/Debug/net8.0/Pomelo.EntityFrameworkCore.MySql.dll +0 -0
  69. package/Blueprint.API/bin/Debug/net8.0/RabbitMQ.Client.dll +0 -0
  70. package/Blueprint.API/bin/Debug/net8.0/SharpCompress.dll +0 -0
  71. package/Blueprint.API/bin/Debug/net8.0/Snappier.dll +0 -0
  72. package/Blueprint.API/bin/Debug/net8.0/Swashbuckle.AspNetCore.Swagger.dll +0 -0
  73. package/Blueprint.API/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerGen.dll +0 -0
  74. package/Blueprint.API/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerUI.dll +0 -0
  75. package/Blueprint.API/bin/Debug/net8.0/System.CodeDom.dll +0 -0
  76. package/Blueprint.API/bin/Debug/net8.0/System.Composition.AttributedModel.dll +0 -0
  77. package/Blueprint.API/bin/Debug/net8.0/System.Composition.Convention.dll +0 -0
  78. package/Blueprint.API/bin/Debug/net8.0/System.Composition.Hosting.dll +0 -0
  79. package/Blueprint.API/bin/Debug/net8.0/System.Composition.Runtime.dll +0 -0
  80. package/Blueprint.API/bin/Debug/net8.0/System.Composition.TypedParts.dll +0 -0
  81. package/Blueprint.API/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll +0 -0
  82. package/Blueprint.API/bin/Debug/net8.0/ZstdSharp.dll +0 -0
  83. package/Blueprint.API/bin/Debug/net8.0/appsettings.Development.json +0 -8
  84. package/Blueprint.API/bin/Debug/net8.0/appsettings.json +0 -22
  85. package/Blueprint.API/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  86. package/Blueprint.API/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  87. package/Blueprint.API/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  88. package/Blueprint.API/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.resources.dll +0 -0
  89. package/Blueprint.API/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  90. package/Blueprint.API/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  91. package/Blueprint.API/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  92. package/Blueprint.API/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.resources.dll +0 -0
  93. package/Blueprint.API/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  94. package/Blueprint.API/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  95. package/Blueprint.API/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  96. package/Blueprint.API/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.resources.dll +0 -0
  97. package/Blueprint.API/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  98. package/Blueprint.API/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  99. package/Blueprint.API/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  100. package/Blueprint.API/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.resources.dll +0 -0
  101. package/Blueprint.API/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  102. package/Blueprint.API/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  103. package/Blueprint.API/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  104. package/Blueprint.API/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.resources.dll +0 -0
  105. package/Blueprint.API/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  106. package/Blueprint.API/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  107. package/Blueprint.API/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  108. package/Blueprint.API/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.resources.dll +0 -0
  109. package/Blueprint.API/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  110. package/Blueprint.API/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  111. package/Blueprint.API/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  112. package/Blueprint.API/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.resources.dll +0 -0
  113. package/Blueprint.API/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  114. package/Blueprint.API/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  115. package/Blueprint.API/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  116. package/Blueprint.API/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.resources.dll +0 -0
  117. package/Blueprint.API/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  118. package/Blueprint.API/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  119. package/Blueprint.API/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  120. package/Blueprint.API/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.resources.dll +0 -0
  121. package/Blueprint.API/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  122. package/Blueprint.API/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  123. package/Blueprint.API/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  124. package/Blueprint.API/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.resources.dll +0 -0
  125. package/Blueprint.API/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  126. package/Blueprint.API/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  127. package/Blueprint.API/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  128. package/Blueprint.API/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.resources.dll +0 -0
  129. package/Blueprint.API/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  130. package/Blueprint.API/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  131. package/Blueprint.API/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  132. package/Blueprint.API/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.resources.dll +0 -0
  133. package/Blueprint.API/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  134. package/Blueprint.API/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  135. package/Blueprint.API/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  136. package/Blueprint.API/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.resources.dll +0 -0
  137. package/Blueprint.API/obj/Blueprint.API.csproj.nuget.dgspec.json +0 -283
  138. package/Blueprint.API/obj/Blueprint.API.csproj.nuget.g.props +0 -28
  139. package/Blueprint.API/obj/Blueprint.API.csproj.nuget.g.targets +0 -11
  140. package/Blueprint.API/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +0 -4
  141. package/Blueprint.API/obj/Debug/net8.0/Blueprin.4BAE1BA3.Up2Date +0 -0
  142. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.AssemblyInfo.cs +0 -23
  143. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.AssemblyInfoInputs.cache +0 -1
  144. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.GeneratedMSBuildEditorConfig.editorconfig +0 -19
  145. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.GlobalUsings.g.cs +0 -17
  146. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.MvcApplicationPartsAssemblyInfo.cache +0 -0
  147. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.MvcApplicationPartsAssemblyInfo.cs +0 -18
  148. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.assets.cache +0 -0
  149. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.csproj.AssemblyReference.cache +0 -0
  150. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.csproj.BuildWithSkipAnalyzers +0 -0
  151. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.csproj.CoreCompileInputs.cache +0 -1
  152. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.csproj.FileListAbsolute.txt +0 -142
  153. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.dll +0 -0
  154. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.genruntimeconfig.cache +0 -1
  155. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.pdb +0 -0
  156. package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.sourcelink.json +0 -1
  157. package/Blueprint.API/obj/Debug/net8.0/apphost.exe +0 -0
  158. package/Blueprint.API/obj/Debug/net8.0/ref/Blueprint.API.dll +0 -0
  159. package/Blueprint.API/obj/Debug/net8.0/refint/Blueprint.API.dll +0 -0
  160. package/Blueprint.API/obj/Debug/net8.0/staticwebassets/msbuild.build.Blueprint.API.props +0 -3
  161. package/Blueprint.API/obj/Debug/net8.0/staticwebassets/msbuild.buildMultiTargeting.Blueprint.API.props +0 -3
  162. package/Blueprint.API/obj/Debug/net8.0/staticwebassets/msbuild.buildTransitive.Blueprint.API.props +0 -3
  163. package/Blueprint.API/obj/Debug/net8.0/staticwebassets.build.json +0 -11
  164. package/Blueprint.API/obj/project.assets.json +0 -5171
  165. package/Blueprint.API/obj/project.nuget.cache +0 -105
  166. package/Blueprint.API.sln +0 -43
  167. package/Blueprint.Core/Blueprint.Core.csproj +0 -15
  168. package/Blueprint.Core/Dtos/Requests/BaseRequestDto.cs +0 -25
  169. package/Blueprint.Core/Dtos/Requests/UserRequestDto.cs +0 -12
  170. package/Blueprint.Core/Dtos/Responses/BaseResponseDto.cs +0 -28
  171. package/Blueprint.Core/Dtos/Responses/UserResponseDto.cs +0 -11
  172. package/Blueprint.Core/Entities/BaseEntity.cs +0 -23
  173. package/Blueprint.Core/Entities/Category.cs +0 -9
  174. package/Blueprint.Core/Entities/Product.cs +0 -13
  175. package/Blueprint.Core/Entities/User.cs +0 -16
  176. package/Blueprint.Core/Enums/ActionType.cs +0 -11
  177. package/Blueprint.Core/Enums/UserRole.cs +0 -10
  178. package/Blueprint.Core/Interfaces/API/IItemService.cs +0 -13
  179. package/Blueprint.Core/Interfaces/API/IUserService.cs +0 -10
  180. package/Blueprint.Core/Interfaces/SPI/IItemInfra.cs +0 -14
  181. package/Blueprint.Core/Interfaces/SPI/IRabbitMqService.cs +0 -7
  182. package/Blueprint.Core/Interfaces/SPI/IRepositoryFactory.cs +0 -10
  183. package/Blueprint.Core/Interfaces/SPI/IUserInfra.cs +0 -10
  184. package/Blueprint.Core/Models/Error.cs +0 -69
  185. package/Blueprint.Core/Models/ErrorDetail.cs +0 -8
  186. package/Blueprint.Core/Models/PagerData.cs +0 -8
  187. package/Blueprint.Core/Models/PagingParams.cs +0 -8
  188. package/Blueprint.Core/Program.cs +0 -7
  189. package/Blueprint.Core/Properties/launchSettings.json +0 -12
  190. package/Blueprint.Core/Services/ItemService.cs +0 -47
  191. package/Blueprint.Core/Services/UserService.cs +0 -108
  192. package/Blueprint.Core/StaticClasses/Errors.cs +0 -20
  193. package/Blueprint.Core/Worker.cs +0 -24
  194. package/Blueprint.Core/appsettings.Development.json +0 -8
  195. package/Blueprint.Core/appsettings.json +0 -8
  196. package/Blueprint.Core/bin/Debug/net8.0/Blueprint.Core.deps.json +0 -777
  197. package/Blueprint.Core/bin/Debug/net8.0/Blueprint.Core.dll +0 -0
  198. package/Blueprint.Core/bin/Debug/net8.0/Blueprint.Core.exe +0 -0
  199. package/Blueprint.Core/bin/Debug/net8.0/Blueprint.Core.pdb +0 -0
  200. package/Blueprint.Core/bin/Debug/net8.0/Blueprint.Core.runtimeconfig.json +0 -12
  201. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Bcl.Memory.dll +0 -0
  202. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll +0 -0
  203. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Binder.dll +0 -0
  204. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll +0 -0
  205. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll +0 -0
  206. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll +0 -0
  207. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Json.dll +0 -0
  208. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll +0 -0
  209. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.dll +0 -0
  210. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
  211. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll +0 -0
  212. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll +0 -0
  213. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Diagnostics.dll +0 -0
  214. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll +0 -0
  215. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.FileProviders.Physical.dll +0 -0
  216. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll +0 -0
  217. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll +0 -0
  218. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Hosting.dll +0 -0
  219. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  220. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.Configuration.dll +0 -0
  221. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.Console.dll +0 -0
  222. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.Debug.dll +0 -0
  223. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.EventLog.dll +0 -0
  224. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.EventSource.dll +0 -0
  225. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.dll +0 -0
  226. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll +0 -0
  227. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Options.dll +0 -0
  228. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Primitives.dll +0 -0
  229. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll +0 -0
  230. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll +0 -0
  231. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll +0 -0
  232. package/Blueprint.Core/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll +0 -0
  233. package/Blueprint.Core/bin/Debug/net8.0/MongoDB.Bson.dll +0 -0
  234. package/Blueprint.Core/bin/Debug/net8.0/System.Diagnostics.EventLog.dll +0 -0
  235. package/Blueprint.Core/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll +0 -0
  236. package/Blueprint.Core/bin/Debug/net8.0/appsettings.Development.json +0 -8
  237. package/Blueprint.Core/bin/Debug/net8.0/appsettings.json +0 -8
  238. package/Blueprint.Core/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll +0 -0
  239. package/Blueprint.Core/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll +0 -0
  240. package/Blueprint.Core/obj/Blueprint.Core.csproj.nuget.dgspec.json +0 -83
  241. package/Blueprint.Core/obj/Blueprint.Core.csproj.nuget.g.props +0 -18
  242. package/Blueprint.Core/obj/Blueprint.Core.csproj.nuget.g.targets +0 -10
  243. package/Blueprint.Core/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +0 -4
  244. package/Blueprint.Core/obj/Debug/net8.0/Blueprin.55786069.Up2Date +0 -0
  245. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.AssemblyInfo.cs +0 -24
  246. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.AssemblyInfoInputs.cache +0 -1
  247. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.GeneratedMSBuildEditorConfig.editorconfig +0 -13
  248. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.GlobalUsings.g.cs +0 -12
  249. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.assets.cache +0 -0
  250. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.csproj.AssemblyReference.cache +0 -0
  251. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.csproj.BuildWithSkipAnalyzers +0 -0
  252. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.csproj.CoreCompileInputs.cache +0 -1
  253. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.csproj.FileListAbsolute.txt +0 -56
  254. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.dll +0 -0
  255. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.genruntimeconfig.cache +0 -1
  256. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.pdb +0 -0
  257. package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.sourcelink.json +0 -1
  258. package/Blueprint.Core/obj/Debug/net8.0/apphost.exe +0 -0
  259. package/Blueprint.Core/obj/Debug/net8.0/ref/Blueprint.Core.dll +0 -0
  260. package/Blueprint.Core/obj/Debug/net8.0/refint/Blueprint.Core.dll +0 -0
  261. package/Blueprint.Core/obj/project.assets.json +0 -2182
  262. package/Blueprint.Core/obj/project.nuget.cache +0 -49
  263. package/Blueprint.Infra/Blueprint.Infra.csproj +0 -29
  264. package/Blueprint.Infra/Database/DbInitializer.cs +0 -188
  265. package/Blueprint.Infra/Database/MyDbContext.cs +0 -24
  266. package/Blueprint.Infra/Program.cs +0 -7
  267. package/Blueprint.Infra/Properties/launchSettings.json +0 -12
  268. package/Blueprint.Infra/Services/MongoItemInfra.cs +0 -110
  269. package/Blueprint.Infra/Services/MongoUserInfra.cs +0 -31
  270. package/Blueprint.Infra/Services/MySQLItemInfra.cs +0 -111
  271. package/Blueprint.Infra/Services/MySQLUserInfra.cs +0 -30
  272. package/Blueprint.Infra/Services/RabbitMqService.cs +0 -61
  273. package/Blueprint.Infra/Services/RepositoryFactory.cs +0 -39
  274. package/Blueprint.Infra/Worker.cs +0 -24
  275. package/Blueprint.Infra/appsettings.Development.json +0 -8
  276. package/Blueprint.Infra/appsettings.json +0 -8
  277. package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Core.deps.json +0 -777
  278. package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Core.dll +0 -0
  279. package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Core.exe +0 -0
  280. package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Core.pdb +0 -0
  281. package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Core.runtimeconfig.json +0 -12
  282. package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Infra.deps.json +0 -1636
  283. package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Infra.dll +0 -0
  284. package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Infra.exe +0 -0
  285. package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Infra.pdb +0 -0
  286. package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Infra.runtimeconfig.json +0 -13
  287. package/Blueprint.Infra/bin/Debug/net8.0/DnsClient.dll +0 -0
  288. package/Blueprint.Infra/bin/Debug/net8.0/Humanizer.dll +0 -0
  289. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
  290. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Bcl.Memory.dll +0 -0
  291. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll +0 -0
  292. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.dll +0 -0
  293. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.CodeAnalysis.Workspaces.dll +0 -0
  294. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.CodeAnalysis.dll +0 -0
  295. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll +0 -0
  296. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Design.dll +0 -0
  297. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll +0 -0
  298. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll +0 -0
  299. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Caching.Abstractions.dll +0 -0
  300. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll +0 -0
  301. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll +0 -0
  302. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Binder.dll +0 -0
  303. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll +0 -0
  304. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll +0 -0
  305. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll +0 -0
  306. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Json.dll +0 -0
  307. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll +0 -0
  308. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.dll +0 -0
  309. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
  310. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll +0 -0
  311. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.DependencyModel.dll +0 -0
  312. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll +0 -0
  313. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Diagnostics.dll +0 -0
  314. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll +0 -0
  315. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.FileProviders.Physical.dll +0 -0
  316. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll +0 -0
  317. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll +0 -0
  318. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Hosting.dll +0 -0
  319. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  320. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.Configuration.dll +0 -0
  321. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.Console.dll +0 -0
  322. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.Debug.dll +0 -0
  323. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.EventLog.dll +0 -0
  324. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.EventSource.dll +0 -0
  325. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.dll +0 -0
  326. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll +0 -0
  327. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Options.dll +0 -0
  328. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Primitives.dll +0 -0
  329. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll +0 -0
  330. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll +0 -0
  331. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll +0 -0
  332. package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll +0 -0
  333. package/Blueprint.Infra/bin/Debug/net8.0/MongoDB.Bson.dll +0 -0
  334. package/Blueprint.Infra/bin/Debug/net8.0/MongoDB.Driver.dll +0 -0
  335. package/Blueprint.Infra/bin/Debug/net8.0/Mono.TextTemplating.dll +0 -0
  336. package/Blueprint.Infra/bin/Debug/net8.0/MySqlConnector.dll +0 -0
  337. package/Blueprint.Infra/bin/Debug/net8.0/Pomelo.EntityFrameworkCore.MySql.dll +0 -0
  338. package/Blueprint.Infra/bin/Debug/net8.0/RabbitMQ.Client.dll +0 -0
  339. package/Blueprint.Infra/bin/Debug/net8.0/SharpCompress.dll +0 -0
  340. package/Blueprint.Infra/bin/Debug/net8.0/Snappier.dll +0 -0
  341. package/Blueprint.Infra/bin/Debug/net8.0/System.CodeDom.dll +0 -0
  342. package/Blueprint.Infra/bin/Debug/net8.0/System.Composition.AttributedModel.dll +0 -0
  343. package/Blueprint.Infra/bin/Debug/net8.0/System.Composition.Convention.dll +0 -0
  344. package/Blueprint.Infra/bin/Debug/net8.0/System.Composition.Hosting.dll +0 -0
  345. package/Blueprint.Infra/bin/Debug/net8.0/System.Composition.Runtime.dll +0 -0
  346. package/Blueprint.Infra/bin/Debug/net8.0/System.Composition.TypedParts.dll +0 -0
  347. package/Blueprint.Infra/bin/Debug/net8.0/System.Diagnostics.EventLog.dll +0 -0
  348. package/Blueprint.Infra/bin/Debug/net8.0/System.IO.Pipelines.dll +0 -0
  349. package/Blueprint.Infra/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll +0 -0
  350. package/Blueprint.Infra/bin/Debug/net8.0/System.Threading.RateLimiting.dll +0 -0
  351. package/Blueprint.Infra/bin/Debug/net8.0/ZstdSharp.dll +0 -0
  352. package/Blueprint.Infra/bin/Debug/net8.0/appsettings.Development.json +0 -8
  353. package/Blueprint.Infra/bin/Debug/net8.0/appsettings.json +0 -8
  354. package/Blueprint.Infra/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  355. package/Blueprint.Infra/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  356. package/Blueprint.Infra/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  357. package/Blueprint.Infra/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.resources.dll +0 -0
  358. package/Blueprint.Infra/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  359. package/Blueprint.Infra/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  360. package/Blueprint.Infra/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  361. package/Blueprint.Infra/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.resources.dll +0 -0
  362. package/Blueprint.Infra/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  363. package/Blueprint.Infra/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  364. package/Blueprint.Infra/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  365. package/Blueprint.Infra/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.resources.dll +0 -0
  366. package/Blueprint.Infra/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  367. package/Blueprint.Infra/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  368. package/Blueprint.Infra/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  369. package/Blueprint.Infra/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.resources.dll +0 -0
  370. package/Blueprint.Infra/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  371. package/Blueprint.Infra/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  372. package/Blueprint.Infra/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  373. package/Blueprint.Infra/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.resources.dll +0 -0
  374. package/Blueprint.Infra/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  375. package/Blueprint.Infra/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  376. package/Blueprint.Infra/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  377. package/Blueprint.Infra/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.resources.dll +0 -0
  378. package/Blueprint.Infra/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  379. package/Blueprint.Infra/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  380. package/Blueprint.Infra/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  381. package/Blueprint.Infra/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.resources.dll +0 -0
  382. package/Blueprint.Infra/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  383. package/Blueprint.Infra/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  384. package/Blueprint.Infra/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  385. package/Blueprint.Infra/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.resources.dll +0 -0
  386. package/Blueprint.Infra/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  387. package/Blueprint.Infra/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  388. package/Blueprint.Infra/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  389. package/Blueprint.Infra/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.resources.dll +0 -0
  390. package/Blueprint.Infra/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  391. package/Blueprint.Infra/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  392. package/Blueprint.Infra/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  393. package/Blueprint.Infra/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.resources.dll +0 -0
  394. package/Blueprint.Infra/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll +0 -0
  395. package/Blueprint.Infra/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll +0 -0
  396. package/Blueprint.Infra/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  397. package/Blueprint.Infra/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  398. package/Blueprint.Infra/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  399. package/Blueprint.Infra/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.resources.dll +0 -0
  400. package/Blueprint.Infra/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  401. package/Blueprint.Infra/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  402. package/Blueprint.Infra/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  403. package/Blueprint.Infra/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.resources.dll +0 -0
  404. package/Blueprint.Infra/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  405. package/Blueprint.Infra/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  406. package/Blueprint.Infra/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  407. package/Blueprint.Infra/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.resources.dll +0 -0
  408. package/Blueprint.Infra/obj/Blueprint.Infra.csproj.nuget.dgspec.json +0 -176
  409. package/Blueprint.Infra/obj/Blueprint.Infra.csproj.nuget.g.props +0 -24
  410. package/Blueprint.Infra/obj/Blueprint.Infra.csproj.nuget.g.targets +0 -10
  411. package/Blueprint.Infra/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +0 -4
  412. package/Blueprint.Infra/obj/Debug/net8.0/Blueprin.DC076348.Up2Date +0 -0
  413. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.AssemblyInfo.cs +0 -24
  414. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.AssemblyInfoInputs.cache +0 -1
  415. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.GeneratedMSBuildEditorConfig.editorconfig +0 -13
  416. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.GlobalUsings.g.cs +0 -12
  417. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.assets.cache +0 -0
  418. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.csproj.AssemblyReference.cache +0 -0
  419. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.csproj.BuildWithSkipAnalyzers +0 -0
  420. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.csproj.CoreCompileInputs.cache +0 -1
  421. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.csproj.FileListAbsolute.txt +0 -143
  422. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.dll +0 -0
  423. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.genruntimeconfig.cache +0 -1
  424. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.pdb +0 -0
  425. package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.sourcelink.json +0 -1
  426. package/Blueprint.Infra/obj/Debug/net8.0/apphost.exe +0 -0
  427. package/Blueprint.Infra/obj/Debug/net8.0/ref/Blueprint.Infra.dll +0 -0
  428. package/Blueprint.Infra/obj/Debug/net8.0/refint/Blueprint.Infra.dll +0 -0
  429. package/Blueprint.Infra/obj/project.assets.json +0 -4442
  430. package/Blueprint.Infra/obj/project.nuget.cache +0 -92
  431. package/Blueprint.Test/Blueprint.Test.csproj +0 -29
  432. package/Blueprint.Test/UnitTest1.cs +0 -11
  433. package/Blueprint.Test/bin/Debug/net8.0/AWSSDK.Core.dll +0 -0
  434. package/Blueprint.Test/bin/Debug/net8.0/AWSSDK.Extensions.NETCore.Setup.dll +0 -0
  435. package/Blueprint.Test/bin/Debug/net8.0/AWSSDK.S3.dll +0 -0
  436. package/Blueprint.Test/bin/Debug/net8.0/AutoMapper.dll +0 -0
  437. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.API.deps.json +0 -1702
  438. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.API.dll +0 -0
  439. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.API.exe +0 -0
  440. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.API.pdb +0 -0
  441. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.API.runtimeconfig.json +0 -20
  442. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Core.deps.json +0 -777
  443. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Core.dll +0 -0
  444. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Core.exe +0 -0
  445. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Core.pdb +0 -0
  446. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Core.runtimeconfig.json +0 -12
  447. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Infra.deps.json +0 -1636
  448. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Infra.dll +0 -0
  449. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Infra.exe +0 -0
  450. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Infra.pdb +0 -0
  451. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Infra.runtimeconfig.json +0 -13
  452. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Test.deps.json +0 -2804
  453. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Test.dll +0 -0
  454. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Test.pdb +0 -0
  455. package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Test.runtimeconfig.json +0 -19
  456. package/Blueprint.Test/bin/Debug/net8.0/CoverletSourceRootsMapping_Blueprint.Test +0 -0
  457. package/Blueprint.Test/bin/Debug/net8.0/DnsClient.dll +0 -0
  458. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.AspNetCore.Authentication.JwtBearer.dll +0 -0
  459. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.AspNetCore.Mvc.Versioning.dll +0 -0
  460. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Bcl.Memory.dll +0 -0
  461. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll +0 -0
  462. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll +0 -0
  463. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll +0 -0
  464. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll +0 -0
  465. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
  466. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll +0 -0
  467. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  468. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.Logging.dll +0 -0
  469. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.Options.dll +0 -0
  470. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll +0 -0
  471. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll +0 -0
  472. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll +0 -0
  473. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll +0 -0
  474. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.dll +0 -0
  475. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll +0 -0
  476. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.OpenApi.dll +0 -0
  477. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.TestPlatform.CommunicationUtilities.dll +0 -0
  478. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.TestPlatform.CoreUtilities.dll +0 -0
  479. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.TestPlatform.CrossPlatEngine.dll +0 -0
  480. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.TestPlatform.PlatformAbstractions.dll +0 -0
  481. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.TestPlatform.Utilities.dll +0 -0
  482. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.VisualStudio.CodeCoverage.Shim.dll +0 -0
  483. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.VisualStudio.TestPlatform.Common.dll +0 -0
  484. package/Blueprint.Test/bin/Debug/net8.0/Microsoft.VisualStudio.TestPlatform.ObjectModel.dll +0 -0
  485. package/Blueprint.Test/bin/Debug/net8.0/MongoDB.Bson.dll +0 -0
  486. package/Blueprint.Test/bin/Debug/net8.0/MongoDB.Driver.dll +0 -0
  487. package/Blueprint.Test/bin/Debug/net8.0/MySqlConnector.dll +0 -0
  488. package/Blueprint.Test/bin/Debug/net8.0/Newtonsoft.Json.dll +0 -0
  489. package/Blueprint.Test/bin/Debug/net8.0/NuGet.Frameworks.dll +0 -0
  490. package/Blueprint.Test/bin/Debug/net8.0/Pomelo.EntityFrameworkCore.MySql.dll +0 -0
  491. package/Blueprint.Test/bin/Debug/net8.0/RabbitMQ.Client.dll +0 -0
  492. package/Blueprint.Test/bin/Debug/net8.0/SharpCompress.dll +0 -0
  493. package/Blueprint.Test/bin/Debug/net8.0/Snappier.dll +0 -0
  494. package/Blueprint.Test/bin/Debug/net8.0/Swashbuckle.AspNetCore.Swagger.dll +0 -0
  495. package/Blueprint.Test/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerGen.dll +0 -0
  496. package/Blueprint.Test/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerUI.dll +0 -0
  497. package/Blueprint.Test/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll +0 -0
  498. package/Blueprint.Test/bin/Debug/net8.0/ZstdSharp.dll +0 -0
  499. package/Blueprint.Test/bin/Debug/net8.0/appsettings.Development.json +0 -8
  500. package/Blueprint.Test/bin/Debug/net8.0/appsettings.json +0 -17
  501. package/Blueprint.Test/bin/Debug/net8.0/cs/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  502. package/Blueprint.Test/bin/Debug/net8.0/cs/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  503. package/Blueprint.Test/bin/Debug/net8.0/cs/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  504. package/Blueprint.Test/bin/Debug/net8.0/cs/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  505. package/Blueprint.Test/bin/Debug/net8.0/cs/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  506. package/Blueprint.Test/bin/Debug/net8.0/de/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  507. package/Blueprint.Test/bin/Debug/net8.0/de/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  508. package/Blueprint.Test/bin/Debug/net8.0/de/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  509. package/Blueprint.Test/bin/Debug/net8.0/de/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  510. package/Blueprint.Test/bin/Debug/net8.0/de/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  511. package/Blueprint.Test/bin/Debug/net8.0/es/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  512. package/Blueprint.Test/bin/Debug/net8.0/es/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  513. package/Blueprint.Test/bin/Debug/net8.0/es/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  514. package/Blueprint.Test/bin/Debug/net8.0/es/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  515. package/Blueprint.Test/bin/Debug/net8.0/es/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  516. package/Blueprint.Test/bin/Debug/net8.0/fr/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  517. package/Blueprint.Test/bin/Debug/net8.0/fr/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  518. package/Blueprint.Test/bin/Debug/net8.0/fr/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  519. package/Blueprint.Test/bin/Debug/net8.0/fr/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  520. package/Blueprint.Test/bin/Debug/net8.0/fr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  521. package/Blueprint.Test/bin/Debug/net8.0/it/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  522. package/Blueprint.Test/bin/Debug/net8.0/it/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  523. package/Blueprint.Test/bin/Debug/net8.0/it/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  524. package/Blueprint.Test/bin/Debug/net8.0/it/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  525. package/Blueprint.Test/bin/Debug/net8.0/it/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  526. package/Blueprint.Test/bin/Debug/net8.0/ja/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  527. package/Blueprint.Test/bin/Debug/net8.0/ja/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  528. package/Blueprint.Test/bin/Debug/net8.0/ja/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  529. package/Blueprint.Test/bin/Debug/net8.0/ja/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  530. package/Blueprint.Test/bin/Debug/net8.0/ja/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  531. package/Blueprint.Test/bin/Debug/net8.0/ko/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  532. package/Blueprint.Test/bin/Debug/net8.0/ko/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  533. package/Blueprint.Test/bin/Debug/net8.0/ko/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  534. package/Blueprint.Test/bin/Debug/net8.0/ko/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  535. package/Blueprint.Test/bin/Debug/net8.0/ko/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  536. package/Blueprint.Test/bin/Debug/net8.0/pl/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  537. package/Blueprint.Test/bin/Debug/net8.0/pl/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  538. package/Blueprint.Test/bin/Debug/net8.0/pl/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  539. package/Blueprint.Test/bin/Debug/net8.0/pl/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  540. package/Blueprint.Test/bin/Debug/net8.0/pl/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  541. package/Blueprint.Test/bin/Debug/net8.0/pt-BR/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  542. package/Blueprint.Test/bin/Debug/net8.0/pt-BR/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  543. package/Blueprint.Test/bin/Debug/net8.0/pt-BR/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  544. package/Blueprint.Test/bin/Debug/net8.0/pt-BR/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  545. package/Blueprint.Test/bin/Debug/net8.0/pt-BR/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  546. package/Blueprint.Test/bin/Debug/net8.0/ru/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  547. package/Blueprint.Test/bin/Debug/net8.0/ru/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  548. package/Blueprint.Test/bin/Debug/net8.0/ru/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  549. package/Blueprint.Test/bin/Debug/net8.0/ru/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  550. package/Blueprint.Test/bin/Debug/net8.0/ru/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  551. package/Blueprint.Test/bin/Debug/net8.0/testhost.dll +0 -0
  552. package/Blueprint.Test/bin/Debug/net8.0/testhost.exe +0 -0
  553. package/Blueprint.Test/bin/Debug/net8.0/tr/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  554. package/Blueprint.Test/bin/Debug/net8.0/tr/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  555. package/Blueprint.Test/bin/Debug/net8.0/tr/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  556. package/Blueprint.Test/bin/Debug/net8.0/tr/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  557. package/Blueprint.Test/bin/Debug/net8.0/tr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  558. package/Blueprint.Test/bin/Debug/net8.0/xunit.abstractions.dll +0 -0
  559. package/Blueprint.Test/bin/Debug/net8.0/xunit.assert.dll +0 -0
  560. package/Blueprint.Test/bin/Debug/net8.0/xunit.core.dll +0 -0
  561. package/Blueprint.Test/bin/Debug/net8.0/xunit.execution.dotnet.dll +0 -0
  562. package/Blueprint.Test/bin/Debug/net8.0/xunit.runner.reporters.netcoreapp10.dll +0 -0
  563. package/Blueprint.Test/bin/Debug/net8.0/xunit.runner.utility.netcoreapp10.dll +0 -0
  564. package/Blueprint.Test/bin/Debug/net8.0/xunit.runner.visualstudio.dotnetcore.testadapter.dll +0 -0
  565. package/Blueprint.Test/bin/Debug/net8.0/zh-Hans/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  566. package/Blueprint.Test/bin/Debug/net8.0/zh-Hans/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  567. package/Blueprint.Test/bin/Debug/net8.0/zh-Hans/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  568. package/Blueprint.Test/bin/Debug/net8.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  569. package/Blueprint.Test/bin/Debug/net8.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  570. package/Blueprint.Test/bin/Debug/net8.0/zh-Hant/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
  571. package/Blueprint.Test/bin/Debug/net8.0/zh-Hant/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
  572. package/Blueprint.Test/bin/Debug/net8.0/zh-Hant/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
  573. package/Blueprint.Test/bin/Debug/net8.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
  574. package/Blueprint.Test/bin/Debug/net8.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
  575. package/Blueprint.Test/obj/Blueprint.Test.csproj.nuget.dgspec.json +0 -372
  576. package/Blueprint.Test/obj/Blueprint.Test.csproj.nuget.g.props +0 -30
  577. package/Blueprint.Test/obj/Blueprint.Test.csproj.nuget.g.targets +0 -14
  578. package/Blueprint.Test/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +0 -4
  579. package/Blueprint.Test/obj/Debug/net8.0/Blueprin.BFA8907E.Up2Date +0 -0
  580. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.AssemblyInfo.cs +0 -23
  581. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.AssemblyInfoInputs.cache +0 -1
  582. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.GeneratedMSBuildEditorConfig.editorconfig +0 -13
  583. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.GlobalUsings.g.cs +0 -9
  584. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.assets.cache +0 -0
  585. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.csproj.AssemblyReference.cache +0 -0
  586. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.csproj.CoreCompileInputs.cache +0 -1
  587. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.csproj.FileListAbsolute.txt +0 -154
  588. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.dll +0 -0
  589. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.genruntimeconfig.cache +0 -1
  590. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.pdb +0 -0
  591. package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.sourcelink.json +0 -1
  592. package/Blueprint.Test/obj/Debug/net8.0/ref/Blueprint.Test.dll +0 -0
  593. package/Blueprint.Test/obj/Debug/net8.0/refint/Blueprint.Test.dll +0 -0
  594. package/Blueprint.Test/obj/project.assets.json +0 -9266
  595. package/Blueprint.Test/obj/project.nuget.cache +0 -170
  596. package/README.md +0 -0
  597. package/gitignore +0 -12
@@ -1,49 +0,0 @@
1
- {
2
- "version": 2,
3
- "dgSpecHash": "D6m8Geo8sLs=",
4
- "success": true,
5
- "projectFilePath": "D:\\@Projects\\@@ Blueprint\\NetWebAPIBlueprint\\Blueprint.API\\Blueprint.Core\\Blueprint.Core.csproj",
6
- "expectedPackageFiles": [
7
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.bcl.memory\\9.0.0\\microsoft.bcl.memory.9.0.0.nupkg.sha512",
8
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration\\8.0.0\\microsoft.extensions.configuration.8.0.0.nupkg.sha512",
9
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\8.0.0\\microsoft.extensions.configuration.abstractions.8.0.0.nupkg.sha512",
10
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.binder\\8.0.0\\microsoft.extensions.configuration.binder.8.0.0.nupkg.sha512",
11
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.commandline\\8.0.0\\microsoft.extensions.configuration.commandline.8.0.0.nupkg.sha512",
12
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.environmentvariables\\8.0.0\\microsoft.extensions.configuration.environmentvariables.8.0.0.nupkg.sha512",
13
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\8.0.0\\microsoft.extensions.configuration.fileextensions.8.0.0.nupkg.sha512",
14
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.json\\8.0.0\\microsoft.extensions.configuration.json.8.0.0.nupkg.sha512",
15
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.usersecrets\\8.0.0\\microsoft.extensions.configuration.usersecrets.8.0.0.nupkg.sha512",
16
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\8.0.0\\microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512",
17
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.0\\microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512",
18
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.diagnostics\\8.0.0\\microsoft.extensions.diagnostics.8.0.0.nupkg.sha512",
19
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.diagnostics.abstractions\\8.0.0\\microsoft.extensions.diagnostics.abstractions.8.0.0.nupkg.sha512",
20
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\8.0.0\\microsoft.extensions.fileproviders.abstractions.8.0.0.nupkg.sha512",
21
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\8.0.0\\microsoft.extensions.fileproviders.physical.8.0.0.nupkg.sha512",
22
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\8.0.0\\microsoft.extensions.filesystemglobbing.8.0.0.nupkg.sha512",
23
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.hosting\\8.0.0\\microsoft.extensions.hosting.8.0.0.nupkg.sha512",
24
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.hosting.abstractions\\8.0.0\\microsoft.extensions.hosting.abstractions.8.0.0.nupkg.sha512",
25
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging\\8.0.0\\microsoft.extensions.logging.8.0.0.nupkg.sha512",
26
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\8.0.0\\microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512",
27
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.configuration\\8.0.0\\microsoft.extensions.logging.configuration.8.0.0.nupkg.sha512",
28
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.console\\8.0.0\\microsoft.extensions.logging.console.8.0.0.nupkg.sha512",
29
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.debug\\8.0.0\\microsoft.extensions.logging.debug.8.0.0.nupkg.sha512",
30
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.eventlog\\8.0.0\\microsoft.extensions.logging.eventlog.8.0.0.nupkg.sha512",
31
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.eventsource\\8.0.0\\microsoft.extensions.logging.eventsource.8.0.0.nupkg.sha512",
32
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.options\\8.0.0\\microsoft.extensions.options.8.0.0.nupkg.sha512",
33
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\8.0.0\\microsoft.extensions.options.configurationextensions.8.0.0.nupkg.sha512",
34
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.primitives\\8.0.0\\microsoft.extensions.primitives.8.0.0.nupkg.sha512",
35
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.identitymodel.abstractions\\8.3.1\\microsoft.identitymodel.abstractions.8.3.1.nupkg.sha512",
36
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\8.3.1\\microsoft.identitymodel.jsonwebtokens.8.3.1.nupkg.sha512",
37
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.identitymodel.logging\\8.3.1\\microsoft.identitymodel.logging.8.3.1.nupkg.sha512",
38
- "C:\\Users\\Truong\\.nuget\\packages\\microsoft.identitymodel.tokens\\8.3.1\\microsoft.identitymodel.tokens.8.3.1.nupkg.sha512",
39
- "C:\\Users\\Truong\\.nuget\\packages\\mongodb.bson\\3.1.0\\mongodb.bson.3.1.0.nupkg.sha512",
40
- "C:\\Users\\Truong\\.nuget\\packages\\system.diagnostics.diagnosticsource\\8.0.0\\system.diagnostics.diagnosticsource.8.0.0.nupkg.sha512",
41
- "C:\\Users\\Truong\\.nuget\\packages\\system.diagnostics.eventlog\\8.0.0\\system.diagnostics.eventlog.8.0.0.nupkg.sha512",
42
- "C:\\Users\\Truong\\.nuget\\packages\\system.identitymodel.tokens.jwt\\8.3.1\\system.identitymodel.tokens.jwt.8.3.1.nupkg.sha512",
43
- "C:\\Users\\Truong\\.nuget\\packages\\system.memory\\4.5.5\\system.memory.4.5.5.nupkg.sha512",
44
- "C:\\Users\\Truong\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\5.0.0\\system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512",
45
- "C:\\Users\\Truong\\.nuget\\packages\\system.text.encodings.web\\8.0.0\\system.text.encodings.web.8.0.0.nupkg.sha512",
46
- "C:\\Users\\Truong\\.nuget\\packages\\system.text.json\\8.0.0\\system.text.json.8.0.0.nupkg.sha512"
47
- ],
48
- "logs": []
49
- }
@@ -1,29 +0,0 @@
1
- <Project Sdk="Microsoft.NET.Sdk.Worker">
2
-
3
- <PropertyGroup>
4
- <TargetFramework>net8.0</TargetFramework>
5
- <Nullable>enable</Nullable>
6
- <ImplicitUsings>enable</ImplicitUsings>
7
- <UserSecretsId>dotnet-Blueprint.Infra-8aff4112-afb5-45ca-b7eb-618ff5523ffe</UserSecretsId>
8
- </PropertyGroup>
9
-
10
- <ItemGroup>
11
- <PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.10" />
12
- <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.10">
13
- <PrivateAssets>all</PrivateAssets>
14
- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
15
- </PackageReference>
16
- <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
17
- <PackageReference Include="MongoDB.Driver" Version="3.1.0" />
18
- <PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.2" />
19
- <PackageReference Include="RabbitMQ.Client" Version="7.0.0" />
20
- </ItemGroup>
21
-
22
- <ItemGroup>
23
- <ProjectReference Include="..\Blueprint.Core\Blueprint.Core.csproj" />
24
- </ItemGroup>
25
-
26
- <ItemGroup>
27
- <Folder Include="Models\" />
28
- </ItemGroup>
29
- </Project>
@@ -1,188 +0,0 @@
1
- using Microsoft.EntityFrameworkCore;
2
- using Blueprint.Core.Entities;
3
-
4
- namespace Blueprint.Infra.Database
5
- {
6
- public class DbInitializer
7
- {
8
- private readonly ModelBuilder? modelBuilder;
9
- public DbInitializer(ModelBuilder modelBuilder)
10
- {
11
- this.modelBuilder = modelBuilder;
12
- }
13
-
14
- public void Seed()
15
- {
16
- modelBuilder?.Entity<User>().HasData(
17
- new User()
18
- {
19
- Id = 1,
20
- Name = "Test",
21
- Email = "",
22
- Active = true,
23
- CreatedDate = DateTime.Now,
24
- LastModifiedDate = DateTime.Now,
25
- },
26
- new User()
27
- {
28
- Id = 2,
29
- Name = "Truong Dang",
30
- Email = "truongdxfx08031@funix.edu.vn",
31
- Active = true,
32
- CreatedDate = DateTime.Now,
33
- LastModifiedDate = DateTime.Now,
34
- },
35
- new User()
36
- {
37
- Id = 3,
38
- Name = "Thai Son",
39
- Email = "truonghusk17aws1@gmail.com",
40
- Active = true,
41
- CreatedDate = DateTime.Now,
42
- LastModifiedDate = DateTime.Now,
43
- }
44
- );
45
- modelBuilder?.Entity<Category>().HasData(
46
- new Category()
47
- {
48
- Id = 1,
49
- Name = "Item 1",
50
- Active = true,
51
- CreatedDate = DateTime.Now,
52
- LastModifiedDate = DateTime.Now,
53
- },
54
- new Category()
55
- {
56
- Id = 2,
57
- Name = "Item 2",
58
- Active = true,
59
- CreatedDate = DateTime.Now,
60
- LastModifiedDate = DateTime.Now,
61
- }
62
- );
63
- modelBuilder?.Entity<Product>().HasData
64
- (
65
- new Product()
66
- {
67
- Id = 1,
68
- Name = "Item 1",
69
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Premtilmiue.png",
70
- Active = true,
71
- CreatedDate = DateTime.Now,
72
- LastModifiedDate = DateTime.Now,
73
- CategoryId = 1,
74
- },
75
- new Product()
76
- {
77
- Id = 2,
78
- Name = "Item 2",
79
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Protile.png",
80
- Active = true,
81
- CreatedDate = DateTime.Now,
82
- LastModifiedDate = DateTime.Now,
83
- CategoryId = 2,
84
- },
85
- new Product()
86
- {
87
- Id = 3,
88
- Name = "Item 3",
89
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Supertile.png",
90
- Active = true,
91
- CreatedDate = DateTime.Now,
92
- LastModifiedDate = DateTime.Now,
93
- CategoryId = 2,
94
- },
95
- new Product()
96
- {
97
- Id = 4,
98
- Name = "Item 4",
99
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-Sealant-HP.jpg",
100
- Active = true,
101
- CreatedDate = DateTime.Now,
102
- LastModifiedDate = DateTime.Now,
103
- CategoryId = 1,
104
- },
105
- new Product()
106
- {
107
- Id = 5,
108
- Name = "Item 5",
109
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-TOA-.jpg",
110
- Active = true,
111
- CreatedDate = DateTime.Now,
112
- LastModifiedDate = DateTime.Now,
113
- CategoryId = 2,
114
- },
115
- new Product()
116
- {
117
- Id = 6,
118
- Name = "Item 6",
119
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-TOA-1.jpg",
120
- Active = true,
121
- CreatedDate = DateTime.Now,
122
- LastModifiedDate = DateTime.Now,
123
- CategoryId = 2,
124
- },
125
- new Product()
126
- {
127
- Id = 7,
128
- Name = "Item 7",
129
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-TOA-303.jpg",
130
- Active = true,
131
- CreatedDate = DateTime.Now,
132
- LastModifiedDate = DateTime.Now,
133
- CategoryId = 1,
134
- },
135
- new Product()
136
- {
137
- Id = 8,
138
- Name = "Item 8",
139
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Premtilmiue.png",
140
- Active = true,
141
- CreatedDate = DateTime.Now,
142
- LastModifiedDate = DateTime.Now,
143
- CategoryId = 2,
144
- },
145
- new Product()
146
- {
147
- Id = 9,
148
- Name = "Item 9",
149
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Protile.png",
150
- Active = true,
151
- CreatedDate = DateTime.Now,
152
- LastModifiedDate = DateTime.Now,
153
- CategoryId = 2,
154
- },
155
- new Product()
156
- {
157
- Id = 10,
158
- Name = "Item 10",
159
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Supertile.png",
160
- Active = true,
161
- CreatedDate = DateTime.Now,
162
- LastModifiedDate = DateTime.Now,
163
- CategoryId = 1,
164
- },
165
- new Product()
166
- {
167
- Id = 11,
168
- Name = "Item 11",
169
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-Sealant-HP.jpg",
170
- Active = true,
171
- CreatedDate = DateTime.Now,
172
- LastModifiedDate = DateTime.Now,
173
- CategoryId = 2,
174
- },
175
- new Product()
176
- {
177
- Id = 12,
178
- Name = "Item 12",
179
- Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-TOA-.jpg",
180
- Active = true,
181
- CreatedDate = DateTime.Now,
182
- LastModifiedDate = DateTime.Now,
183
- CategoryId = 2,
184
- }
185
- );
186
- }
187
- }
188
- }
@@ -1,24 +0,0 @@
1
- using Microsoft.EntityFrameworkCore;
2
- using Blueprint.Core.Entities;
3
-
4
- namespace Blueprint.Infra.Database
5
- {
6
- public class MyDbContext: DbContext
7
- {
8
- public MyDbContext(DbContextOptions<MyDbContext> options) : base(options)
9
- {
10
-
11
- }
12
-
13
- protected override void OnModelCreating(ModelBuilder modelBuilder)
14
- {
15
- modelBuilder.Entity<User>();
16
- modelBuilder.Entity<Product>()
17
- .HasOne<Category>(a => a.Category)
18
- .WithMany(u => u.Products)
19
- .HasForeignKey(w => w.CategoryId).OnDelete(DeleteBehavior.Cascade);
20
-
21
- new DbInitializer(modelBuilder).Seed();
22
- }
23
- }
24
- }
@@ -1,7 +0,0 @@
1
- using Blueprint.Infra;
2
-
3
- var builder = Host.CreateApplicationBuilder(args);
4
- builder.Services.AddHostedService<Worker>();
5
-
6
- var host = builder.Build();
7
- host.Run();
@@ -1,12 +0,0 @@
1
- {
2
- "$schema": "http://json.schemastore.org/launchsettings.json",
3
- "profiles": {
4
- "Blueprint.Infra": {
5
- "commandName": "Project",
6
- "dotnetRunMessages": true,
7
- "environmentVariables": {
8
- "DOTNET_ENVIRONMENT": "Development"
9
- }
10
- }
11
- }
12
- }
@@ -1,110 +0,0 @@
1
- using Blueprint.Core.Entities;
2
- using Blueprint.Core.Errors;
3
- using Blueprint.Core.Interfaces.SPI;
4
- using Blueprint.Core.Models;
5
- using MongoDB.Driver;
6
-
7
- namespace Blueprint.Infra.Services
8
- {
9
- public class MongoItemInfra<T> : IItemInfra<T> where T : BaseEntity
10
- {
11
- public readonly IMongoCollection<T> _dbSet;
12
- public readonly ILogger<MongoItemInfra<T>> _logger;
13
-
14
- public MongoItemInfra(
15
- IMongoDatabase database,
16
- ILogger<MongoItemInfra<T>> logger)
17
- {
18
- _dbSet = database.GetCollection<T>(typeof(T).Name.ToLower());
19
- _logger = logger;
20
- }
21
- public async Task AddItemAsync(T item)
22
- {
23
- try
24
- {
25
- await _dbSet.InsertOneAsync(item);
26
- }
27
- catch (Exception ex)
28
- {
29
- _logger.LogError(ex, "Error while adding an item.");
30
- throw Errors.CannotQueryError;
31
- }
32
- }
33
-
34
- public async Task DeleteItemsAsync(List<int> ids)
35
- {
36
- try
37
- {
38
- // Build a filter to match all the IDs in the list
39
- var filter = Builders<T>.Filter.In("Id", ids);
40
-
41
- // Delete all matching documents
42
- var result = await _dbSet.DeleteManyAsync(filter);
43
- _logger.LogInformation($"Deleted {result.DeletedCount} items with the provided IDs.");
44
- }
45
- catch (Exception ex)
46
- {
47
- _logger.LogError(ex, $"Error while deleting items with IDs: {string.Join(", ", ids)}");
48
- throw Errors.CannotQueryError;
49
- }
50
- }
51
-
52
- public async Task<T> GetItemByIdAsync(int id)
53
- {
54
- try
55
- {
56
- return await _dbSet.Find(Builders<T>.Filter.Eq("Id", id)).FirstOrDefaultAsync();
57
- }
58
- catch (Exception ex)
59
- {
60
- _logger.LogError(ex, $"Error while fetching item with Id {id}");
61
- throw Errors.CannotQueryError;
62
- }
63
- }
64
-
65
- public async Task<PagerData<T>> GetItemsAsync(PagingParams pagingParams)
66
- {
67
- try
68
- {
69
- int skipValues = (pagingParams.Page - 1) * pagingParams.Per_Page;
70
- var filter = Builders<T>.Filter.Empty;
71
-
72
- var totalRecords = await _dbSet.CountDocumentsAsync(filter);
73
- var items = await _dbSet
74
- .Find(filter)
75
- .Sort(Builders<T>.Sort.Descending("Id")) // Sort by descending Id, adjust field as needed
76
- .Skip(skipValues)
77
- .Limit(pagingParams.Per_Page)
78
- .ToListAsync();
79
-
80
- return new PagerData<T>
81
- {
82
- Items = items,
83
- TotalRecords = (int)totalRecords
84
- };
85
- }
86
- catch (Exception ex)
87
- {
88
- // You can add logging here if needed
89
- throw Errors.CannotQueryError;
90
- }
91
- }
92
-
93
- public async Task UpdateItemAsync(T item)
94
- {
95
- try
96
- {
97
- var id = typeof(T).GetProperty("Id")?.GetValue(item);
98
- if (id == null)
99
- throw Errors.CannotFindTheItem;
100
-
101
- await _dbSet.ReplaceOneAsync(Builders<T>.Filter.Eq("Id", id), item);
102
- }
103
- catch (Exception ex)
104
- {
105
- _logger.LogError(ex, "Error while updating an item.");
106
- throw Errors.CannotQueryError;
107
- }
108
- }
109
- }
110
- }
@@ -1,31 +0,0 @@
1
- using Blueprint.Core.Entities;
2
- using Blueprint.Core.Errors;
3
- using Blueprint.Infra.Database;
4
- using Blueprint.Infra.Services;
5
- using Microsoft.EntityFrameworkCore;
6
- using MongoDB.Driver;
7
- using Template.Core.Interfaces.SPI;
8
-
9
- namespace Template.Infra.Services
10
- {
11
- public class MongoUserInfra : MongoItemInfra<User>, IUserInfra
12
- {
13
- public MongoUserInfra(IMongoDatabase dbContext, ILogger<MongoUserInfra> logger)
14
- : base(dbContext, logger)
15
- {
16
- }
17
-
18
- public async Task<User> GetUserByEmail(string email)
19
- {
20
- try
21
- {
22
- return await _dbSet.Find(p => p.Email == email).FirstOrDefaultAsync();
23
- }
24
- catch (Exception)
25
- {
26
- _logger.LogError($"Cannot get a user");
27
- throw Errors.CannotQueryError;
28
- }
29
- }
30
- }
31
- }
@@ -1,111 +0,0 @@
1
- using Microsoft.EntityFrameworkCore;
2
- using Blueprint.Core.Entities;
3
- using Blueprint.Core.Errors;
4
- using Blueprint.Core.Interfaces.SPI;
5
- using Blueprint.Core.Models;
6
- using Blueprint.Infra.Database;
7
-
8
- namespace Blueprint.Infra.Services
9
- {
10
- public class MySQLItemInfra<TEntity> : IItemInfra<TEntity> where TEntity : BaseEntity
11
- {
12
- public readonly DbContext _dbContext;
13
- public readonly DbSet<TEntity> _dbSet;
14
- public ILogger _logger;
15
- public MySQLItemInfra
16
- (
17
- MyDbContext dbContext,
18
- ILogger<MySQLItemInfra<TEntity>> logger
19
- )
20
- {
21
- _dbContext = dbContext;
22
- _logger = logger;
23
- _dbSet = _dbContext.Set<TEntity>();
24
- }
25
- public async Task AddItemAsync(TEntity item)
26
- {
27
- try
28
- {
29
- _dbSet.Add(item);
30
- await _dbContext.SaveChangesAsync();
31
- }
32
- catch (Exception)
33
- {
34
- _logger.LogError($"Cannot add an item");
35
- throw Errors.CannotQueryError;
36
- }
37
- }
38
-
39
- public async Task DeleteItemsAsync(List<int> ids)
40
- {
41
- try
42
- {
43
- List<TEntity> items = _dbSet.Where(p => ids.Contains(p.Id)).ToList();
44
- items.ForEach(i => i.Active = false);
45
- _dbSet.UpdateRange(items);
46
- await _dbContext.SaveChangesAsync();
47
- }
48
- catch (Exception)
49
- {
50
- _logger.LogError($"Cannot delete items");
51
- throw Errors.CannotQueryError;
52
- }
53
- }
54
-
55
- public Task<TEntity?> GetItemByIdAsync(int id)
56
- {
57
- try
58
- {
59
- return _dbSet.FirstOrDefaultAsync(p => p.Id == id);
60
- }
61
- catch (Exception)
62
- {
63
- _logger.LogError($"Cannot get a item");
64
- throw Errors.CannotQueryError;
65
- }
66
- }
67
-
68
- public virtual async Task<PagerData<TEntity>> GetItemsAsync(PagingParams pagingParams)
69
- {
70
- try
71
- {
72
- int skipValues = (pagingParams.Page - 1) * pagingParams.Per_Page;
73
- var query = _dbSet
74
- .Where(p => p.Active == true)
75
- .OrderByDescending(p => p.Id);
76
-
77
- List<TEntity> items = await query
78
- .Skip(skipValues)
79
- .Take(pagingParams.Per_Page)
80
- .ToListAsync();
81
-
82
- PagerData<TEntity> pagerData = new PagerData<TEntity>
83
- {
84
- Items = items,
85
- TotalRecords = (await query.ToListAsync()).Count()
86
- };
87
-
88
- return pagerData;
89
- }
90
- catch (Exception)
91
- {
92
- _logger.LogError($"Cannot get items");
93
- throw Errors.CannotQueryError;
94
- }
95
- }
96
-
97
- public async Task UpdateItemAsync(TEntity item)
98
- {
99
- try
100
- {
101
- _dbSet.Update(item);
102
- await _dbContext.SaveChangesAsync();
103
- }
104
- catch (Exception)
105
- {
106
- _logger.LogError($"Cannot update an item");
107
- throw Errors.CannotQueryError;
108
- }
109
- }
110
- }
111
- }
@@ -1,30 +0,0 @@
1
- using Blueprint.Core.Entities;
2
- using Blueprint.Core.Errors;
3
- using Blueprint.Infra.Database;
4
- using Blueprint.Infra.Services;
5
- using Microsoft.EntityFrameworkCore;
6
- using Template.Core.Interfaces.SPI;
7
-
8
- namespace Template.Infra.Services
9
- {
10
- public class MySQLUserInfra : MySQLItemInfra<User>, IUserInfra
11
- {
12
- public MySQLUserInfra(MyDbContext dbContext, ILogger<MySQLUserInfra> logger)
13
- : base(dbContext, logger)
14
- {
15
- }
16
-
17
- public async Task<User?> GetUserByEmail(string email)
18
- {
19
- try
20
- {
21
- return await _dbSet.FirstOrDefaultAsync(p => p.Email == email);
22
- }
23
- catch (Exception)
24
- {
25
- _logger.LogError($"Cannot get a user");
26
- throw Errors.CannotQueryError;
27
- }
28
- }
29
- }
30
- }
@@ -1,61 +0,0 @@
1
- using Blueprint.Core.Interfaces.SPI;
2
- using RabbitMQ.Client;
3
- using RabbitMQ.Client.Exceptions;
4
- using System.Text;
5
-
6
- namespace Blueprint.Infra.Services
7
- {
8
- public class RabbitMqService : IRabbitMqService
9
- {
10
- private IConnection? _connection;
11
- private IChannel? _channel;
12
- public RabbitMqService()
13
- {
14
- InitializeAsync().GetAwaiter().GetResult();
15
- }
16
-
17
- private async Task InitializeAsync()
18
- {
19
- try
20
- {
21
- var factory = new ConnectionFactory
22
- {
23
- HostName = "localhost", // Replace with RabbitMQ hostname
24
- UserName = "truongdx8", // RabbitMQ username
25
- Password = "12345678" // RabbitMQ password
26
- };
27
-
28
- // Use the asynchronous method to create the connection
29
- _connection = await factory.CreateConnectionAsync();
30
-
31
- // Create a channel for communication
32
- _channel = await _connection.CreateChannelAsync();
33
- }
34
- catch (BrokerUnreachableException ex)
35
- {
36
- Console.WriteLine($"Error connecting to RabbitMQ: {ex.Message}");
37
- throw;
38
- }
39
- catch (Exception ex)
40
- {
41
- Console.WriteLine($"Unexpected error: {ex.Message}");
42
- throw;
43
- }
44
- }
45
-
46
- public void PublishMessage(string queueName, string message)
47
- {
48
- _channel?.QueueDeclareAsync(queue: queueName,
49
- durable: true,
50
- exclusive: false,
51
- autoDelete: false,
52
- arguments: null);
53
-
54
- var body = Encoding.UTF8.GetBytes(message);
55
-
56
- _channel?.BasicPublishAsync(exchange: "",
57
- routingKey: queueName,
58
- body: body);
59
- }
60
- }
61
- }