Hi, I was able to figure-out how to locate the history log file with the help of Janaka. I was able to get the "registry.lifecycle_history.originalPath" property for the resources with changed environment and locate the log file properly. Finding the Log file for the particular resource is fine now. But I have two more concerns. BTW I'm not sure whether these are valid use cases or not.
[1] User can edit/change/delete the content of the history log file. If so what is the possible solution? [2] User associates a LC to a resource, promote and delete the LC. Then again associate another LC promote/demote etc. There is no way in the log file to check which state comes form which LC. So when I show the transition history states in both LCs appear. [image: Inline image 1] [1] But Samisa asked me to show the time spent on a particular state also. (i.e Development - 2 Days 3 hours 15 minutes etc.) I don't know whether it is possible to get the difference from the time-stamps etc [2] Do I need to show the other history data (like check items etc.) or only state transitions are enough ?? [3] Whether it is necessary to show a shortened view of history in a jsp like above(in the same panel) and provide a link to click and see a pop-up detailed view. I like to know exactly on these points since the outcome should be more generic to all the G-Reg resources as well. Thanks, Lasindu On Wed, Nov 7, 2012 at 7:00 PM, Senaka Fernando <[email protected]> wrote: > Hi Lasindu, > > Its better to use what's there rather than inventing something new, as it > would if so have a migration overhead etc. > > Thanks, > Senaka. > > On Wed, Nov 7, 2012 at 12:24 PM, Lasindu Vidana Pathiranage < > [email protected]> wrote: > >> Hi, >> >> I'm doing the LC Activity history for G-Reg. I need to access >> the relevant Log file inside >> "/_system/governance/repository/components/org.wso2.carbon.governance/lifecycles/history" >> for >> a particular resource. The problem here is that I cannot locate the log >> file for that particular resource from the path variable. Path and the log >> file name seems to be different for services etc. This may be because >> StatWriter create a single log file for a resource, no matter whether it is >> promoted to a different environment or whether a new version is created etc. >> >> - One of the solutions I can identify is creating a separate log file for >> each resource, resource_version >> - I'm not sure whether setting a property would work or not. >> >> >> Lasindu Charith >> Intern WSO2 Inc. >> Mobile : 94714427192 >> > > > > -- > *Senaka Fernando* > Member - Integration Technologies Management Committee; > Technical Lead; WSO2 Inc.; http://wso2.com* > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware > > -- Lasindu Charith Intern WSO2 Inc. Mobile : 94714427192
<<LC History.png>>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
