Skip to content

Commit

Permalink
Fix endpoint URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jmigueprieto committed Oct 30, 2024
1 parent 654aaae commit ff25fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public WorkflowDef getWorkflowDef(String name, Integer version) {
public List<WorkflowDef> getAllWorkflowsWithLatestVersions() {
ConductorClientRequest request = ConductorClientRequest.builder()
.method(Method.GET)
.path("metadata/workflow/latest-versions")
.path("/metadata/workflow/latest-versions")
.build();

ConductorClientResponse<List<WorkflowDef>> resp = client.execute(request, new TypeReference<>() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class MetadataClientSpec extends ClientSpecification {
then:
1 * apiClient.execute(builder()
.method(ConductorClientRequest.Method.GET)
.path('metadata/workflow/latest-versions')
.path('/metadata/workflow/latest-versions')
.build(), _) >> new ConductorClientResponse(200, [:], result)
ret == result
}
Expand Down

0 comments on commit ff25fcc

Please sign in to comment.