Skip to content

Commit

Permalink
fix: improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mosoriob committed Oct 31, 2023
1 parent 8ffa5b0 commit 3ac556f
Show file tree
Hide file tree
Showing 2 changed files with 212 additions and 194 deletions.
4 changes: 4 additions & 0 deletions src/main/java/edu/isi/kcap/wings/opmm/Mapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ private static void exportCatalog(String catalogRepository, String serialization
Links links = new Links();
links.setFilePath(domainPath);
links.setFileUrl(catalog.getDomainGraphURI());
links.setGraphUrl(catalog.getDomainGraphURI());
response.setCatalog(links);
}

Expand All @@ -71,6 +72,7 @@ private static void exportExpandedTemplate(String expandedTemplateDestinationFil
Links links = new Links();
links.setFilePath(expandedTemplateDestinationFilePath);
links.setFileUrl(expandedTemplateGraphUri);
links.setGraphUrl(concreteTemplateGraphUri);
response.setWorkflowExpandedTemplate(links);
}

Expand All @@ -81,6 +83,7 @@ private static void exportExecution(String executionDestinationFilePath, String
Links links = new Links();
links.setFilePath(executionDestinationFilePath);
links.setFileUrl(executionGraphUri);
links.setGraphUrl(executionGraphUri);
response.setWorkflowExecution(links);
}

Expand All @@ -96,6 +99,7 @@ private static void exportAbstractTemplate(String abstractFilePath, String seria
Links links = new Links();
links.setFilePath(abstractFilePath);
links.setFileUrl(abstractGraphUri);
links.setGraphUrl(abstractGraphUri);
response.setWorkflowAbstractTemplate(links);
}
}
Expand Down
Loading

0 comments on commit 3ac556f

Please sign in to comment.