camunda / camunda-bpm-platform

Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.
https://camunda.com/
Apache License 2.0
4.11k stars 1.55k forks source link

Add Missing endpoints to `ProcessDefinitionRestService.java` #3029

Closed fenix-hub closed 1 year ago

fenix-hub commented 1 year ago

User Story (Required on creation)

Being in need of interacting with a remote Camunda 7 Instance using Quarkus Framework, full Java Rest Client is required (not Spring integrated). However, though there are a couple of Camunda 7 Rest clients online, they always seem to be automatically generated usign OpenAPI generators and so they most of the time have flows. I noticed that there's an engine-rest that could be used for such case. Even though it seems to be a lack of documentation on how to use it, I decided to give it a look. I noticed that currently the ProcessDefinitionRestService is missing multiple endpoints, most importantly those related to starting a process.

Functional Requirements (Required before implementation)

Add missing endpoints related to starting a process instance by id, key, and with variables.

Technical Requirements (Required before implementation)

tasso94 commented 1 year ago

Hi @fenix-hub,

The engine-rest module is our Java-based and server-side REST API implementation.

Currently, we don't provide a Quarkus Extension for our REST API. While we see value in it, we currently don't have time to work on this topic.

Feel free to raise a pull request if you are interested in providing a code contribution.

Best, Tassilo

Edit: You can find the endpoints you were looking for here: https://github.com/camunda/camunda-bpm-platform/blob/332ae16217cd2af9770dc17b1f6ff12fc1e5565d/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/sub/repository/ProcessDefinitionResource.java#L65

tasso94 commented 1 year ago

Closed due to inactivity.