Strabon

changeset 752:d771751c6822

made "checkForLocks and remove them" false (disabled) in Strabon. This makes Strabon not interefere with Strabon Endpoint if the second is running
author Babis Nikolaou <charnik@di.uoa.gr>
date Mon Nov 12 11:10:19 2012 -0500 (2012-11-12)
parents fe96408b7b56
children becebb2ff70c
files runtime/src/main/java/eu/earthobservatory/runtime/monetdb/DescribeOp.java runtime/src/main/java/eu/earthobservatory/runtime/monetdb/QueryDir.java runtime/src/main/java/eu/earthobservatory/runtime/monetdb/QueryOp.java runtime/src/main/java/eu/earthobservatory/runtime/monetdb/StoreOp.java runtime/src/main/java/eu/earthobservatory/runtime/monetdb/UpdateOp.java runtime/src/main/java/eu/earthobservatory/runtime/postgis/DescribeOp.java runtime/src/main/java/eu/earthobservatory/runtime/postgis/QueryDir.java runtime/src/main/java/eu/earthobservatory/runtime/postgis/QueryOp.java runtime/src/main/java/eu/earthobservatory/runtime/postgis/StoreOp.java runtime/src/main/java/eu/earthobservatory/runtime/postgis/UpdateOp.java
line diff
     1.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/monetdb/DescribeOp.java	Mon Nov 12 11:06:41 2012 -0500
     1.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/monetdb/DescribeOp.java	Mon Nov 12 11:10:19 2012 -0500
     1.3 @@ -48,7 +48,7 @@
     1.4  
     1.5  		Strabon strabon = null;
     1.6  		try { 
     1.7 -			strabon = new Strabon(db, user, passwd, port, host, true);
     1.8 +			strabon = new Strabon(db, user, passwd, port, host, false);
     1.9  			strabon.describe(queryString, format, strabon.getSailRepoConnection(), System.out);
    1.10  			
    1.11  		} catch (Exception e) {
     2.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/monetdb/QueryDir.java	Mon Nov 12 11:06:41 2012 -0500
     2.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/monetdb/QueryDir.java	Mon Nov 12 11:10:19 2012 -0500
     2.3 @@ -58,7 +58,7 @@
     2.4  
     2.5  		Strabon strabon = null;
     2.6  		try {
     2.7 -			strabon = new Strabon(db, user, passwd, port, host, true);
     2.8 +			strabon = new Strabon(db, user, passwd, port, host, false);
     2.9  
    2.10  			File dir = new File(path);
    2.11  			FilenameFilter filter = new FilenameFilter() {
     3.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/monetdb/QueryOp.java	Mon Nov 12 11:06:41 2012 -0500
     3.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/monetdb/QueryOp.java	Mon Nov 12 11:10:19 2012 -0500
     3.3 @@ -49,7 +49,7 @@
     3.4  
     3.5  		Strabon strabon = null;
     3.6  		try {
     3.7 -			strabon = new Strabon(db, user, passwd, port, host, true);
     3.8 +			strabon = new Strabon(db, user, passwd, port, host, false);
     3.9  			strabon.query(queryString, Format.fromString(resultsFormat), strabon.getSailRepoConnection(), System.out);
    3.10  			
    3.11  		} catch (Exception e) {
     4.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/monetdb/StoreOp.java	Mon Nov 12 11:06:41 2012 -0500
     4.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/monetdb/StoreOp.java	Mon Nov 12 11:10:19 2012 -0500
     4.3 @@ -47,7 +47,7 @@
     4.4  
     4.5  		Strabon strabon = null;
     4.6  		try {
     4.7 -			strabon = new Strabon(db, user, passwd, port, host, true);
     4.8 +			strabon = new Strabon(db, user, passwd, port, host, false);
     4.9  			strabon.storeInRepo(src, format);
    4.10  		
    4.11  		} catch (Exception e) {
     5.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/monetdb/UpdateOp.java	Mon Nov 12 11:06:41 2012 -0500
     5.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/monetdb/UpdateOp.java	Mon Nov 12 11:10:19 2012 -0500
     5.3 @@ -43,7 +43,7 @@
     5.4  		
     5.5  		Strabon strabon = null;
     5.6  		try {
     5.7 -			strabon = new Strabon(db, user, passwd, port, host, true);
     5.8 +			strabon = new Strabon(db, user, passwd, port, host, false);
     5.9  			strabon.update(queryString, strabon.getSailRepoConnection());
    5.10  			
    5.11  		} catch (Exception e) {
     6.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/postgis/DescribeOp.java	Mon Nov 12 11:06:41 2012 -0500
     6.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/postgis/DescribeOp.java	Mon Nov 12 11:10:19 2012 -0500
     6.3 @@ -47,7 +47,7 @@
     6.4  		
     6.5  		Strabon strabon = null;
     6.6  		try {
     6.7 -			strabon = new Strabon(db, user, passwd, port, host, true);
     6.8 +			strabon = new Strabon(db, user, passwd, port, host, false);
     6.9  			strabon.describe(queryString, format, strabon.getSailRepoConnection(), System.out);
    6.10  			
    6.11  		} catch (Exception e) {
     7.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/postgis/QueryDir.java	Mon Nov 12 11:06:41 2012 -0500
     7.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/postgis/QueryDir.java	Mon Nov 12 11:10:19 2012 -0500
     7.3 @@ -57,7 +57,7 @@
     7.4  
     7.5  		Strabon strabon = null;
     7.6  		try {
     7.7 -			strabon = new Strabon(db, user, passwd, port, host, true);
     7.8 +			strabon = new Strabon(db, user, passwd, port, host, false);
     7.9  	
    7.10  			File dir = new File(path);
    7.11  			FilenameFilter filter = new FilenameFilter() {
     8.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/postgis/QueryOp.java	Mon Nov 12 11:06:41 2012 -0500
     8.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/postgis/QueryOp.java	Mon Nov 12 11:10:19 2012 -0500
     8.3 @@ -49,7 +49,7 @@
     8.4  
     8.5  		Strabon strabon = null;
     8.6  		try {
     8.7 -			strabon = new Strabon(db, user, passwd, port, host, true);
     8.8 +			strabon = new Strabon(db, user, passwd, port, host, false);
     8.9  			strabon.query(queryString, Format.fromString(resultsFormat), strabon.getSailRepoConnection(), System.out);
    8.10  			
    8.11  		} catch (Exception e) {
     9.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/postgis/StoreOp.java	Mon Nov 12 11:06:41 2012 -0500
     9.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/postgis/StoreOp.java	Mon Nov 12 11:10:19 2012 -0500
     9.3 @@ -48,7 +48,7 @@
     9.4  
     9.5  		Strabon strabon = null;
     9.6  		try {
     9.7 -			strabon = new Strabon(db, user, passwd, port, host, true);
     9.8 +			strabon = new Strabon(db, user, passwd, port, host, false);
     9.9  			strabon.storeInRepo(src, format);
    9.10  			
    9.11  		} catch (Exception e) {
    10.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/postgis/UpdateOp.java	Mon Nov 12 11:06:41 2012 -0500
    10.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/postgis/UpdateOp.java	Mon Nov 12 11:10:19 2012 -0500
    10.3 @@ -42,7 +42,7 @@
    10.4  		
    10.5  		Strabon strabon = null;
    10.6  		try {
    10.7 -			strabon = new Strabon(db, user, passwd, port, host, true);
    10.8 +			strabon = new Strabon(db, user, passwd, port, host, false);
    10.9  			strabon.update(queryString, strabon.getSailRepoConnection());
   10.10  			
   10.11  		} catch (Exception e) {