JBoss Developer: Message ListMost recent forum messageshttps://developer.jboss.org/?view=discussionsJive Engage2015-07-28T10:34:33Z2015-07-28T10:34:33ZenRe: How to log WS response messageGary Brown/people/objectiserdo-not-reply@jboss.com2015-07-28T10:34:33Z2015-07-28T10:34:33Z<!-- [DocumentBodyStart:3eca7b19-f1ff-437c-9782-8beb2fc74f8d] --><div class="jive-rendered-content"><p>As mentioned before, simply take a copy of ALL of the code in the overlord-rtgov-switchyard.war module (<a class="jive-link-external-small" href="https://github.com/Governance/rtgov/tree/master/integration/switchyard" rel="nofollow">rtgov/integration/switchyard at master &middot; Governance/rtgov &middot; GitHub</a>) and build your own version of that war making whatever code changes you want.</p></div><!-- [DocumentBodyEnd:3eca7b19-f1ff-437c-9782-8beb2fc74f8d] --><img src='/beacon?t=1438547232629' />2015-07-28T10:34:33Z5 days 10 hours ago0Re: How to log WS response messageGary Brown/people/objectiserdo-not-reply@jboss.com2015-07-17T08:24:17Z2015-07-17T08:24:17Z<!-- [DocumentBodyStart:ec40fbf2-0090-4abe-8211-6fa1e90aa1c0] --><div class="jive-rendered-content"><p>That is why in my previous response I said that you should replace the current overlord-rtgov-switchyard.war with your own integration with switchyard - then you are in control of when the activity unit starts and ends.</p></div><!-- [DocumentBodyEnd:ec40fbf2-0090-4abe-8211-6fa1e90aa1c0] -->2015-07-17T08:24:17Z2 weeks 3 days ago0Re: Is it possible to split ip.json into multiple files?Gary Brown/people/objectiserdo-not-reply@jboss.com2015-07-16T16:08:28Z2015-07-16T16:08:28Z<!-- [DocumentBodyStart:b3471636-359a-415a-86ff-af7ab0d72365] --><div class="jive-rendered-content"><p>No there isn't any filtering at the moment - although if you implement your own switchyard interceptor (activity reporter), then you can control that yourself.</p></div><!-- [DocumentBodyEnd:b3471636-359a-415a-86ff-af7ab0d72365] -->2015-07-16T16:08:28Z2 weeks 3 days ago0Re: How to log WS response messageGary Brown/people/objectiserdo-not-reply@jboss.com2015-07-16T14:14:50Z2015-07-16T14:14:50Z<!-- [DocumentBodyStart:cfddf133-3ec6-4310-858e-eff12e70b14b] --><div class="jive-rendered-content"><p>The switchyard listener mechanism used in rtgov is a separate component (which can be undeployed), so if you find a more appropriate interceptor point for your needs, then you could write your own listener and create the same types of rtgov activity events.</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>The code used by RTGov to listener for switchyard events and report them as activity events is here: <a class="jive-link-external-small" href="https://github.com/Governance/rtgov/tree/master/integration/switchyard/src/main/java/org/overlord/rtgov/internal/switchyard" rel="nofollow">https://github.com/Governance/rtgov/tree/master/integration/switchyard/src/main/java/org/overlord/rtgov/internal/switchyard</a></p></div><!-- [DocumentBodyEnd:cfddf133-3ec6-4310-858e-eff12e70b14b] -->2015-07-16T14:14:50Z2 weeks 3 days ago30Re: How to log WS response messageGary Brown/people/objectiserdo-not-reply@jboss.com2015-07-16T13:15:05Z2015-07-16T13:15:05Z<!-- [DocumentBodyStart:fd052710-7f97-4317-b5fd-f7f746f736ff] --><div class="jive-rendered-content"><p>The message that is logged is based on the information provided by the specific event hook (i.e. switchyard event listener). So in the case of the response, at the point the event listener is triggered, the exchange contains a Java object. This is then transformed as part of the binding when returning the response to the client.</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>One thing you could try, is to define a transformer in the ip.json for the returned type (my.packages.OperationOutput) using an mvel expression that invokes a utility (that you would need to provide) to transform the message content into XML. If the utility classes are packages in the same war as the ip.json, then it should work - although I've not actually tried this out.</p></div><!-- [DocumentBodyEnd:fd052710-7f97-4317-b5fd-f7f746f736ff] -->2015-07-16T13:15:05Z2 weeks 3 days ago50Re: Is it possible to split ip.json into multiple files?Gary Brown/people/objectiserdo-not-reply@jboss.com2015-07-16T13:11:15Z2015-07-16T13:11:15Z<!-- [DocumentBodyStart:fc47b26e-9c3b-4397-9bd6-2c1dd66096fd] --><div class="jive-rendered-content"><p>No, the contents of the ip.json can't be split across multiple files. However one alternative would be to create multiple deployments, each with a ip.json containing an appropriate subset of the definitions.</p></div><!-- [DocumentBodyEnd:fc47b26e-9c3b-4397-9bd6-2c1dd66096fd] -->2015-07-16T13:11:15Z2 weeks 3 days ago20Re: Exception with using Oracle DBGary Brown/people/objectiserdo-not-reply@jboss.com2015-07-15T08:47:45Z2015-07-15T08:47:45Z<!-- [DocumentBodyStart:bb595794-7ba9-4187-800d-a2acb7ae4de1] --><div class="jive-rendered-content"><p>Unfortunately you can only get access to the product if you have a paid subscription. However RTGov 2.x hasn't be productised yet, it will be included in the next version of FSW, and at that point the db scripts may be moved back into the community project. At this point, as the productisation of RTGov 2.x hasn't occurred, the scripts would not be uptodate yet anyway.</p></div><!-- [DocumentBodyEnd:bb595794-7ba9-4187-800d-a2acb7ae4de1] -->2015-07-15T08:47:45Z2 weeks 4 days ago0Re: Exception with using Oracle DBGary Brown/people/objectiserdo-not-reply@jboss.com2015-07-15T08:01:09Z2015-07-15T08:01:09Z<!-- [DocumentBodyStart:42df1a31-0af0-4871-9985-c9f204fd228b] --><div class="jive-rendered-content"><p>Hi Pavel</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>Yes the 'internal' column should be part of the schema. We only ship the H2 scripts as part of the community project, although the FSW product subscription (which includes RTGov) does include scripts for other dbs. There has been discussion recently about placing those scripts back in the community project - so may happen soon.</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>The information displayed in the Kibana dashboard only comes from Elasticsearch. Activities and Situations can be stored either in Elasticsearch or RDBMS, however the information displayed in Kibana is response time information derived from the activities.</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>Have you considered setting up an Elasticsearch cluster to make the information available across multiple systems?</p></div><!-- [DocumentBodyEnd:42df1a31-0af0-4871-9985-c9f204fd228b] -->2015-07-15T08:01:09Z2 weeks 5 days ago20Re: Exception with using Oracle DBGary Brown/people/objectiserdo-not-reply@jboss.com2015-07-14T11:00:40Z2015-07-14T11:00:40Z<!-- [DocumentBodyStart:b4363ccb-6638-404f-98e2-a0129189ccab] --><div class="jive-rendered-content"><p>Hi Pavel</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>Firstly I've moved your post as Overlord Development forum is for project developers/contributors. Users should discuss issues in this forum.</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>Looks like a keyword conflict so can you please raise a bug on the project jira: <a class="jive-link-external-small" href="https://issues.jboss.org/browse/RTGOV" rel="nofollow">https://issues.jboss.org/browse/RTGOV</a></p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>What data specifically is not being displayed in the GUI?</p></div><!-- [DocumentBodyEnd:b4363ccb-6638-404f-98e2-a0129189ccab] -->2015-07-14T11:00:40Z2 weeks 5 days ago40Re: Question about choice projectionGary Brown/people/objectiserdo-not-reply@jboss.com2015-04-15T16:03:36Z2015-04-15T16:03:36Z<!-- [DocumentBodyStart:17d451c3-16ea-4b83-bc14-8a4809d15663] --><div class="jive-rendered-content"><p>Hi Simon</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>This is the response from Ray Hu:</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>"This protocol is not intended to be well-formed because Scribble currently only supports "tail-recursive" protocols.&nbsp; The segment between A and C is not allowed to follow the choice between A and B containing the first "continue Rec" within the scope of the "Rec" recursion.</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p> Taking a "tail-recursive" interpretation of the protocol:</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>&nbsp;&nbsp; "Some number (possibly zero) of (Msg1; Msg3) exchanges, followed by</p><p>&nbsp;&nbsp;&nbsp; a (Msg1; Msg2) exchange, followed by</p><p>&nbsp;&nbsp;&nbsp; a (Msg4; Msg5) exchange, and repeat from start"</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p> can be written (with a small addition)</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>&nbsp;&nbsp; rec X {</p><p>&nbsp;&nbsp;&nbsp;&nbsp; Msg1() from A to B;</p><p>&nbsp;&nbsp;&nbsp;&nbsp; choice at B {</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Msg2() from B to A;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Msg4() from A to C;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Msg5() from C to A;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; continue X</p><p>&nbsp;&nbsp;&nbsp;&nbsp; } or {</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Msg3() from B to A;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Msg6() from A to C;&nbsp; // Added message to make choice well-formed</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; continue X;</p><p>&nbsp;&nbsp;&nbsp;&nbsp; }</p><p>&nbsp;&nbsp; }</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p> Msg6 has been added to make the global choice between A, B and C well-formed according to the current (conservative) conditions for choice well-formedness.</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p> Well-formedness validation has not yet been fully completed in this branch of the Scribble tool implementation -- it is currently being implemented in a separate fork, to be merged into the main branch within a few weeks."</p><p style="min-height: 8pt; padding: 0px;">&nbsp;</p><p>We can discuss this more at the Scribble meeting next week. I'll leave the jira open for now.</p></div><!-- [DocumentBodyEnd:17d451c3-16ea-4b83-bc14-8a4809d15663] -->2015-04-15T16:03:36Z3 months 3 weeks ago0