Skip to content

Commit

Permalink
Merging 2.x-dev version 2.1.3 with ticket FGPTO-1429 (obsolete bug) a…
Browse files Browse the repository at this point in the history
…nd bug fix in query when datasources required
  • Loading branch information
olgavrou committed Jun 14, 2017
2 parents f65fcaa + 83ab0ca commit 866b4ef
Show file tree
Hide file tree
Showing 24 changed files with 72 additions and 66 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma2</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
<packaging>pom</packaging>

<name>ZOOMA 2</name>
Expand Down
6 changes: 3 additions & 3 deletions zooma-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
<parent>
<artifactId>zooma2</artifactId>
<groupId>uk.ac.ebi.fgpt</groupId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-api</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: API</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>

<properties>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions zooma-bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<parent>
<artifactId>zooma2</artifactId>
<groupId>uk.ac.ebi.fgpt</groupId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-bootstrap</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: Bootstrap configuration</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>
Expand Down
10 changes: 5 additions & 5 deletions zooma-builder-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
<parent>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma2</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-builder-app</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: Command line build tools</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>


Expand Down Expand Up @@ -77,14 +77,14 @@
<dependency>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma-lodestar</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</dependency>


<dependency>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma-ols-service</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</dependency>

<!-- ZOOMA basic loaders for namespace functionality -->
Expand Down
6 changes: 3 additions & 3 deletions zooma-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
<parent>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma2</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-client</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: REST API search client</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>

<dependencies>
Expand Down
8 changes: 4 additions & 4 deletions zooma-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
<parent>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma2</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-core</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: Core search engine classes</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma-ols-service</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</dependency>
</dependencies>

Expand Down
6 changes: 3 additions & 3 deletions zooma-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
<parent>
<artifactId>zooma2</artifactId>
<groupId>uk.ac.ebi.fgpt</groupId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-impl</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: Standard model implementation</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions zooma-jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
<parent>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma2</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-jdbc</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: JDBC Bindings</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>

<build>
Expand Down
4 changes: 2 additions & 2 deletions zooma-js/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<parent>
<artifactId>zooma2</artifactId>
<groupId>uk.ac.ebi.fgpt</groupId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-js</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: Javascript webjar</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>
Expand Down
6 changes: 3 additions & 3 deletions zooma-loading/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
<parent>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma2</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-loading</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
<packaging>pom</packaging>

<name>ZOOMA 2: Parent project for all loaders</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions zooma-loading/zooma-csv-loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
<parent>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma-loading</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-csv-loader</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: Custom Annotation Loader (CSV files)</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions zooma-loading/zooma-owl-loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
<parent>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma-loading</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-owl-loader</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: OWL-format Ontology Loader</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>

<dependencies>
Expand Down
8 changes: 4 additions & 4 deletions zooma-lodestar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<parent>
<artifactId>zooma2</artifactId>
<groupId>uk.ac.ebi.fgpt</groupId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>zooma-lodestar</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: SPARQL DAO Lodestar implementations</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>
Expand All @@ -22,13 +22,13 @@
<dependency>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma-impl</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</dependency>

<dependency>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma-owlapi</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</dependency>


Expand Down
6 changes: 3 additions & 3 deletions zooma-lucene-services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
<parent>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma2</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-lucene-services</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: Lucene-driven service implementations</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>


<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ protected Collection<AnnotationSummary> doSearch(AnnotationSummaryMapper mapper,
Query q;
if (sources.length > 0) {
// unify processed queries into a single query
Query uq = formulateCombinedQuery(true, false, pqs.toArray(new Query[pqs.size()]));
Query uq = formulateCombinedQuery(false, false, pqs.toArray(new Query[pqs.size()]));

// next generate a series of source queries
List<Query> sqs = new ArrayList<>();
Expand Down
8 changes: 4 additions & 4 deletions zooma-ols-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@
<parent>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma2</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-ols-service</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: OLS Search Service</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>


<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>

<dependencies>

<dependency>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma-impl</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,13 @@ public URI replaceSemanticTag(URI semanticTag){
}

private URI tryToReplaceSemanticTag(URI semanticTag){
Term replaceBy = olsClient.getReplacedBy(semanticTag.toString());
Term replaceBy = null;
try {
replaceBy = olsClient.getReplacedBy(semanticTag.toString());
} catch (RestClientException e){
getLog().debug(semanticTag + " something went wrong when we tried to find a replacement in OLS!");
replaceBy = null;
}
if(replaceBy != null && replaceBy.getIri() != null && replaceBy.getIri().getIdentifier() != null) {
return URI.create(replaceBy.getIri().getIdentifier());
}
Expand Down
6 changes: 3 additions & 3 deletions zooma-owlapi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
<parent>
<groupId>uk.ac.ebi.fgpt</groupId>
<artifactId>zooma2</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</parent>

<artifactId>zooma-owlapi</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>

<name>ZOOMA 2: OWL-API Binding</name>
<url>http://www.ebi.ac.uk/fgpt/zooma</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zooma.version>2.1.2</zooma.version>
<zooma.version>2.1.3</zooma.version>
</properties>

<build>
Expand Down
Loading

0 comments on commit 866b4ef

Please sign in to comment.