diff --git a/.classpath b/.classpath
index e50289f..5c3ac53 100755
--- a/.classpath
+++ b/.classpath
@@ -17,7 +17,11 @@
-
+
+
+
+
+
diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs
index 1c075a8..a931bf8 100755
--- a/.settings/org.eclipse.core.resources.prefs
+++ b/.settings/org.eclipse.core.resources.prefs
@@ -2,4 +2,5 @@ eclipse.preferences.version=1
encoding***REMOVED***src/main/java=UTF-8
encoding***REMOVED***src/main/resources=UTF-8
encoding***REMOVED***src/test/java=UTF-8
+encoding***REMOVED***src/test/resources=UTF-8
encoding/=UTF-8
diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component
index 0da405d..b6b38a3 100755
--- a/.settings/org.eclipse.wst.common.component
+++ b/.settings/org.eclipse.wst.common.component
@@ -1,5 +1,5 @@
-
+
diff --git a/changelog.xml b/changelog.xml
index b185ddf..51865af 100644
--- a/changelog.xml
+++ b/changelog.xml
@@ -1,4 +1,7 @@
+
+ Updated to new Social Networking API [ticket #19081]
+
Updated to Git and Jenkins
Knime 4.1 added [ticket #18190]
diff --git a/pom.xml b/pom.xml
index 4259558..01496ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
org.gcube.dataanalysis
dataminer-pool-manager
war
- 2.6.0
+ 2.7.0-SNAPSHOT
dataminer-pool-manager
DataMiner Pool Manager is a service to support the integration of algorithms in D4Science Infrastructure
diff --git a/src/main/java/org/gcube/dataanalysis/dataminer/poolmanager/clients/configuration/DMPMClientConfiguratorManager.java b/src/main/java/org/gcube/dataanalysis/dataminer/poolmanager/clients/configuration/DMPMClientConfiguratorManager.java
index 650ab5c..d67ebac 100755
--- a/src/main/java/org/gcube/dataanalysis/dataminer/poolmanager/clients/configuration/DMPMClientConfiguratorManager.java
+++ b/src/main/java/org/gcube/dataanalysis/dataminer/poolmanager/clients/configuration/DMPMClientConfiguratorManager.java
@@ -1,7 +1,9 @@
package org.gcube.dataanalysis.dataminer.poolmanager.clients.configuration;
***REMOVED***
+import java.util.ArrayList;
import java.util.Iterator;
+***REMOVED***
import java.util.Properties;
***REMOVED***
@@ -11,105 +13,90 @@ import org.gcube.dataanalysis.dataminer.poolmanager.clients.configuration.Config
***REMOVED***
import org.tmatesoft.svn.core.SVNException;
-public class DMPMClientConfiguratorManager
-{
- private final Logger logger;
+public class DMPMClientConfiguratorManager {
+ private final Logger logger;
private Properties defaultAdmins;
- private String admins;
-
+
static DMPMClientConfiguratorManager instance;
-
- private ScopedCacheMap cacheMap;
-
- private DMPMClientConfiguratorManager ()
- {
- this.admins = null;
+
+ private ScopedCacheMap cacheMap;
+
+ private DMPMClientConfiguratorManager() {
this.cacheMap = new ScopedCacheMap();
this.logger = LoggerFactory.getLogger(DMPMClientConfiguratorManager.class);
this.defaultAdmins = new Properties();
-
- try
- {
+
+ try {
this.defaultAdmins.load(this.getClass().getResourceAsStream("/default.admins"));
this.logger.debug("Default users successfully loaded");
- ***REMOVED*** catch (Exception e)
- {
- this.logger.error("Unable to get default users",e);
+ ***REMOVED*** catch (Exception e) {
+ this.logger.error("Unable to get default users", e);
***REMOVED***
***REMOVED***
-
- private ClientConfigurationCache getCurrentCache ()
- {
+
+ private ClientConfigurationCache getCurrentCache() {
String currentScope = ScopeProvider.instance.get();
- this.logger.debug("Current scope = "+currentScope);
+ this.logger.debug("Current scope = " + currentScope);
this.logger.debug("Getting current configuration cache");
ClientConfigurationCache cache = this.cacheMap.get(currentScope);
-
- if (cache == null)
- {
- this.logger.debug("Cache not created yet, creating...");
- cache = new ClientConfigurationCache ();
- this.cacheMap.put(currentScope, cache);
-
- ***REMOVED***
-
- return cache;
-
-
-***REMOVED***
-
- public static DMPMClientConfiguratorManager getInstance ()
- {
- if (instance == null) instance = new DMPMClientConfiguratorManager();
-
+ if (cache == null) {
+ this.logger.debug("Cache not created yet, creating...");
+ cache = new ClientConfigurationCache();
+ this.cacheMap.put(currentScope, cache);
+
+ ***REMOVED***
+
+ return cache;
+
+***REMOVED***
+
+ public static DMPMClientConfiguratorManager getInstance() {
+ if (instance == null)
+ instance = new DMPMClientConfiguratorManager();
+
return instance;
***REMOVED***
-
- public Configuration getProductionConfiguration ()
- {
+
+ public Configuration getProductionConfiguration() {
return new ConfigurationImpl(CONFIGURATIONS.PROD, getCurrentCache());
***REMOVED***
-
- public Configuration getStagingConfiguration ()
- {
+
+ public Configuration getStagingConfiguration() {
return new ConfigurationImpl(CONFIGURATIONS.STAGE, getCurrentCache());
***REMOVED***
-
- public String getDefaultAdmins ()
- {
- if (this.admins == null && this.defaultAdmins.isEmpty()) this.admins= "ciro.formisano";
- else if (admins == null)
- {
- Iterator