Question regarding the Rest-API
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2014 03:56 AM
I would like to call into Your attention a phenomenon that I could not only observe using activiti-5.15.1 but also after deploying the latest wars, those of activity activiti-5.16.3. Even in the latest version of activity, it seems to me that some parts of the Rest API are not yet implemented.
If I open the activity-explorer GUI, then – under administration - I see a model named ACT_RE_MODEL with the id 50. But http://kermit:kermit@myhost
ort/repository/models
Results in:
…as if it was not there. http://kermit:kermit@myhost
ort/activiti-rest/service/runtime/tasks
…results in
Even though I saw a number of tasks under administration -> ACT_HI_TASKINST .
If I open the activity-explorer GUI, then – under administration - I see a model named ACT_RE_MODEL with the id 50. But http://kermit:kermit@myhost

Results in:
<!DOCTYPE html><html> <head> <title>Apache Tomcat/8.0.14 - Error report</title> <style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head> <body> <h1>HTTP Status 404 - /activiti-rest/repository/models/50</h1> <div class="line"></div> <p> <b>type</b> Status report </p> <p> <b>message</b> <u>/activiti-rest/repository/models/50</u> </p> <p> <b>description</b> <u>The requested resource is not available.</u> </p> <hr class="line"> <h3>Apache Tomcat/8.0.14</h3> </body> </html>
…as if it was not there. http://kermit:kermit@myhost

…results in
{ "data": [], "total": 0, "start": 0, "sort": "id", "order": "asc", "size": 0}
Even though I saw a number of tasks under administration -> ACT_HI_TASKINST .
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2014 11:06 AM
The Explorer and REST app don't share the same database by default, because they are both using an in-memory H2 database. You need to change the db.properties to share the same database config.
Best regards,
Best regards,
