Skip to content

Commit

Permalink
Merge pull request #11 from icgc-argo/RC/2.0.0
Browse files Browse the repository at this point in the history
RC/2.0.0
  • Loading branch information
lepsalex authored Jun 23, 2020
2 parents d5f3390 + eea2818 commit 248fe9b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>bio.overture</groupId>
<artifactId>song-search</artifactId>
<version>1.0.1</version>
<version>2.0.0</version>
<name>song-search</name>
<description>GQL microservice for searching maestro generated song indexes</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/bio/overture/songsearch/model/Run.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<Analysis> producedAnalyses;

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 248fe9b

Please sign in to comment.