Home > jBPM > New REST API for jBPM 6

New REST API for jBPM 6

Most of the team has been working very hard for the last couple months on the Drools/jBPM/Optaplanner 6.0 release. One thing that’s changed with this release is that the umbrella project has given a new name KIE. You can find more about that elsewhere.

I wanted to quickly introduce the new REST API — and ask for feedback, should you be so inclined. Some of the community has been kind enough to already submit jira’s with suggestions, which is great!

I’ve been documenting the REST API here: https://github.com/droolsjbpm/droolsjbpm-integration/wiki/Rest-API

If you use the (new) jbpm-console war or the kie-wb war, the REST API is available via those war’s.

Again, if you have any ideas or suggestion, please feel free to leave a comment or submit a jira.


Categories: jBPM
  1. Geoff Jarrad
    15 November 2013 at 05:17

    I’m using (or, more precisely, trying to use) a client-based approach to JBPM via the REST interface. However, the client does not know anything about deployment IDs (other than what it can glean from started tasks). So, may I suggest that the URL /rest/runtime provides a list of deployment IDs, and further that /rest/runtime/{deploymentID}/process returns a list of process definition IDs for that deployment? That would make life so much easier!

  2. Carlos
    12 February 2014 at 23:45

    Is this new API on jBPM 6.0 using resteasy? I’m looking to configure some authentication mechanism (OAuth2) instead of basic auth.

  3. Dominik Knoll
    13 February 2014 at 08:24

    I’m also trying to use the deployment REST api, but the URL
    does not work!
    org.jboss.resteasy.spi.LoggableFailure: Unable to find contextual data of type: javax.ws.rs.core.HttpHeaders
    Any suggestions?

  4. Jay
    15 April 2014 at 21:44

    Hi Geoff,

    So have you figured out how to get the list of deployment ID’s . We are also looking for the same, Thanks.

  5. Jay
    15 April 2014 at 23:20

    Now I figured out how to get the deployment ids.

    Marco ,

    Can you please provide a example how to do the submit the command using runtime/execute . Thanks

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: