From 5220e96b7e5c218c0e2783b1f93f7f04bf281c60 Mon Sep 17 00:00:00 2001 From: Eugene Kozyrev <67453079+EugeneKozyrev@users.noreply.github.com> Date: Wed, 6 Apr 2022 11:17:26 +0300 Subject: [PATCH 1/2] Add elasticsearch connection check (#606) --- build/install/win/AppServer.aip | 70 +++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 13 deletions(-) diff --git a/build/install/win/AppServer.aip b/build/install/win/AppServer.aip index b6ff919de0a..66777e53876 100644 --- a/build/install/win/AppServer.aip +++ b/build/install/win/AppServer.aip @@ -22,6 +22,10 @@ + + + + @@ -231,6 +235,7 @@ + @@ -243,6 +248,21 @@ + + + + + + + + + + + + + + + @@ -280,11 +300,11 @@ - - + + - + @@ -305,23 +325,40 @@ - - + + - - + + - - + + - - - - + + + + + + + + + + + + + + + + + + + + + @@ -331,6 +368,8 @@ + + @@ -388,9 +427,14 @@ + + + + + From a502c4ee52cfbce1a52582f9daa644e11dc93a33 Mon Sep 17 00:00:00 2001 From: pavelbannov Date: Thu, 7 Apr 2022 08:41:58 +0300 Subject: [PATCH 2/2] IPRestrictionsRepository: fixed saving data --- common/ASC.IPSecurity/IPRestrictionsRepository.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/common/ASC.IPSecurity/IPRestrictionsRepository.cs b/common/ASC.IPSecurity/IPRestrictionsRepository.cs index 419aafcffa3..c4cc8510599 100644 --- a/common/ASC.IPSecurity/IPRestrictionsRepository.cs +++ b/common/ASC.IPSecurity/IPRestrictionsRepository.cs @@ -75,6 +75,7 @@ public List Save(IEnumerable ips, int tenant) }); TenantDbContext.TenantIpRestrictions.AddRange(ipsList); + TenantDbContext.SaveChanges(); tx.Commit(); return ips.ToList();