John,
Could you give me a link to bugzilla? I looked around the rhq-project
pages but didn't see anything obvious.
Steve
On 7/5/2011 2:35 AM, John Mazzitelli wrote:
There is not, no. That snapshot feature is not really to be
considered
fully built out with all the bells and whistles (this is why there is no
easy UI interfacing to it). There is probably lots more we can do here
to fill out that feature - this customizable timeout is one such
feature. Can you write up a bugzilla on this.
For the record, the code gives your plugin 10 minutes to complete the
building of the snapshot report. See the plugin container class called
org.rhq.core.pc.support.SupportManager:
public InputStream getSnapshotReport(int resourceId, String name,
String description) throws Exception {
SupportFacet facet = getSupportFacet(resourceId, 600000L); //
give it enough time to zip up all the snapshot content
What we will probably do here is change that method API, collapse those
parameters into a single parameter "SnapshotReportRequest" (to mimic the
plugin API). We could then add a timeout to the request and pass it to
the second parameter you see there to getSupportFacet.
_______________________________________________
rhq-devel mailing list
rhq-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/rhq-devel