Re: [Karmatool-users] Adding workflow via RabbitMQ?
Brought to you by:
datatoinsight,
yuanluo
From: Black, M. (IS) <Mic...@ng...> - 2013-03-15 16:12:18
|
OK...more questions.... I can successfully run the new sample. But...seems if I change most ANYTHING it doesn't work and there are no error messages during ingest. Apparently there is some magic incantation that's necessary for a workflow to "complete" but I'm missing the magic. #1 I tried changing the workflowID to a custom entry and it the workflow does not show up (completely replaced the "tag:...." with "mystuff:...." #2 I tried eliminating a step or 2 at several places in the ingest flow and the workflow does not show up if I miss most any step. Only thing I've been able to do so far is change the last part of the workflow so I can at least see that it does work and new workflows get added (I'm accessing the database directly to see all the available workflowIDs) Can you provide an absolute minimum example. My anticipated usage is that the workflows will get updated as time goes on and so additional information would be added. I assume that's possible? Michael D. Black Senior Scientist Analytics, Production and Services Advanced GEOINT Systems Northrop Grumman Information Systems ________________________________ From: yu...@um... [yu...@um...] on behalf of Yuan Luo [yu...@in...] Sent: Friday, February 01, 2013 4:14 PM To: Black, Michael (IS) Cc: karmatool-users Subject: EXT :Re: [Karmatool-users] Adding workflow via RabbitMQ? Hi Michael, I added a complete set of notifications here, http://karmatool.svn.sourceforge.net/karmatool/karma/trunk/client-core/samples/sampleWorkflow1 Please refer to the new README file for instructions. Let me know if you have any other questions. Thanks, Yuan On Fri, Feb 1, 2013 at 1:07 PM, Black, Michael (IS) <Mic...@ng...<mailto:Mic...@ng...>> wrote: I ran the samples...but it appears there's no "workflowID" produced. Does the SVN project contain a complete set of notifications/queries that result in a workflowID that can be queried? It doesn't appear so. I ran all the notifications. I modified getWorkflowGraphRequest.xml to query workflow_8. But the query replies "Unknown Query"....which I assume really means "Unknown workflowID". And I don't see where, for example, "workflow_8" ends up in the database to try to figure this out on my own. Can you show a COMPLETE example using what's in SVN? Michael D. Black Senior Scientist Analytics, Production and Services Advanced GEOINT Systems Northrop Grumman Information Systems ________________________________ From: yu...@um...<mailto:yu...@um...> [yu...@um...<mailto:yu...@um...>] on behalf of Yuan Luo [yu...@in...<mailto:yu...@in...>] Sent: Friday, February 01, 2013 2:21 AM To: Black, Michael (IS) Cc: kar...@li...<mailto:kar...@li...> Subject: EXT :Re: [Karmatool-users] Adding workflow via RabbitMQ? Hi Michael, Thanks for your interests in Karma. A workflow is ingested to Karma via multiple notifications in xml format. A notification represents an activity (event) during the workflow run. For example, if you have a simple workflow that consist of two services (S1 and S2) and one data product (D1), and S1 invokes S2 and S2 produces D1, then the workflow can be ingested as two notifications: 1. A serviceInvoked notification in which S1 is the invoker and S2 is the invokee. 2. A dataProduced notification in which S2 produces D1. Please check out the latest version from SVN. Samples of these notification files can be found in SVN http://karmatool.svn.sourceforge.net/karmatool/karma/trunk/client-core/samples/notification/ Once you have the notification files ready, please follow the client-core README file to send the notifications, and query the graph. Query samples can be found here http://karmatool.svn.sourceforge.net/karmatool/karma/trunk/client-core/samples/notification/ If you have already played with the web service client test code. You can actually find some notifications in the raw_notification table in the database. Hope this helps. Please let me know if you have any questions. Regards, Yuan On Thu, Jan 31, 2013 at 1:36 PM, Black, Michael (IS) <Mic...@ng...<mailto:Mic...@ng...>> wrote: Been playing with the RabbitMQ client. Able to retrieve a workflow just fine. Is it possible to create a workflow through the RabbitMQ interface? I guess I'm trying to find the easiest and most straightforward way to insert a workflow. For example, kind of like reverse engineering a graphml or SIF file and put it in Karma to get an OPM file out. Michael D. Black Senior Scientist Analytics, Production and Services Advanced GEOINT Systems Northrop Grumman Information Systems ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ Karmatool-users mailing list Kar...@li...<mailto:Kar...@li...> https://lists.sourceforge.net/lists/listinfo/karmatool-users -- Yuan Luo School of Informatics and Computing, Indiana University Data to Insight Center, Indiana University Cell: (812)272-0208<tel:%28812%29272-0208> http://www.yuanluo.net<http://www.yuanluo.net/> -- Yuan Luo School of Informatics and Computing, Indiana University Data to Insight Center, Indiana University Cell: (812)272-0208 http://www.yuanluo.net<http://www.yuanluo.net/> |