cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti 5.11 - Rest API returns 404

fwachs
Champ in-the-making
Champ in-the-making
Hi all,

I was under the impression that activiti 5.11's activiti-explorer had implemented the REST api by default. Am I wrong here?
I'm not exactly sure where should I look in order to implement the REST API on the activiti-explorer, can someone point me to where I should look ?

Thanks in advanced,
Federico
4 REPLIES 4

frederikherema1
Star Contributor
Star Contributor
AFAIK, the activiti-rest is still a separate war-file. you could, however, include the activiti-rest.jar in your explorer war and register the right Restlet-servlet yourself. This way, rest runs in the same web app as the explorer.

There are plans to do this by default in 5.12, but it could be 5.13, depends on another dependent feature…

fwachs
Champ in-the-making
Champ in-the-making
AFAIK, the activiti-rest is still a separate war-file. you could, however, include the activiti-rest.jar in your explorer war and register the right Restlet-servlet yourself. This way, rest runs in the same web app as the explorer.

There are plans to do this by default in 5.12, but it could be 5.13, depends on another dependent feature…


Thanks for your reply! Just one more question. Adding the activiti-rest.jar wouldn't conflict with the activiti-modeler jar?
It looks to me that I should merge ActivitiRestApplication from both apps and make one out of it if I want to keep both functionalities, is that correct?

frederikherema1
Star Contributor
Star Contributor
Yes, That's the way to go, merging both applications and routing both modeler and rest-resources there…

fwachs
Champ in-the-making
Champ in-the-making
Nevermind! It's working now. Thanks a lot!