updated astyanax dependencies
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@131390 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
350088cbd4
commit
06fab8b5f1
2
pom.xml
2
pom.xml
|
@ -10,7 +10,7 @@
|
|||
|
||||
<groupId>org.gcube.portal</groupId>
|
||||
<artifactId>social-networking-library</artifactId>
|
||||
<version>1.13.0-SNAPSHOT</version>
|
||||
<version>1.14.0-SNAPSHOT</version>
|
||||
<name>gCube Social Networking Library</name>
|
||||
<description>
|
||||
The gCube Social Networking Library is the 'bridge' between your gCube Applications and the social networking facilities.
|
||||
|
|
|
@ -60,7 +60,7 @@ public class RunningCluster implements Serializable {
|
|||
private String keyspaceName;
|
||||
|
||||
/**
|
||||
* @ param infrastructureName could be null
|
||||
* @param infrastructureName could be null
|
||||
* @return an instance of the RunningCluster
|
||||
*/
|
||||
public static synchronized RunningCluster getInstance(String infrastructureName) {
|
||||
|
@ -103,11 +103,14 @@ public class RunningCluster implements Serializable {
|
|||
*/
|
||||
private List<ServiceEndpoint> getConfigurationFromIS(String infrastructureName) throws Exception {
|
||||
PortalContext context = PortalContext.getConfiguration();
|
||||
_log.debug("getConfigurationFromIS infrastructureName="+infrastructureName );
|
||||
String scope = "/";
|
||||
if(infrastructureName != null && !infrastructureName.isEmpty())
|
||||
scope += infrastructureName;
|
||||
else
|
||||
scope += context.getInfrastructureName();
|
||||
else {
|
||||
scope = context.getInfrastructureName();
|
||||
_log.debug("infrastrucute name is null, setting root scope=" + scope);
|
||||
}
|
||||
String currScope = ScopeProvider.instance.get();
|
||||
ScopeProvider.instance.set(scope);
|
||||
SimpleQuery query = queryFor(ServiceEndpoint.class);
|
||||
|
|
Loading…
Reference in New Issue