Costantino Perciante 2016-02-12 16:01:05 +00:00
parent 454ede8198
commit 3ba8011835
2 changed files with 2 additions and 8 deletions

View File

@ -49,11 +49,6 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.gcube.socialnetworking</groupId>
<artifactId>social-data-indexing-common</artifactId>
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>

View File

@ -1,6 +1,5 @@
package org.gcube.socialnetworking.social_data_indexing_common;
import org.gcube.common.authorization.library.provider.SecurityTokenProvider;
import org.gcube.socialnetworking.social_data_indexing_common.utils.ElasticSearchRunningCluster;
import org.junit.After;
import org.junit.Before;
@ -18,13 +17,13 @@ public class Tests {
@Before
public void beforeTest(){
// set security token
SecurityTokenProvider.instance.set("");
//SecurityTokenProvider.instance.set("");
}
@Test
public void retrieveElasticSearchInformation() throws Exception{
ElasticSearchRunningCluster es = new ElasticSearchRunningCluster("gcube");
ElasticSearchRunningCluster es = new ElasticSearchRunningCluster(null);
_log.debug("Result is " + es.getClusterName() + " " + es.getHosts() + " " + es.getPorts());
}