Commit Graph

  • e04e90d8c6 Add Status enum for HTTP and SQL operation status codes TekH 2026-03-30 10:41:09 +02:00
  • 93b5f976d3 Refactor stored procedure SQL construction and execution TekH 2026-03-30 09:30:07 +02:00
  • b66a49f74d Refactor: add StoredProcedureBuilder for SQL calls TekH 2026-03-27 15:11:16 +01:00
  • 70dc52139d Refactor SQL param and command construction in procedures TekH 2026-03-27 14:58:56 +01:00
  • 210ed9be8d Refactor SQL construction with StringBuilder for clarity TekH 2026-03-27 14:54:27 +01:00
  • b2544b64e3 Refactor: use named params in SP calls, cleanup usings TekH 2026-03-27 14:21:45 +01:00
  • 0b1e0d25ca Explicitly set SqlDbType.TinyInt for relevant SQL parameters TekH 2026-03-27 14:19:19 +01:00
  • c1027abfc6 Specify SqlDbType.SmallInt for relevant SqlParameters TekH 2026-03-27 13:30:28 +01:00
  • 40c8fa359c Specify SqlDbType.SmallInt for relevant SqlParameters TekH 2026-03-27 13:29:43 +01:00
  • 1375f5f0e4 Set @pRESULT_STATUS_ID param type to SmallInt explicitly TekH 2026-03-27 13:13:36 +01:00
  • 29bc0cf8b5 Relax RESULT validation to allow StatusId, Info, or Error TekH 2026-03-27 09:46:43 +01:00
  • c8b264cef6 Improve null safety in InsertObjectProcedureValidator TekH 2026-03-27 09:40:33 +01:00
  • 078525d85d Refactor RecAction invoke endpoint to use profileId param TekH 2026-03-27 09:26:13 +01:00
  • b3dfdd1e5c Update namespaces to Common.Dto for DTO-related files TekH 2026-03-26 16:52:54 +01:00
  • bd78ada686 Remove all DTO class definitions from application TekH 2026-03-26 15:48:49 +01:00
  • 2b4773a4c0 Remove Root and ActionId from ResultViewDto TekH 2026-03-26 15:48:35 +01:00
  • ff7d6c99ae Update RecActionViewDto mapping and add Profile property TekH 2026-03-26 15:48:06 +01:00
  • fa438e70cb Allow ReplacePlaceholders to handle null objects safely TekH 2026-03-26 15:32:00 +01:00
  • 4931d3b8aa Map queries with placeholders replaced in DTOs TekH 2026-03-26 15:28:08 +01:00
  • 6aae26bfb6 Update using directive to new Action namespace TekH 2026-03-26 15:23:30 +01:00
  • 38d8ef6e93 Update namespace in PlaceholderExtensions.cs TekH 2026-03-26 14:58:01 +01:00
  • 7bc5428bd4 Refactor: move query behaviors to Action namespace TekH 2026-03-26 14:40:50 +01:00
  • c405f369ac Add unit tests for InvokeAction placeholder replacement TekH 2026-03-26 14:37:58 +01:00
  • c2e073dade Add ReplacePlaceholders for SQL-style string interpolation TekH 2026-03-26 14:37:29 +01:00
  • 7a11ac3635 Add PlaceholderResolutionException for unresolved placeholders TekH 2026-03-26 14:36:35 +01:00
  • a91e3264b4 Remove Action folder reference from project file TekH 2026-03-26 14:35:39 +01:00
  • 2ae5251550 Rename class and update namespace for placeholder logic TekH 2026-03-26 13:48:16 +01:00
  • 56730c0d4e Make GetValueByColumnName a generic extension method TekH 2026-03-26 13:42:45 +01:00
  • d8aa032a57 Add ReflectionExtensions for property lookup by column name TekH 2026-03-26 13:16:04 +01:00
  • e96773f3c4 Remove DbModelConfigurationException and related logic TekH 2026-03-26 10:34:24 +01:00
  • 06e92b588f Remove DbModel configuration and related JSON file TekH 2026-03-26 10:34:05 +01:00
  • b922cbbb30 Remove ConfigureDbModel from dependency injection setup TekH 2026-03-26 10:32:24 +01:00
  • 6c56375e3e Refactor RecDbContext to remove dynamic view mapping TekH 2026-03-26 10:31:48 +01:00
  • fa9aa23f32 Add EF Core data annotations to view models TekH 2026-03-26 10:30:00 +01:00
  • b86d0c0f99 Add [Column] mapping attributes to query result classes TekH 2026-03-26 10:28:52 +01:00
  • b0d89ceba4 Remove properties from RecActionOptions class TekH 2026-03-25 16:13:32 +01:00
  • 11ebfdd21e Refactor DbModelOptions to use indexers for lookups TekH 2026-03-25 16:10:50 +01:00
  • 1467acc4a1 Refactor DbModel options to use generic entity mapping TekH 2026-03-25 15:25:29 +01:00
  • e761fbd1ca Add DbModel config to Rec services setup TekH 2026-03-25 13:30:12 +01:00
  • 2e83d4a24a Make RecDbContext model mapping fully configurable TekH 2026-03-25 13:29:29 +01:00
  • 37ba85d681 Add support for configuring DbModelOptions via DI TekH 2026-03-25 13:26:54 +01:00
  • a46cd08122 Refactor DbModel options to use explicit, typed classes TekH 2026-03-25 12:53:10 +01:00
  • 3d46901af5 Add DbModel view mappings to appsettings.DbModel.json TekH 2026-03-25 12:44:12 +01:00
  • 90e8adbd36 Update behavior namespaces to InvokeAction for clarity TekH 2026-03-25 11:43:30 +01:00
  • aef59def7f Add ResultType to InsertResultCommand in all handlers TekH 2026-03-25 11:17:38 +01:00
  • d7783b6e81 Make InsertObjectProcedure properties nullable, require ResultType TekH 2026-03-25 11:17:21 +01:00
  • 4126f984e4 Expand and refactor OutResDto for richer data support TekH 2026-03-25 11:06:07 +01:00
  • 0e2328c287 Add support for Result.Info, Error, and Type in insert proc TekH 2026-03-25 11:02:56 +01:00
  • e04e054151 Add optional ResultType to InsertResultCommand TekH 2026-03-25 11:02:35 +01:00
  • 6082a637fe Add mapping for result type fields in RecDbContext TekH 2026-03-25 11:00:12 +01:00
  • 93669a6358 Add Type and TypeName to ResultView model TekH 2026-03-25 10:59:33 +01:00
  • fecd9219b4 Add ResultType enum to ReC.Domain.Constants TekH 2026-03-25 10:58:45 +01:00
  • bd07b4482c Remove CS0618 warning suppression for ExceptionHandlingMiddleware TekH 2026-03-25 10:28:49 +01:00
  • 520aec427b Remove obsolete attribute and add exception using directive TekH 2026-03-25 10:27:41 +01:00
  • 26b7a82451 Handle RecActionException in middleware with 422 response TekH 2026-03-25 10:26:24 +01:00
  • 08c0d29d84 Improve error handling and logging in batch rec actions TekH 2026-03-25 10:25:52 +01:00
  • 405b5f3ab1 Add ActionId and ProfileId properties to RecActionException TekH 2026-03-25 10:17:24 +01:00
  • 32af65d30c Remove InvokeBatchRecActionViewsCommand extension method TekH 2026-03-25 10:07:15 +01:00
  • 30ccf05c57 Use RecActionException for contextual error handling TekH 2026-03-25 09:58:02 +01:00
  • a14d5ff112 Improve error handling with RecActionException TekH 2026-03-25 09:57:46 +01:00
  • fec125b0d5 Improve exception context in action error handling TekH 2026-03-25 09:56:58 +01:00
  • 82ae4c5957 Add RecActionException custom exception class TekH 2026-03-25 09:55:52 +01:00
  • 894b7bb070 Improve error handling and resource cleanup in action handler TekH 2026-03-24 17:02:06 +01:00
  • a707cce6e4 Refactor error handling in Pre/Postprocessing behaviors TekH 2026-03-24 16:19:00 +01:00
  • 2ca85a2372 Refactor action behaviors to use Unit instead of bool TekH 2026-03-24 16:01:24 +01:00
  • dbe09cd07b Refactor error handling in RecActionView invocation TekH 2026-03-24 16:00:47 +01:00
  • 690dcea7a8 Add PostprocessingBehavior to MediatR pipeline TekH 2026-03-24 14:41:41 +01:00
  • fdae4d26be Add PostprocessingBehavior for action result logging TekH 2026-03-24 14:40:52 +01:00
  • 2883cf9be4 Add PreprocessingBehavior for InvokeRecActionViewCommand TekH 2026-03-24 14:15:01 +01:00
  • 9410c5dc0d Refactor PreprocessingBehavior to log results and errors TekH 2026-03-24 14:01:45 +01:00
  • 35e99d9f2a Change ExecuteDynamicSqlAsync to return object list TekH 2026-03-24 13:26:10 +01:00
  • 5fd65e52a3 Pass CancellationToken to ExecuteDynamicSqlAsync TekH 2026-03-24 13:21:40 +01:00
  • 2508a8b986 Add CancellationToken to ExecuteDynamicSqlAsync method TekH 2026-03-24 13:21:05 +01:00
  • daff1477be Refactor PUT endpoints to use id in route and DTO in body TekH 2026-03-24 12:07:50 +01:00
  • dcfa47c68d Update DELETE endpoints to use [FromQuery] parameters TekH 2026-03-24 11:57:53 +01:00
  • e691faf620 Rename Result*Procedure to Result*Command for consistency TekH 2026-03-24 11:40:28 +01:00
  • cac33c46df Rename *ActionProcedure classes to *ActionCommand TekH 2026-03-24 11:39:55 +01:00
  • de503cac5b Rename Profile*Procedure types to Profile*Command for clarity TekH 2026-03-24 11:39:04 +01:00
  • 4999beda3b Refactor endpoint Procedures to Commands for CQRS alignment TekH 2026-03-24 11:38:22 +01:00
  • 5df36d94e0 Rename EndpointParams procedures to commands for CQRS clarity TekH 2026-03-24 11:37:30 +01:00
  • d3d24a0fb6 Refactor: Rename UpdateEndpointAuthProcedure to Command TekH 2026-03-24 11:36:49 +01:00
  • a6b0cbaf9d Rename InsertEndpointAuthProcedure to InsertEndpointAuthCommand TekH 2026-03-24 11:35:58 +01:00
  • 0162d059da Refactor: Rename DeleteEndpointAuthProcedure to Command TekH 2026-03-24 11:31:33 +01:00
  • 302fee4908 Refactor tests to send commands directly to mediator TekH 2026-03-24 11:29:15 +01:00
  • 3e10176d98 Add PreprocessingBehavior for action command pipeline TekH 2026-03-24 11:14:11 +01:00
  • 4f0f99e0f8 Refactor InsertResultProcedure execution method TekH 2026-03-24 11:11:36 +01:00
  • 8fb4b4005c Refactor UpdateObjectProcedure to use DTO properties TekH 2026-03-24 11:11:12 +01:00
  • b3bb7144ef Refactor IUpdateProcedure to generic with Id and Data props TekH 2026-03-24 11:10:47 +01:00
  • eff6350d77 Refactor update procedures to use DTO-based pattern TekH 2026-03-24 11:09:46 +01:00
  • 114b5de71d Add Update DTOs for partial entity updates in Procedures TekH 2026-03-24 11:08:37 +01:00
  • f786192786 Refactor ResultController to use mediator.Send for commands TekH 2026-03-24 11:07:42 +01:00
  • 50741bfdd3 Refactor RecActionController to use MediatR Send only TekH 2026-03-24 11:06:20 +01:00
  • 561eafe48c Refactor ProfileController to use MediatR Send method TekH 2026-03-24 11:04:41 +01:00
  • 84358ced96 Refactor EndpointsController to use standard MediatR pattern TekH 2026-03-24 11:03:28 +01:00
  • d2e97a2fef Refactor EndpointParamsController to use MediatR.Send TekH 2026-03-24 11:02:58 +01:00
  • d505c8415e Refactor EndpointAuthController to use MediatR Send TekH 2026-03-24 10:58:43 +01:00
  • a590ffd2dc Refactor InsertProfileProcedure to use MediatR handler TekH 2026-03-24 10:14:58 +01:00
  • 94da75ce37 Add MediatR handler for DeleteProfileProcedure command TekH 2026-03-24 10:14:10 +01:00
  • 9c1ffd7df8 Refactor UpdateEndpointProcedure and add handler TekH 2026-03-24 10:13:35 +01:00
  • e31d034266 Refactor InsertEndpointProcedure; add MediatR handler TekH 2026-03-24 10:13:12 +01:00