Strabon

changeset 1458:3ba22fc603c6

Bye bye luna!
now the store and update tests of the endpoint-client use the endpoint http://geo.linkedopendata.gr/teststrabon-endpoint/
author Stella Giannakopoulou <sgian@di.uoa.gr>
date Mon Jan 19 17:07:36 2015 +0200 (2015-01-19)
parents c56f16b4fb1a
children bc81967ce8ce
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
line diff
     1.1 --- a/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointStoreWithStrabon.java	Thu Jan 15 14:36:12 2015 +0200
     1.2 +++ b/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointStoreWithStrabon.java	Mon Jan 19 17:07:36 2015 +0200
     1.3 @@ -31,11 +31,11 @@
     1.4  	@Before
     1.5  	public void init() {
     1.6  		// initialize endpoint
     1.7 -		endpoint = new SPARQLEndpoint("luna.di.uoa.gr", 8080, "sextant-endpoint/Store");
     1.8 +		endpoint = new SPARQLEndpoint("geo.linkedopendata.gr", 80, "teststrabon-endpoint/Store");
     1.9  		
    1.10  		// set url data
    1.11  		try {
    1.12 -			data = new URL("http://luna.di.uoa.gr:8080/strabon-endpoint-gwt/mapontology/map.nt");
    1.13 +			data = new URL("http://geo.linkedopendata.gr/teststrabon-endpoint/map.nt");
    1.14  		} catch (MalformedURLException e) {
    1.15  			// TODO Auto-generated catch block
    1.16  			e.printStackTrace();
    1.17 @@ -56,7 +56,6 @@
    1.18  		
    1.19  			URL namedGraph = new URL("http://geo.linkedopendata.gr/map/example");
    1.20  			Boolean response = endpoint.store(data, RDFFormat.NTRIPLES , namedGraph);
    1.21 -			
    1.22  			assertTrue(response == true);
    1.23  	}
    1.24  	
    1.25 @@ -75,4 +74,4 @@
    1.26  			assertTrue(response == true);
    1.27  		
    1.28  	}
    1.29 -}
    1.30 \ No newline at end of file
    1.31 +}
     2.1 --- a/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointUpdateWithStrabon.java	Thu Jan 15 14:36:12 2015 +0200
     2.2 +++ b/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointUpdateWithStrabon.java	Mon Jan 19 17:07:36 2015 +0200
     2.3 @@ -15,7 +15,7 @@
     2.4  	@Before
     2.5  	public void init() {
     2.6  		// initialize endpoint
     2.7 -		endpoint = new SPARQLEndpoint("luna.di.uoa.gr", 8080, "sextant-endpoint/Update");
     2.8 +		endpoint = new SPARQLEndpoint("geo.linkedopendata.gr", 80, "teststrabon-endpoint/Update");
     2.9  		
    2.10  		// set url data
    2.11  		query = "insert data" +