cancel
Showing results for 
Search instead for 
Did you mean: 

How to test Activiti-Rest

maxbaba
Champ in-the-making
Champ in-the-making
Hi:

[1] Here is my overall set-up details in Alfresco Activiti Enterprise edition:

I installed 'activiti-app', 'activiti-admin' and 'activiti-rest' apps.

'activiti-admin' has been configured to access 'jdbc/activitiAdminDS'

'activiti-app' and 'activiti-rest' are configured to access the same JNDI datasource 'jdbc/activitiDS'

Both the above datasources are defined in server.xml of tomcat with 'Resource-Links' in tomcat's context.xml

I have added a 'Resource-Ref' to web.xml of 'activiti-rest' app.

[2] Now when I use Chrome's Advanced Rest Client and Call with token authorization

GET http://<baseurl/context-root>/activiti-rest/api/repository/process-definitions, I get the following:

Response: 404 Not Found

[3] FYI: The userid and pwd I use for token authorization have tenant-admin/manager access

Can anyone please help shed light on why I'm not seeing any process definitions in my response?

-Thanks for reading.
1 REPLY 1

maxbaba
Champ in-the-making
Champ in-the-making
Hi - looks like Alfresco activiti Enterprise comes bundled with REST API and there is no need for me to deploy activiti-rest application separately. Once I got this information from Alfresco tech support, my <context-url> changed from activiti-rest to activiti-app as follows:

http://localhost:8080/activiti-app/api/enterprise/process-definitions
This above URL works.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.