| Summary: | Sensor/Extractor XPath filtering does not work in remote log import scenario | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Dave Smith <smith> | ||||||
| Component: | TPTP.monitoring | Assignee: | Rohit Shetty <rohit.shetty> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P1 | CC: | apnan, harkrish, jkubasta, labadie, rohit.shetty | ||||||
| Version: | unspecified | Keywords: | plan | ||||||
| Target Milestone: | --- | Flags: | apnan:
review+
|
||||||
| Hardware: | PC | ||||||||
| OS: | Windows 2000 | ||||||||
| Whiteboard: | closed460 | ||||||||
| Attachments: |
|
||||||||
|
Description
Dave Smith
Created attachment 73420 [details]
Modified Apache access log adapter file with XPath sensor filter specification
Deferring this to 4.4.1 because there is a workaround for extenders that use sensor/extractor filtering for log import. Dave, I tested the fix for AC and see that we have to add all the below mentioned parameters <Variable name="CLASSPATH" position="prepend" value="%CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_MODELS%"/> <Variable name="CLASSPATH" position="prepend" value="%CLASSPATH_ORG_ECLIPSE_JDT%"/> <Variable name="CLASSPATH" position="prepend" value="%CLASSPATH_ORG_ECLIPSE_JDT_LAUNCHING%"/> Hari, what jars are defined in CLASSPATH_ORG_ECLIPSE_JDT? As far as I know for Fast XPath compiliation support, only org.eclipse.jdt.core jar is required. Why is CLASSPATH_ORG_ECLIPSE_JDT_LAUNCHING required to be added to the classpath? Note, the JDT jars are currently not packaged with the TPTP Agent Controller. Deferring this to future because there is currently no plan to add sensor/extractor filtering support in the log import scenario in TPTP. This is required from AC perspective Add a sizing. Created attachment 83696 [details]
Patch for this problem
Alex, Can you review the patch. Also, requesting moving this defect to 4.5 i4. Thanks. Reviewed. +1. Please make sure you add a test case for it and change the new comment "// org.eclipse.emf.ecore jars" accordingly. Added an Automated test case into Monitoring.Analysis.LogImport to test this fix. Fix is in CVS. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |