Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • 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
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Create monitoring API  RSS feed

 
Greenhorn
Posts: 3
  • 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: 6577
443
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: 3
  • 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 .
 
Sheriff
Posts: 5742
148
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
Sheriff
Posts: 5742
148
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).
 
sunglasses are a type of coolness prosthetic. Check out the sunglasses on this tiny ad:
Become a Java guru with IntelliJ IDEA
https://www.jetbrains.com/idea/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!