Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 996501

Summary: org/overlord/rtgov/activity/model/bpm/ProcessCompleted does not have status set
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Jiri Pechanec <jpechane>
Component: RT GovernanceAssignee: Gary Brown <gbrown>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Sedlacek <jsedlace>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: oskutka, soa-p-jira
Target Milestone: ER4   
Target Release: ---   
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:

Description Jiri Pechanec 2013-08-13 10:06:49 UTC
It is necessary to get the status of the process instance and set

Comment 1 Jiri Pechanec 2013-09-16 13:43:00 UTC
status attribute still not present in REST data

for BPM
   {
    "type":"ProcessCompleted",
    "instanceId":"1",
    "processType":"BPMService",
    "timestamp":1379334461578,
    "unitId":"org.jboss.soa.qa.rtgactivity.RTGovBPMIntegrationTest#bpmCall#1379334461526",
    "unitIndex":5,
    "context":[{
    "value":"BPMService:1",
    "type":"Endpoint"
}

for BPEL
    {
    "type":"ProcessCompleted",
    "instanceId":"1",
    "processType":"{
    urn:switchyard-soa:rtgov_activity_generation:0.1.0
}Process",
    "timestamp":1379336375509,
    "unitId":"85a34afb-17b0-4b9f-8777-51085fd1a76b",
    "unitIndex":3,
    "context":[{
    "value":"{
    urn:switchyard-soa:rtgov_activity_generation:0.1.0
}Process:1",
    "type":"Endpoint"
}

Comment 2 Gary Brown 2013-09-17 11:14:07 UTC
This was due to the default completion status being 'success' and the REST serialization not creating attributes with same values as their defaults.

Have cleared the default value so will now be included in the REST data.

Comment 6 Jiri Pechanec 2013-10-10 09:34:43 UTC
Verified in ER4

Comment 7 JBoss JIRA Server 2014-07-02 09:19:29 UTC
Gary Brown <gary> updated the status of jira RTGOV-277 to Closed

Comment 8 JBoss JIRA Server 2014-07-02 09:19:50 UTC
Gary Brown <gary> updated the status of jira RTGOV-249 to Closed