-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1420 from SnehaSuresh-aot/master
camunda upgrade to 7.18 + vulnerability fixes
- Loading branch information
Showing
26 changed files
with
235 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
v5.1.0 | ||
v5.1.1 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...m/src/main/java/org/camunda/bpm/extension/commons/connector/support/BPMAccessHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s-flow-bpm/src/main/java/org/camunda/bpm/extension/commons/io/socket/WebSocketConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ava/org/camunda/bpm/extension/hooks/listeners/execution/FormAccessTokenCacheListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
...flow-bpm/src/main/java/org/camunda/bpm/extension/hooks/rest/ExternalTaskRestResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
package org.camunda.bpm.extension.hooks.rest; | ||
|
||
import org.camunda.bpm.engine.rest.dto.CountResultDto; | ||
import org.camunda.bpm.engine.rest.dto.externaltask.*; | ||
|
||
import javax.ws.rs.*; | ||
import javax.ws.rs.container.AsyncResponse; | ||
import javax.ws.rs.container.Suspended; | ||
import javax.ws.rs.core.Context; | ||
import javax.ws.rs.core.MediaType; | ||
import javax.ws.rs.core.UriInfo; | ||
import java.util.List; | ||
|
||
@Produces(MediaType.APPLICATION_JSON) | ||
public interface ExternalTaskRestResource extends RestResource { | ||
|
||
String PATH = "/external-task"; | ||
|
||
@GET | ||
@Produces(MediaType.APPLICATION_JSON) | ||
List<ExternalTaskDto> getExternalTasks(@Context UriInfo uriInfo, | ||
@QueryParam("firstResult") Integer firstResult, | ||
@QueryParam("maxResults") Integer maxResults); | ||
|
||
@POST | ||
@Consumes(MediaType.APPLICATION_JSON) | ||
@Produces(MediaType.APPLICATION_JSON) | ||
List<ExternalTaskDto> queryExternalTasks(ExternalTaskQueryDto query, | ||
@QueryParam("firstResult") Integer firstResult, | ||
@QueryParam("maxResults") Integer maxResults); | ||
|
||
@GET | ||
@Path("/count") | ||
@Produces(MediaType.APPLICATION_JSON) | ||
CountResultDto getExternalTasksCount(@Context UriInfo uriInfo); | ||
|
||
@POST | ||
@Path("/count") | ||
@Consumes(MediaType.APPLICATION_JSON) | ||
@Produces(MediaType.APPLICATION_JSON) | ||
CountResultDto queryExternalTasksCount(ExternalTaskQueryDto query); | ||
|
||
@POST | ||
@Path("/fetchAndLock") | ||
@Consumes(MediaType.APPLICATION_JSON) | ||
@Produces(MediaType.APPLICATION_JSON) | ||
void fetchAndLock(FetchExternalTasksExtendedDto dto, @Suspended final AsyncResponse asyncResponse); | ||
|
||
@GET | ||
@Path("/topic-names") | ||
@Produces(MediaType.APPLICATION_JSON) | ||
List<String> getTopicNames(@QueryParam("withLockedTasks") boolean withLockedTasks, | ||
@QueryParam("withUnlockedTasks") boolean withUnlockedTasks, | ||
@QueryParam("withRetriesLeft") boolean withRetriesLeft); | ||
@GET | ||
@Path("/{id}") | ||
@Produces(MediaType.APPLICATION_JSON) | ||
ExternalTaskDto getExternalTask(@PathParam("id") String id); | ||
|
||
@POST | ||
@Path("/{id}/complete") | ||
@Consumes(MediaType.APPLICATION_JSON) | ||
void complete(@PathParam("id") String id, CompleteExternalTaskDto dto); | ||
|
||
@POST | ||
@Path("/{id}/failure") | ||
@Consumes(MediaType.APPLICATION_JSON) | ||
void handleFailure(@PathParam("id") String id, ExternalTaskFailureDto dto); | ||
|
||
@POST | ||
@Path("/{id}/extendLock") | ||
@Consumes(MediaType.APPLICATION_JSON) | ||
void extendLock(@PathParam("id") String id, ExtendLockOnExternalTaskDto extendLockDto); | ||
|
||
@GET | ||
@Path("/{id}/errorDetails") | ||
@Produces(MediaType.TEXT_PLAIN) | ||
String getErrorDetails(@PathParam("id") String id); | ||
|
||
} |
Oops, something went wrong.