XML data collection with HTTP POST requests is not working

Description

The XML Collector was enhanced on 1.12 in order to process XML/HTML data from HTTP POST requests.

Unfortunately, there is a problem on the implementation of org.opennms.protocols.xml.collector.AbstractXmlCollectionHandler when replacing the placeholders on the configured Request, which prevents the proper behavior of the XML Collector with HTTP POST requests.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Alejandro Galue May 6, 2015 at 2:12 PM

Here is the core of the fix (useful for fixing an older version of OpenNMS):

In case someone requires this functionality on a version older than 16.0.0, the user should recompile protocols/xml from the source after applying the above patch.

Alejandro Galue May 6, 2015 at 1:58 PM

Fixed on revision 240d48f92c15d2f5c91808130f526f7a010eaa5d for foundation, and merged to develop on revision c62cc243d52c25c81d2cc6ae287ecd5062ae1f5d.

Fixed

Details

Assignee

Reporter

Components

Priority

PagerDuty

Created May 6, 2015 at 1:52 PM
Updated May 6, 2015 at 5:53 PM
Resolved May 6, 2015 at 1:58 PM