<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
It does look like there is an EventGraph that could make this
easier:<br>
<a class="moz-txt-link-freetext" href="http://www.tinkerpop.com/docs/javadocs/blueprints/2.0.0/com/tinkerpop/blueprints/util/wrappers/event/EventGraph.html">http://www.tinkerpop.com/docs/javadocs/blueprints/2.0.0/com/tinkerpop/blueprints/util/wrappers/event/EventGraph.html</a><br>
<br>
I have filed a JIRA for us to enable this:<br>
<a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/WINDUP-149">https://issues.jboss.org/browse/WINDUP-149</a><br>
<br>
<div class="moz-cite-prefix">On 07/22/2014 07:45 PM, Brad Davis
wrote:<br>
</div>
<blockquote
cite="mid:B2C53D10-D47B-49C7-93C3-D05DF5B3B7D1@redhat.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div>There are graph listeners already I'm pretty sure. <br>
<br>
<span style="background-color: rgba(255, 255, 255, 0);">Brad
Davis<br>
Red Hat Consulting<br>
Email: <a moz-do-not-send="true"
href="mailto:bdavis@redhat.com"
x-apple-data-detectors="true"
x-apple-data-detectors-type="link"
x-apple-data-detectors-result="8">bdavis@redhat.com</a> | c:<a
moz-do-not-send="true" href="tel:980.226.7865"
x-apple-data-detectors="true"
x-apple-data-detectors-type="telephone"
x-apple-data-detectors-result="9">980.226.7865</a> |<a
moz-do-not-send="true" href="http://www.redhat.com/"
x-apple-data-detectors="true"
x-apple-data-detectors-type="link"
x-apple-data-detectors-result="10">http://www.redhat.com</a> </span><br
style="font-family: UICTFontTextStyleBody;
-webkit-text-size-adjust: auto;">
</div>
<div><br>
On Jul 22, 2014, at 2:28 PM, Ondrej Zizka <<a
moz-do-not-send="true" href="mailto:ozizka@redhat.com">ozizka@redhat.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
1) A reference to the rule being executed could be made
accessible from a context.<br>
2) Some layer above Frames could catch any creation/alteration
of vertices and link them.<br>
<br>
Haven't seen Frames guts, perhaps not doable easily at the
moment.<br>
<br>
<br>
<div class="moz-cite-prefix">On 22.7.2014 17:30, Jess Sightler
wrote:<br>
</div>
<blockquote cite="mid:53CE839B.5040700@redhat.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
But how does it know which vertices were created (or
modified) by that rule?<br>
<br>
<div class="moz-cite-prefix">On 07/22/2014 10:57 AM, Lincoln
Baxter, III wrote:<br>
</div>
<blockquote
cite="mid:CAEp_U4HiwHm436i39CveBVLdE4t8ubnczesOfjqeOsN4phdceg@mail.gmail.com"
type="cite">
<div dir="ltr">The rule executor (RuleSubset) could
actually handle doing this I think. For each rule it
executes, set the ID, the version, and the phase in the
graph (and possibly also a stringification of what the
rule consists of)</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Jul 22, 2014 at 10:09
AM, Jess Sightler <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:jsightle@redhat.com" target="_blank">jsightle@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Oh,
I see... if we are going to do this, I could see it
having a few things:<br>
<br>
1. RuleID - A string uniquely identifying the rule<br>
2. Rule Version - The version of the addon
containing the rule<br>
3. RulePhase - The phase during which the rule was
run<br>
<br>
I don't think that this belongs in reporting,
though. I am also not sure<br>
how easy it would be to automate the population of
these fields, though<br>
it might be possible with some tweaks to frames.<br>
<div class="HOEnZb">
<div class="h5"><br>
On 07/21/2014 08:59 PM, Ondrej Zizka wrote:<br>
> So far, an ID and a reference to the
Ruleset. The ruleset then would<br>
> probably have further info, like, version
etc.<br>
><br>
> <a moz-do-not-send="true"
href="https://github.com/OndraZizka/windup/blob/3940b146f811ab6e5fff1cb6c6def7179a33a467/reporting/api/src/main/java/org/jboss/windup/reporting/model/RuleModel.java"
target="_blank">https://github.com/OndraZizka/windup/blob/3940b146f811ab6e5fff1cb6c6def7179a33a467/reporting/api/src/main/java/org/jboss/windup/reporting/model/RuleModel.java</a><br>
><br>
> Anyway, even if it was just an ID, OOP
principles suggest to encapsulate<br>
> that ID to a type. My experience agrees. I
may be wrong though.<br>
><br>
> Ondra<br>
><br>
><br>
> On 22.7.2014 02:40, Jess Sightler wrote:<br>
>> I'm not opposed to this idea... except
that I don't know what a<br>
>> "RuleModel" would actually contain,
other than the ID.<br>
>><br>
>> What are you proposing it to contain?<br>
>><br>
>> On 07/21/2014 07:03 PM, Ondrej Zizka
wrote:<br>
>>> We should have $subj:<br>
>>><br>
>>> We need to refer to the rules in
the report.<br>
>>> We agreed to store all information
in the graph.<br>
>>> Current ID is not guaranteed to be
the same over runs.<br>
>>> Current ID has no namespaces.<br>
>>><br>
>>> my2c.<br>
>>> Ondra<br>
>>><br>
>>>
_______________________________________________<br>
>>> windup-dev mailing list<br>
>>> <a moz-do-not-send="true"
href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
>>> <a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/windup-dev"
target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
>>
_______________________________________________<br>
>> windup-dev mailing list<br>
>> <a moz-do-not-send="true"
href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
>> <a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/windup-dev"
target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
>
_______________________________________________<br>
> windup-dev mailing list<br>
> <a moz-do-not-send="true"
href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
> <a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/windup-dev"
target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
<br>
_______________________________________________<br>
windup-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/windup-dev"
target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Lincoln Baxter, III<br>
<a moz-do-not-send="true" href="http://ocpsoft.org"
target="_blank">http://ocpsoft.org</a><br>
"Simpler is better." </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
windup-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/windup-dev">https://lists.jboss.org/mailman/listinfo/windup-dev</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
windup-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/windup-dev">https://lists.jboss.org/mailman/listinfo/windup-dev</a></pre>
</blockquote>
<br>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>windup-dev mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a></span><br>
<span><a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/windup-dev">https://lists.jboss.org/mailman/listinfo/windup-dev</a></span></div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
windup-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/windup-dev">https://lists.jboss.org/mailman/listinfo/windup-dev</a></pre>
</blockquote>
<br>
</body>
</html>