Skip to content

Commit 9498687

Browse files
authored
Merge pull request #1249 from alliance-genome/SCRUM-4906
Scrum 4906
2 parents ae3d758 + 7dcc2f2 commit 9498687

File tree

8 files changed

+12
-14
lines changed

8 files changed

+12
-14
lines changed

agr_api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<dependency>
2626
<groupId>org.bitbucket.b_c</groupId>
2727
<artifactId>jose4j</artifactId>
28-
<version>0.9.3</version>
28+
<version>0.9.4</version>
2929
</dependency>
3030

3131
<dependency>

agr_indexer/src/main/java/org/alliancegenome/indexer/indexers/Indexer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,12 @@
3131
import org.elasticsearch.client.RestHighLevelClient;
3232
import org.elasticsearch.common.unit.ByteSizeUnit;
3333
import org.elasticsearch.common.unit.ByteSizeValue;
34-
import org.elasticsearch.common.xcontent.XContentType;
3534
import org.elasticsearch.core.TimeValue;
35+
import org.elasticsearch.xcontent.XContentType;
3636

3737
import com.fasterxml.jackson.annotation.JsonInclude.Include;
3838
import com.fasterxml.jackson.core.JsonProcessingException;
3939
import com.fasterxml.jackson.databind.ObjectMapper;
40-
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
4140

4241
import lombok.extern.slf4j.Slf4j;
4342

agr_java_core/src/main/java/org/alliancegenome/es/index/site/schema/Builder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import java.io.IOException;
44

5-
import org.elasticsearch.common.xcontent.XContentBuilder;
6-
import org.elasticsearch.common.xcontent.XContentFactory;
5+
import org.elasticsearch.xcontent.XContentBuilder;
6+
import org.elasticsearch.xcontent.XContentFactory;
77

88
public abstract class Builder {
99

agr_java_core/src/main/java/org/alliancegenome/es/index/site/schema/Mapping.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import java.io.IOException;
44

5-
import org.elasticsearch.common.xcontent.XContentBuilder;
5+
import org.elasticsearch.xcontent.XContentBuilder;
66

77
public class Mapping extends Builder {
88

agr_java_core/src/main/java/org/alliancegenome/neo4j/repository/VariantRepository.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,10 @@ public Variant getVariant(String variantID) {
6262
query += " WHERE variant.primaryKey = $" + paramName;
6363
query += " OPTIONAL MATCH consequence=(:GenomicLocation)--(variant:Variant)-[:ASSOCIATION]->(:TranscriptLevelConsequence)"
6464
+ "<-[:ASSOCIATION]-(t:Transcript)<-[:TRANSCRIPT_TYPE]-(:SOTerm)";
65-
query += " OPTIONAL MATCH gene=(t:Transcript)-[:TRANSCRIPT]-(ge:Gene)--(:GenomicLocation)";
66-
query += " OPTIONAL MATCH geneSpecies=(t:Transcript)-[:TRANSCRIPT]-(ge:Gene)--(:Species)";
65+
query += " OPTIONAL MATCH gene=(t:Transcript)-[:TRANSCRIPT]-(ge:Gene)--(:GenomicLocation|Species)";
6766
query += " OPTIONAL MATCH transcriptLocation=(t:Transcript)-[:ASSOCIATION]-(:GenomicLocation)";
6867
query += " OPTIONAL MATCH exons=(:GenomicLocation)--(:Exon)-[:EXON]->(t:Transcript)";
69-
query += " RETURN p1, consequence, gene, geneSpecies, exons, transcriptLocation ";
68+
query += " RETURN p1, consequence, gene, exons, transcriptLocation ";
7069

7170
Iterable<Variant> variants = query(query, map);
7271
for (Variant a : variants) {

agr_variant_indexer/src/main/java/org/alliancegenome/indexer/variant/es/managers/SourceDocumentCreation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
import org.elasticsearch.client.RestHighLevelClient;
2727
import org.elasticsearch.common.unit.ByteSizeUnit;
2828
import org.elasticsearch.common.unit.ByteSizeValue;
29-
import org.elasticsearch.common.xcontent.XContentType;
3029
import org.elasticsearch.core.TimeValue;
30+
import org.elasticsearch.xcontent.XContentType;
3131

3232
import com.fasterxml.jackson.annotation.JsonInclude;
3333
import com.fasterxml.jackson.databind.MapperFeature;

agr_variant_indexer/src/main/java/org/alliancegenome/indexer/variant/scripts/TestLoadJsonFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
import org.elasticsearch.client.RestHighLevelClient;
2626
import org.elasticsearch.common.unit.ByteSizeUnit;
2727
import org.elasticsearch.common.unit.ByteSizeValue;
28-
import org.elasticsearch.common.xcontent.XContentType;
2928
import org.elasticsearch.core.TimeValue;
29+
import org.elasticsearch.xcontent.XContentType;
3030

3131
import lombok.extern.slf4j.Slf4j;
3232

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,17 @@
5858
<dependency>
5959
<groupId>org.elasticsearch</groupId>
6060
<artifactId>elasticsearch</artifactId>
61-
<version>7.14.2</version>
61+
<version>7.17.14</version>
6262
</dependency>
6363
<dependency>
6464
<groupId>org.elasticsearch</groupId>
6565
<artifactId>elasticsearch-core</artifactId>
66-
<version>7.14.2</version>
66+
<version>7.17.14</version>
6767
</dependency>
6868
<dependency>
6969
<groupId>org.elasticsearch.client</groupId>
7070
<artifactId>elasticsearch-rest-high-level-client</artifactId>
71-
<version>7.14.2</version>
71+
<version>7.17.14</version>
7272
</dependency>
7373
<dependency>
7474
<groupId>com.github.mmazi</groupId>

0 commit comments

Comments
 (0)