]
Gary Brown updated GADGETS-45:
------------------------------
Attachment: GadgetWeb.png
JSON.png
Images showing gadget, where only the context information is displayed for the situation,
and the REST client showing the values from the server which includes the properties.
Properties not displayed for Situation
--------------------------------------
Key: GADGETS-45
URL:
https://issues.jboss.org/browse/GADGETS-45
Project: Gadget Server and Gadgets
Issue Type: Bug
Reporter: Gary Brown
Assignee: Jeff Yu
Fix For: 1.0.0.M4
Attachments: GadgetWeb.png, JSON.png
The runtime governance order management example, in combination with the SLA monitor
sample rules, creates a couple of Situation items when sending in the following soap
message:
{noformat}
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<orders:submitOrder
xmlns:orders="urn:switchyard-quickstart-demo:orders:1.0">
<order>
<orderId>3</orderId>
<itemId>JAM</itemId>
<quantity>100</quantity>
<customer>Fred</customer>
</order>
</orders:submitOrder>
</soap:Body>
</soap:Envelope>
{noformat}
When directly querying the REST service, it shows the following JSON:
{noformat}
[{"description":"InventoryService exceeded maximum response time of 400
ms","severity":"Critical","activityTypeIds":[{"unitId":"1903c76a-88f7-44e2-8277-8c8e9a0f5ee6","unitIndex":2},{"unitId":"1903c76a-88f7-44e2-8277-8c8e9a0f5ee6","unitIndex":5}],"context":[{"value":"f24f08b4-bb2f-4327-a5b8-6316b3bc8d92","type":"Message"},{"value":"fc6f1973-d798-4266-bbf6-898a801dff8f","type":"Message"}],"subject":"{urn:switchyard-quickstart-demo:orders:0.1.0}InventoryService/lookupItem","timestamp":1363271983097,"properties":{},"type":"SLA
Violation"},{"description":"OrderService exceeded maximum response
time of 400
ms","severity":"Critical","activityTypeIds":[{"unitId":"1903c76a-88f7-44e2-8277-8c8e9a0f5ee6","unitIndex":0},{"unitId":"1903c76a-88f7-44e2-8277-8c8e9a0f5ee6","unitIndex":12}],"context":[{"value":"fa13a4c3-9199-4df3-9801-ab51a0e6fd80","type":"Message"},{"value":"3","type":"Conversation"},{"value":"c6fddfce-ced1-4eaf-af92-cc4fab0c09e9","type":"Message"}],"subject":"{urn:switchyard-quickstart-demo:orders:0.1.0}OrderService/submitOrder","timestamp":1363271983098,"properties":{"customer":"Fred","total":"240.0","item":"JAM"},"type":"SLA
Violation"}]
{noformat}
(also shown in the attached image).
At the end of this response there is a set of properties, i.e. customer=Fred,
total=240.0, item=JAM.
However in the Situations gadget, only the context values are being displayed (see other
attached image).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: