Skip to content

Commit ddfe4da

Browse files
committed
Add org.apache.commons:commons-lang3, 3.17.0 as it's now required by liquibase 4.30.0+
1 parent ee114fe commit ddfe4da

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<!-- Liquibase; note that Flyway, while probably having more documentation and users,
8787
changed its license model. Similarly to mongo, we prefer an open license that
8888
won't lock users or developers from updating or modifying the code if necessary.
89-
Hence our choice for liquibase. Feel free to suggest alternatives, but keep in
89+
Hence, our choice for liquibase. Feel free to suggest alternatives, but keep in
9090
mind the license.
9191
-->
9292
<dependency>
@@ -159,6 +159,12 @@
159159
<artifactId>commons-io</artifactId>
160160
<version>2.18.0</version>
161161
</dependency>
162+
<!-- Lang, used by Liquibase 4.30/0+ -->
163+
<dependency>
164+
<groupId>org.apache.commons</groupId>
165+
<artifactId>commons-lang3</artifactId>
166+
<version>3.17.0</version>
167+
</dependency>
162168
<!-- For JSR-303, javax.validation -->
163169
<dependency>
164170
<groupId>org.springframework.boot</groupId>

src/main/java/org/commonwl/view/workflow/WorkflowJSONController.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,7 @@ public Page<Workflow> listWorkflowsJson(
7474
*
7575
* @return A list of all the workflows
7676
*/
77-
@GetMapping(
78-
value = "/workflows",
79-
params = "search",
80-
produces = MediaType.APPLICATION_JSON_VALUE)
77+
@GetMapping(value = "/workflows", params = "search", produces = MediaType.APPLICATION_JSON_VALUE)
8178
public Page<Workflow> searchWorkflowsJson(
8279
Model model,
8380
@PageableDefault(size = 10) Pageable pageable,
@@ -216,9 +213,7 @@ public Workflow getWorkflowJson(
216213
* @param branch The branch of the repository
217214
* @return The JSON representation of the workflow
218215
*/
219-
@GetMapping(
220-
value = "/workflows/*/*.git/{branch}/**",
221-
produces = MediaType.APPLICATION_JSON_VALUE)
216+
@GetMapping(value = "/workflows/*/*.git/{branch}/**", produces = MediaType.APPLICATION_JSON_VALUE)
222217
public Workflow getWorkflowJsonGeneric(
223218
@PathVariable("branch") String branch, HttpServletRequest request) {
224219
// The wildcard end of the URL is the path

0 commit comments

Comments
 (0)