I am working on creating a monitoring API Java to connect between two Java project (two workflow engine source code).
I manage to find the common monitoring method for this project,In fact, this common monitoring method on Java have the same functionalities but it have different parameters.I don't know how I can create amonitoring API to connect this method. Example the monitoring API uses the workflow id to call the common method (workflow state) of the two projects and post the two different results of the workflow state methods .
the project 1 (Pegasus workflow engine) : class JobStateEntry
the project 2 (Taverna workflow engine) : class StatusReport
if i have the workflow id how can i create a workflow monitoring API .this API call the two method (Pegasus.JobStateEntry.getState() and Taverna.StatusReport.getState()) and post it results .
Sara rodreg wrote:if i have the workflow id how can i create a workflow monitoring API .this API call the two method (Pegasus.JobStateEntry.getState() and Taverna.StatusReport.getState()) and post it results .
I'm having trouble understanding what a "workflow monitoring API" is. If it's just calling two methods and posting this somewhere, it's easy. But are you going to have instances (objects) of JobStateEntry and StatusReport? Are you going to read the states of the two reports from a DB? Will the reports be running for a long time? Will these reports be on the same system as the "API" (the monitoring task)?