Strabon

changeset 1382:a206d4d3281c

changes in the URLs of publicly accessible endpoints that are used for testing the endpoint-client
author Babis Nikolaou <charnik@di.uoa.gr>
date Wed Sep 17 14:15:46 2014 +0300 (2014-09-17)
parents 43807601f063
children 406d4e773eee
files endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointStoreWithStrabon.java endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointUpdateWithStrabon.java endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointWithStrabon.java endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointWithVirtuoso.java endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSpatialEndpoint.java
line diff
     1.1 --- a/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointStoreWithStrabon.java	Wed Sep 17 12:07:43 2014 +0300
     1.2 +++ b/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointStoreWithStrabon.java	Wed Sep 17 14:15:46 2014 +0300
     1.3 @@ -9,17 +9,12 @@
     1.4   */
     1.5  package eu.earthobservatory.org.StrabonEndpoint.client;
     1.6  
     1.7 -import static org.junit.Assert.assertTrue;
     1.8 -
     1.9  import java.io.IOException;
    1.10  import java.net.MalformedURLException;
    1.11  import java.net.URL;
    1.12 -import java.util.Vector;
    1.13  
    1.14  import org.junit.Before;
    1.15  import org.junit.Test;
    1.16 -import org.openrdf.query.resultio.TupleQueryResultFormat;
    1.17 -import org.openrdf.query.resultio.stSPARQLQueryResultFormat;
    1.18  import org.openrdf.rio.RDFFormat;
    1.19  
    1.20  /**
     2.1 --- a/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointUpdateWithStrabon.java	Wed Sep 17 12:07:43 2014 +0300
     2.2 +++ b/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointUpdateWithStrabon.java	Wed Sep 17 14:15:46 2014 +0300
     2.3 @@ -1,14 +1,9 @@
     2.4  package eu.earthobservatory.org.StrabonEndpoint.client;
     2.5  
     2.6 -import static org.junit.Assert.assertTrue;
     2.7 -
     2.8  import java.io.IOException;
     2.9 -import java.net.MalformedURLException;
    2.10 -import java.net.URL;
    2.11  
    2.12  import org.junit.Before;
    2.13  import org.junit.Test;
    2.14 -import org.openrdf.rio.RDFFormat;
    2.15  
    2.16  public class TestSPARQLEndpointUpdateWithStrabon {
    2.17  	
     3.1 --- a/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointWithStrabon.java	Wed Sep 17 12:07:43 2014 +0300
     3.2 +++ b/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointWithStrabon.java	Wed Sep 17 14:15:46 2014 +0300
     3.3 @@ -9,8 +9,6 @@
     3.4   */
     3.5  package eu.earthobservatory.org.StrabonEndpoint.client;
     3.6  
     3.7 -import static org.junit.Assert.assertTrue;
     3.8 -
     3.9  import java.io.IOException;
    3.10  import java.util.Vector;
    3.11  
    3.12 @@ -32,7 +30,7 @@
    3.13  	@Before
    3.14  	public void init() {
    3.15  		// initialize endpoint
    3.16 -		endpoint = new SPARQLEndpoint("geo.linkedopendata.gr", 9090, "gag-endpoint/Query");
    3.17 +		endpoint = new SPARQLEndpoint("geo.linkedopendata.gr", 80, "gag-endpoint/Query");
    3.18  		
    3.19  		// set query
    3.20  		query = "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> " +
     4.1 --- a/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointWithVirtuoso.java	Wed Sep 17 12:07:43 2014 +0300
     4.2 +++ b/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointWithVirtuoso.java	Wed Sep 17 14:15:46 2014 +0300
     4.3 @@ -9,8 +9,6 @@
     4.4   */
     4.5  package eu.earthobservatory.org.StrabonEndpoint.client;
     4.6  
     4.7 -import static org.junit.Assert.assertTrue;
     4.8 -
     4.9  import java.io.IOException;
    4.10  import java.util.Vector;
    4.11  
    4.12 @@ -23,7 +21,6 @@
    4.13   * @author Kallirroi Dogani <kallirroi@di.uoa.gr>
    4.14   *
    4.15   */
    4.16 -
    4.17  //Virtuso endpoint also needs to be tested for all formats included in stSPARQLQueryResultFormat
    4.18  //because some of them are not supported
    4.19  public class TestSPARQLEndpointWithVirtuoso {
    4.20 @@ -35,7 +32,7 @@
    4.21  	@Before
    4.22  	public void init() {
    4.23  		// initialize endpoint
    4.24 -		endpoint = new SPARQLEndpoint("dbpedia.org", 8890, "sparql");
    4.25 +		endpoint = new SPARQLEndpoint("dbpedia.org", 80, "sparql");
    4.26  		
    4.27  		// set query
    4.28  		query = "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> \n" +
     5.1 --- a/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSpatialEndpoint.java	Wed Sep 17 12:07:43 2014 +0300
     5.2 +++ b/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSpatialEndpoint.java	Wed Sep 17 14:15:46 2014 +0300
     5.3 @@ -8,8 +8,6 @@
     5.4   */
     5.5  package eu.earthobservatory.org.StrabonEndpoint.client;
     5.6  
     5.7 -import static org.junit.Assert.assertTrue;
     5.8 -
     5.9  import java.io.IOException;
    5.10  
    5.11  import org.junit.Before;
    5.12 @@ -23,7 +21,6 @@
    5.13   * @author Kallirroi Dogani <kallirroi@di.uoa.gr>
    5.14   *
    5.15   */
    5.16 -
    5.17  public class TestSpatialEndpoint {
    5.18  
    5.19  	private SpatialEndpoint endpoint;
    5.20 @@ -32,7 +29,7 @@
    5.21  	@Before
    5.22  	public void init() {
    5.23  		// initialize endpoint
    5.24 -		endpoint = new SpatialEndpoint("geo.linkedopendata.gr", 9090, "corine-endpoint/Query");
    5.25 +		endpoint = new SpatialEndpoint("geo.linkedopendata.gr", 80, "corine-endpoint/Query");
    5.26  		
    5.27  		// set query
    5.28  		query = "PREFIX corine: <http://geo.linkedopendata.gr/corine/ontology#> \n"+