From 2ec8d94b5e5aca601e46ec5a120a4aa3ea7749ec Mon Sep 17 00:00:00 2001 From: Rene Evertz Date: Fri, 13 Jun 2025 11:16:38 +0200 Subject: [PATCH] zwischenstand: ApiService.svc/Test erweitere Ansicht allowed_apis --- Host/Config/allowed_ips_admin_api.txt | 3 +++ Host/Host.csproj | 1 + Host/Web.Deploy.config | 5 ++++- Host/Web.config | 5 ++++- Service/BeWoServiceEnums.cs | 10 +++++++++- 5 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 Host/Config/allowed_ips_admin_api.txt diff --git a/Host/Config/allowed_ips_admin_api.txt b/Host/Config/allowed_ips_admin_api.txt new file mode 100644 index 000000000..e4bd89955 --- /dev/null +++ b/Host/Config/allowed_ips_admin_api.txt @@ -0,0 +1,3 @@ +188.40.107.122 +88.99.144.198 +95.223.45.70 \ No newline at end of file diff --git a/Host/Host.csproj b/Host/Host.csproj index 3d5cb8308..9c669d14a 100644 --- a/Host/Host.csproj +++ b/Host/Host.csproj @@ -178,6 +178,7 @@ + diff --git a/Host/Web.Deploy.config b/Host/Web.Deploy.config index 818d47ba1..7c5063511 100644 --- a/Host/Web.Deploy.config +++ b/Host/Web.Deploy.config @@ -324,6 +324,9 @@ - + + + + \ No newline at end of file diff --git a/Host/Web.config b/Host/Web.config index 4a25be9f7..d48e8f96e 100644 --- a/Host/Web.config +++ b/Host/Web.config @@ -396,7 +396,10 @@ - + + + + \ No newline at end of file diff --git a/Service/BeWoServiceEnums.cs b/Service/BeWoServiceEnums.cs index 12a5b3b05..91d76649a 100644 --- a/Service/BeWoServiceEnums.cs +++ b/Service/BeWoServiceEnums.cs @@ -13,7 +13,10 @@ namespace BeWo.Service StoredFilesFolderPath, StoredTenantFilesFolderPath, HelloWorldPdfLocation, - ServiceLogFilePath + ServiceLogFilePath, + WCFErrorLogFilePath, + JsonErrorLogFilePath, + ApiServiceTestFilePath } public enum WebSecretConfigSetting @@ -25,4 +28,9 @@ namespace BeWo.Service GoogleDistanceMatrixApiKey, GkvSecretKey, } + + public enum IPAddressList + { + AdminApi + } }