From 5a2f00813b1e265c9df54c348c8d578f5688e444 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Fri, 17 May 2024 11:16:13 +0200 Subject: [PATCH] maven parent 1.2.0 --- CHANGELOG.md | 1 + pom.xml | 2 +- .../gcube/portal/social/networking/caches/GroupsCache.java | 2 +- .../social/networking/caches/SocialNetworkingSiteFinder.java | 4 ++-- .../org/gcube/portal/social/networking/caches/UsersCache.java | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4674b77..d10a35d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [v3.0.1-SNAPSHOT] - 2023-04-22 - Feature 27286: removed noisy logs +- Bug 27218: advance social networking library version ## [v3.0.0-SNAPSHOT] - 2023-12-06 diff --git a/pom.xml b/pom.xml index d3911bb..124e57f 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.gcube.tools maven-parent - 1.1.0 + 1.2.0 org.gcube.portal diff --git a/src/main/java/org/gcube/portal/social/networking/caches/GroupsCache.java b/src/main/java/org/gcube/portal/social/networking/caches/GroupsCache.java index 452e1f8..0903904 100644 --- a/src/main/java/org/gcube/portal/social/networking/caches/GroupsCache.java +++ b/src/main/java/org/gcube/portal/social/networking/caches/GroupsCache.java @@ -16,7 +16,7 @@ public class GroupsCache { */ private GroupsCache(){ - logger.info("Building cache"); + logger.debug("Building cache"); CachesManager.getCache(CachesManager.GROUPS_CACHE); } diff --git a/src/main/java/org/gcube/portal/social/networking/caches/SocialNetworkingSiteFinder.java b/src/main/java/org/gcube/portal/social/networking/caches/SocialNetworkingSiteFinder.java index 2b8c037..1823b5d 100644 --- a/src/main/java/org/gcube/portal/social/networking/caches/SocialNetworkingSiteFinder.java +++ b/src/main/java/org/gcube/portal/social/networking/caches/SocialNetworkingSiteFinder.java @@ -55,7 +55,7 @@ public class SocialNetworkingSiteFinder { // read fallback properties try{ - logger.info("Trying to read config.properties"); + logger.debug("Trying to read config.properties"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream input = classLoader.getResourceAsStream("config.properties"); Properties properties = new Properties(); @@ -140,7 +140,7 @@ public class SocialNetworkingSiteFinder { if(gatewayVirtualGroups != null && !gatewayVirtualGroups.isEmpty()){ for (VirtualGroup gatewayVirtualGroup : gatewayVirtualGroups) { if(virtualGroupsOfGroup.contains(gatewayVirtualGroup)){ - logger.info("Matching gateway for scope " + scope + " is " + gateway); + logger.debug("Matching gateway for scope " + scope + " is " + gateway); matchingGateway = gateway; break ext_loop; } diff --git a/src/main/java/org/gcube/portal/social/networking/caches/UsersCache.java b/src/main/java/org/gcube/portal/social/networking/caches/UsersCache.java index 5f80ad9..d909845 100644 --- a/src/main/java/org/gcube/portal/social/networking/caches/UsersCache.java +++ b/src/main/java/org/gcube/portal/social/networking/caches/UsersCache.java @@ -33,7 +33,7 @@ public class UsersCache{ new Thread(){ public void run() { try{ - logger.info("Fetching users and putting them into cache"); + logger.debug("Fetching users and putting them into cache"); Ehcache usersCache = CachesManager.getCache(CachesManager.USERS_CACHE); GroupManager groupManager = GroupManagerWSBuilder.getInstance().getGroupManager(); UserManager userManager = UserManagerWSBuilder.getInstance().getUserManager();