git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/social-networking/social-data-indexing-common@124136 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
454ede8198
commit
3ba8011835
5
pom.xml
5
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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());
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue