Bug 593204

Summary: logging activities in catalog workflow
Product: [Retired] Red Hat Hardware Certification Program Reporter: Mao DengFeng <dmao>
Component: Hardware Catalog WorkflowAssignee: Wei Shen <wshen>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: junwang, rlandry, sdenham, wshen, xisun
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-22 08:39:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch for workflow logging none

Description Mao DengFeng 2010-05-18 07:33:41 UTC
The activities in catalog workflow should be logged into db. Then these activities can be tracked properly. 

We will try to minmic the logging mechanism for bug activities in BZ.

1) All fields which need be logged should be defined in a table, like BZ's 'fielddef'
2) Define a new table for workflow activities, like BZ's 'bugs_activity'

3) overwrite the 'update' function in workflow objects, add the codes for saving workflow activities.

Comment 1 Mao DengFeng 2010-05-18 08:37:26 UTC
The latest db schema for catalog workflow:
https://engineering.redhat.com/trac/hwcert/wiki/NewDatabaseSchema

Comment 2 Mao DengFeng 2010-05-31 06:07:50 UTC
Created attachment 418168 [details]
patch for workflow logging