Skip to content

Issue 236 - #280

Merged
mr-c merged 2 commits into
common-workflow-language:mainfrom
etzanis:issue-236
Nov 2, 2020
Merged

mr-c merged 2 commits into
common-workflow-language:mainfrom
etzanis:issue-236

Conversation

@etzanis

@etzanis etzanis commented Nov 2, 2020

Copy link
Copy Markdown
Contributor

The reported issue is related to the following case:

https://stackoverflow.com/questions/49316751/spring-data-jpa-findone-change-to-optional-how-to-use-this

Solution:

[Editing Pom.xml]

update Spring Boot:

org.springframework.boot spring-boot-starter-parent 2.2.2.RELEASE

add the following dependency for ensuring that we use the appropriate spring-data-commons version.

org.springframework.data spring-data-commons 2.0.1.RELEASE

[WorkflowService.java]

Replace any occurrence of the findOne with findById(id).orElse(null) here:

org.commonwl.view.workflow.WorkflowRepository
org.commonwl.view.workflow.QueuedWorkflowRepository

With these changes we should expect to build successfully.

Update springboot to 2.2.2.RELEASE and inject specific dependency for spring-data-commons. An older data-commons dependency without touching WorkflowService.
@mr-c
mr-c merged commit af7cace into common-workflow-language:main Nov 2, 2020
mr-c added a commit that referenced this pull request Nov 5, 2020
This reverts commit af7cace, reversing
changes made to 922b434.
mr-c added a commit that referenced this pull request Nov 5, 2020
This reverts commit af7cace, reversing
changes made to 922b434.

Oops, TravisCI was disable as the default branch name in the config hadn't been updated from master to main. The other PR did not actually pass the tests
obasekiosa pushed a commit to obasekiosa/cwlviewer that referenced this pull request Apr 9, 2021
…issue-236" (common-workflow-language#283)

This reverts commit af7cace, reversing
changes made to 922b434.

Oops, TravisCI was disable as the default branch name in the config hadn't been updated from master to main. The other PR did not actually pass the tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants