From 66d5f01fab608637daaa270dae22b348e6c6e311 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 18 Jun 2020 11:48:48 -0400 Subject: [PATCH 1/4] snapshot version set --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b77806d..a31bbb1 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ bio.overture song-search - 1.0.1 + 1.0.2-SNAPSHOT song-search GQL microservice for searching maestro generated song indexes From cb264b09bba67166e9f51f7a712777850b343bbd Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 23 Jun 2020 12:10:50 -0400 Subject: [PATCH 2/4] schema updated to use runId --- src/main/resources/schema.graphql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/schema.graphql b/src/main/resources/schema.graphql index b4b3889..f0a5fce 100644 --- a/src/main/resources/schema.graphql +++ b/src/main/resources/schema.graphql @@ -135,8 +135,8 @@ input Page { from: Int! } -type Run @key(fields: "runName") @extends { - runName: ID! @external # todo: runName will become runId after reindex +type Run @key(fields: "runId") @extends { + runId: ID! @external producedAnalyses: [Analysis] inputAnalyses: String } From 07a786164174e0d96c94efb9a8748ecd2e360122 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 23 Jun 2020 12:11:15 -0400 Subject: [PATCH 3/4] model and fetcher updated for runId --- .../java/bio/overture/songsearch/graphql/EntityDataFetcher.java | 2 +- src/main/java/bio/overture/songsearch/model/Run.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/bio/overture/songsearch/graphql/EntityDataFetcher.java b/src/main/java/bio/overture/songsearch/graphql/EntityDataFetcher.java index 675aaa5..43b4b5d 100644 --- a/src/main/java/bio/overture/songsearch/graphql/EntityDataFetcher.java +++ b/src/main/java/bio/overture/songsearch/graphql/EntityDataFetcher.java @@ -48,7 +48,7 @@ public DataFetcher getDataFetcher() { } } if (RUN_ENTITY.equals(values.get("__typename"))) { - final Object runId = values.get("runName"); // todo: will become runId after reindex + final Object runId = values.get("runId"); if (runId instanceof String) { return new Run( (String) runId, diff --git a/src/main/java/bio/overture/songsearch/model/Run.java b/src/main/java/bio/overture/songsearch/model/Run.java index d753d6f..5730c71 100644 --- a/src/main/java/bio/overture/songsearch/model/Run.java +++ b/src/main/java/bio/overture/songsearch/model/Run.java @@ -19,7 +19,7 @@ public class Run { private static final ObjectMapper MAPPER = new ObjectMapper(); - private String runName; // todo: will become runId after reindex + private String runId; private List producedAnalyses; From eea28182237ebeccfba6b72999cae3e34f68cd22 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 23 Jun 2020 15:23:56 -0400 Subject: [PATCH 4/4] 2.0.0 Release --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a31bbb1..966a539 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ bio.overture song-search - 1.0.2-SNAPSHOT + 2.0.0 song-search GQL microservice for searching maestro generated song indexes