Re: [Karmatool-users] Adding workflow via RabbitMQ?
Brought to you by:
datatoinsight,
yuanluo
From: Yuan L. <yu...@in...> - 2013-02-01 22:14:42
|
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...>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... [yu...@um...] on behalf of Yuan Luo > [yu...@in...] > *Sent:* Friday, February 01, 2013 2:21 AM > *To:* Black, Michael (IS) > *Cc:* 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...> 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 > > -- Yuan Luo School of Informatics and Computing, Indiana University Data to Insight Center, Indiana University Cell: (812)272-0208 http://www.yuanluo.net |