Rest API's are different in kie-execution server and jbpm-final war

318 views
Skip to first unread message

Anand Parthiban

unread,
Oct 24, 2016, 7:53:26 AM10/24/16
to jBPM Usage
Hello All,

I am using Jbpm-6.2.0 Final all in one war in my project and was relying completely on JBPM's REST API for almost all the transactions.

Currently i am moving the Workbench controller and the KIE-Execution server separately for one of the requirement.

But it seems the API's are completely different when i query the process list through my execution server.

Example below

Previously  : GET http://IP:PORT/jbpm-console/rest/deployment/processes?p=0&s=1000

Now : GET http://10.14.228.230:8230/kie-server/services/rest/server/queries/processes/definitions

Any Specific reason for the change when it comes to separate execution server. Is there another way i can manage the same like before.


Need your help and advice to proceed further.



Maciej Swiderski

unread,
Oct 24, 2016, 10:19:34 AM10/24/16
to Anand Parthiban, jBPM Usage
the approach has been changed to accomodate all needs that were identified when REST api used in workbench was put into real cases. There was a need for more structured api that can evolve in isolated way (processes, rules, planning) and still provide a lot of flexibility to allow custom extensions.  Thus the endpoints had to change.

Maciej
--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/028656d4-4755-44e1-b583-bdae2c9e5ddc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anand Parthiban

unread,
Oct 24, 2016, 10:24:14 AM10/24/16
to Maciej Swiderski, jBPM Usage
Thanks Maciej, Hope all the endpoints are available though.

I am using the Below rest services in my custom application. can you please confirm if they are all available either in Kie Server or Workbench Controller.

1.       Get Deployed Process List

2.       Get Process Variables

3.       Execute Process

4.       Get Process Instance List

5.       Get Process Instance Variable with values

6.       Get Process Instance Status Image

7.       Get Task List

8.       Get Task Variables

9.       Execute Task

10.   Create, delete, & update Organizational unit

11.   Create, delete, & update Repository

12.   Create, delete, & update Project



Sent from my iPhone

Maciej Swiderski

unread,
Oct 24, 2016, 11:02:44 AM10/24/16
to Anand Parthiban, jBPM Usage
On 24.10.2016, at 16:24, Anand Parthiban <h3llo...@gmail.com> wrote:

Thanks Maciej, Hope all the endpoints are available though.

I am using the Below rest services in my custom application. can you please confirm if they are all available either in Kie Server or Workbench Controller.

1.       Get Deployed Process List
2.       Get Process Variables
3.       Execute Process
4.       Get Process Instance List
5.       Get Process Instance Variable with values
6.       Get Process Instance Status Image
7.       Get Task List
8.       Get Task Variables
9.       Execute Task
All above are available in KIE Server

10.   Create, delete, & update Organizational unit
11.   Create, delete, & update Repository
12.   Create, delete, & update Project
last three are in workbench

Maciej


Sent from my iPhone

On 24-Oct-2016, at 7:49 PM, Maciej Swiderski <swidersk...@gmail.com> wrote:

the approach has been changed to accomodate all needs that were identified when REST api used in workbench was put into real cases. There was a need for more structured api that can evolve in isolated way (processes, rules, planning) and still provide a lot of flexibility to allow custom extensions.  Thus the endpoints had to change.

Maciej
On 24.10.2016, at 13:53, Anand Parthiban <h3llo...@gmail.com> wrote:

Hello All,

I am using Jbpm-6.2.0 Final all in one war in my project and was relying completely on JBPM's REST API for almost all the transactions.

Currently i am moving the Workbench controller and the KIE-Execution server separately for one of the requirement.

But it seems the API's are completely different when i query the process list through my execution server.

Example below

Previously  : GET http://IP:PORT/jbpm-console/rest/deployment/processes?p=0&s=1000

Now : GET http://10.14.228.230:8230/kie-server/services/rest/server/queries/processes/definitions

Any Specific reason for the change when it comes to separate execution server. Is there another way i can manage the same like before.


Need your help and advice to proceed further.




--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/028656d4-4755-44e1-b583-bdae2c9e5ddc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.

Anand Parthiban

unread,
Oct 24, 2016, 11:22:08 AM10/24/16
to Maciej Swiderski, jBPM Usage
Thanks for the quick response Maciej,

I will look at the documents and let u know

Sent from my iPhone

Anand Parthiban

unread,
Oct 25, 2016, 2:44:41 AM10/25/16
to jBPM Usage
Hi Maciej,

Is there a similar API documentation available for the workbench url also ?  can you shed some light on this.

Appreciate your efforts in creating the API documentation for kie-server Crisp and Clear.

Maciej Swiderski

unread,
Oct 25, 2016, 2:58:40 AM10/25/16
to Anand Parthiban, jBPM Usage

--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+unsubscribe@googlegroups.com.

To post to this group, send email to jbpm-...@googlegroups.com.

jagan reddy

unread,
Mar 22, 2018, 6:42:53 AM3/22/18
to jBPM Usage
hi

can you please send all rest api for below list
1.       Get Deployed Process List
2.       Get Process Variables
3.       Execute Process
4.       Get Process Instance List
5.       Get Process Instance Variable with values
6.       Get Process Instance Status Image
7.       Get Task List
8.       Get Task Variables
9.       Execute Task

its need quickly

Thanks,
jagan
Reply all
Reply to author
Forward
0 new messages