Provide backward compatibility methods for JRobinDirectoryUtils when storeByForeignSource is not required

Description

The solution for NMS-6075 was to modify some methods to pass the foreignSource and the foreignId (with the nodeId) of each node in order to determinate the proper RRD path no matter if storeByForeignSource is enabled or not.

The problem is that all customers with custom reports should update their templates in order to upgrade to the newest OpenNMS.

For this reason, it is important to re-create the old methods for backward compatibility. Of course, the old method implementations are going to throw an exception if a report template tries to use these old methods with storeByForeignSource enabled.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Alejandro Galue September 25, 2013 at 9:47 AM

Fixed on revision aa86638cdabc1e27dd9c094df45609b04a603267 for 1.12

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

PagerDuty

Created September 25, 2013 at 9:18 AM
Updated January 27, 2017 at 4:21 PM
Resolved September 25, 2013 at 9:47 AM