Bug 998829
| Summary: | Conversation type property has no type set when activity is queried over REST | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Jiri Pechanec <jpechane> |
| Component: | RT Governance | Assignee: | Gary Brown <gbrown> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Sedlacek <jsedlace> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 GA | CC: | oskutka, soa-p-jira |
| Target Milestone: | ER2 | ||
| Target Release: | 6.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Wasn't a bug as such - the Conversation type was the default value, and json serialization has been configured not to include values that are the same as the default, to ensure it is the most concise representation. However for clarity, it is probably better that the context type is explicit, so have removed the default type from the Context object. Verified in ER2 |
I have an IP configured to set Conversation context. It is properly stored in the database as can be seen using SELECT * FROM RTGOV_ACTIVITY_CONTEXT 12e5af2c-361c-4bc9-99d6-8aa8cc1d9c7a 0 0 Conversation 1 But when a REST call is done the it returns { "type":"RequestReceived", "interface":"org.jboss.soa.qa.shared.service.OrderService", "operation":"processOneWay", "serviceType":"{ urn:switchyard-soa:rtgov_activity_generation:0.1.0 }OrderService", "messageType":"java:org.jboss.soa.qa.shared.data.SimpleOrder", "content":"1", "timestamp":1376982800058, "unitId":"12e5af2c-361c-4bc9-99d6-8aa8cc1d9c7a", "context":[{ "value":"ID-jpechane-47122-1376909188101-18-1", "type":"Message" }, { "value":"1" }], "properties":{ "orderId":"1" } A type is missing for Conversation value