• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Create monitoring API  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Marshal
Posts: 6363
437
BSD Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you could post some code, so would be clearer what is the task about?

Welcome to the Ranch!
 
Sara rodreg
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Marshal
Posts: 5633
147
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sara rodreg, Welcome to the Ranch again!

When your post contains code, be sure to UseCodeTags (that's a link).  I will do it for you this time.
 
Knute Snortum
Marshal
Posts: 5633
147
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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)?

Please TellTheDetails (that's a link).
 
He puts the "turd" in "saturday". Speaking of which, have you smelled this tiny ad?
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!