From b535ef32af54560c99aaf005ef3e33c80164eef2 Mon Sep 17 00:00:00 2001 From: Jindrich Susen Date: Mon, 22 Jan 2024 11:44:05 +0100 Subject: [PATCH 1/4] + HttpStatusCode field --- Origam.Service.Core/RuleExceptionData.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Origam.Service.Core/RuleExceptionData.cs b/Origam.Service.Core/RuleExceptionData.cs index 187e4ba..a3d718a 100644 --- a/Origam.Service.Core/RuleExceptionData.cs +++ b/Origam.Service.Core/RuleExceptionData.cs @@ -56,6 +56,8 @@ public RuleExceptionData(string message) public string FieldName = ""; public string EntityName = ""; public string Message = ""; + public int HttpStatusCode = 400; public RuleExceptionSeverity Severity; - } + + } } From 93c7153d0cc871a52afb2f66d3ad99c0ad6c49c9 Mon Sep 17 00:00:00 2001 From: Jindrich Susen Date: Mon, 22 Jan 2024 11:45:19 +0100 Subject: [PATCH 2/4] ~ Version to 2.3.0 --- Origam.Service.Core/Origam.Service.Core.csproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Origam.Service.Core/Origam.Service.Core.csproj b/Origam.Service.Core/Origam.Service.Core.csproj index 608896b..3581cc3 100644 --- a/Origam.Service.Core/Origam.Service.Core.csproj +++ b/Origam.Service.Core/Origam.Service.Core.csproj @@ -8,14 +8,14 @@ https://github.com/origam/service-core origam - 2.2.2 - 2.2.2 + 2.3.0 + 2.3.0 GPL-3.0-only origam-icon-large.png false origam - 2.2.2 - 2.2.2 + 2.3.0 + 2.3.0 netstandard2.0 10 From 654b24fd2a008200a29d44ef81e86335d886cda5 Mon Sep 17 00:00:00 2001 From: Jindrich Susen Date: Mon, 22 Jan 2024 13:47:17 +0100 Subject: [PATCH 3/4] - HttpStatusCode from json serialization --- Origam.Service.Core/Origam.Service.Core.csproj | 1 + Origam.Service.Core/RuleExceptionData.cs | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Origam.Service.Core/Origam.Service.Core.csproj b/Origam.Service.Core/Origam.Service.Core.csproj index 3581cc3..8b4bc2e 100644 --- a/Origam.Service.Core/Origam.Service.Core.csproj +++ b/Origam.Service.Core/Origam.Service.Core.csproj @@ -46,6 +46,7 @@ + diff --git a/Origam.Service.Core/RuleExceptionData.cs b/Origam.Service.Core/RuleExceptionData.cs index a3d718a..abaefca 100644 --- a/Origam.Service.Core/RuleExceptionData.cs +++ b/Origam.Service.Core/RuleExceptionData.cs @@ -19,6 +19,7 @@ */ #endregion +using Newtonsoft.Json; using System; namespace Origam.Service.Core @@ -56,7 +57,8 @@ public RuleExceptionData(string message) public string FieldName = ""; public string EntityName = ""; public string Message = ""; - public int HttpStatusCode = 400; + [JsonIgnore] + public int HttpStatusCode = 400; public RuleExceptionSeverity Severity; } From cadaf985516a9469bc3277730f674046f7f503b1 Mon Sep 17 00:00:00 2001 From: Jindrich Susen Date: Mon, 22 Jan 2024 13:47:52 +0100 Subject: [PATCH 4/4] ~ Version to 2.3.1 --- Origam.Service.Core/Origam.Service.Core.csproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Origam.Service.Core/Origam.Service.Core.csproj b/Origam.Service.Core/Origam.Service.Core.csproj index 8b4bc2e..3f5ca1c 100644 --- a/Origam.Service.Core/Origam.Service.Core.csproj +++ b/Origam.Service.Core/Origam.Service.Core.csproj @@ -8,14 +8,14 @@ https://github.com/origam/service-core origam - 2.3.0 - 2.3.0 + 2.3.1 + 2.3.1 GPL-3.0-only origam-icon-large.png false origam - 2.3.0 - 2.3.0 + 2.3.1 + 2.3.1 netstandard2.0 10