Skip to content

Commit

Permalink
Java11 updates (#267)
Browse files Browse the repository at this point in the history
* java11

* Check if gnResponse is null

* Try checking if gnresponse is null or not successfully annotated

* Try java 11 image

* use updated image name

---------

Co-authored-by: cbioportal import user <[email protected]>
  • Loading branch information
callachennault and cbioportal import user authored Oct 11, 2023
1 parent da4edc4 commit 0f4e72e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
docker:
# specify the version you desire here
- image: circleci/openjdk:8-jdk-browsers
- image: cimg/openjdk:11.0.20-browsers

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ public List<AnnotatedRecord> getAnnotatedRecordsUsingPOST(AnnotationSummaryStati
AnnotatedRecord annotatedRecord = new AnnotatedRecord(record);
// if not a failed annotation then convert/merge the response from gn with the maf record
VariantAnnotation gnResponse = gnResponseVariantKeyMap.get(genomicLocation);
if (!gnResponse.isSuccessfullyAnnotated()) {
if (gnResponse == null || !gnResponse.isSuccessfullyAnnotated()) {
if(reannotate || annotationNeeded(record)) {
// only log if record actually attempted annotation
annotatedRecord.setANNOTATION_STATUS("FAILED");
Expand Down
7 changes: 7 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
jdk:
- openjdk11
before_install:
- sdk install java 11.0.20-tem
- sdk use java 11.0.20-tem
- sdk install maven
- mvn -v
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</parent>

<properties>
<java.version>1.8</java.version>
<java.version>11</java.version>
<slf4j.version>1.7.30</slf4j.version>
<spring.version>5.2.6.RELEASE</spring.version>
<jackson.version>2.11.2</jackson.version>
Expand Down Expand Up @@ -80,7 +80,7 @@
<dependency>
<groupId>com.github.cbioportal.cbioportal</groupId>
<artifactId>maf</artifactId>
<version>0b2dfa674e</version>
<version>ee5802d836c05ed846d7d1ea3f584febdc07ffa8</version>
<exclusions>
<exclusion>
<groupId>ch.qos.logback</groupId>
Expand Down

0 comments on commit 0f4e72e

Please sign in to comment.