cancel
Showing results for 
Search instead for 
Did you mean: 

How to customize REST apis in Activiti 5.17.0

penusila611621
Champ in-the-making
Champ in-the-making
I have downloaded latest version of Activiti 5.17.0 and setup is working fine.

I am planning to customize few of the rest apis. Seems the latest version changed drastically. Please let somebody post some steps to achieve the same. And also if I customize RestConfiguration under ImportClasses, how to inject his to engine.
4 REPLIES 4

penusila611621
Champ in-the-making
Champ in-the-making
Anybody please post some help here that "Does it possible to customize OOTB Activiti rest api's in latest version 5.17.0"

penusila611621
Champ in-the-making
Champ in-the-making
I have extended the class WebConfigurer and seen the URL pattern dispatcherServlet.addMapping("/service/*"); inside initSpring method. As far as my understanding this piece of code doing the URL forwarding. But where does it is forwarding to the right router like router.attach("/runtime/workflow-summary/{processInstanceId}", MuCustomRest.class);

Where can I write this piece of code in latest version 5.17.0

jbarrez
Star Contributor
Star Contributor
A router is a very restlet thing. In Spring MVC, controllers are found using Component scanning (see my other post).

solanki
Champ in-the-making
Champ in-the-making
can someone provide an example on how to add custom rest api's