Re: [Karmatool-users] Adding workflow via RabbitMQ?
Brought to you by:
datatoinsight,
yuanluo
From: Yuan L. <yu...@in...> - 2013-02-01 08:43:45
|
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... > 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... > 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 http://www.yuanluo.net |