send-events-to-elasticsearch karaf command passes username/password in reverse

Description

Two problems:

  • Help for opennms:send-events-to-elasticsearch karaf command has description for username and password reversed.

  • features/opennms-es-rest/src/main/java/org/opennms/plugins/elasticsearch/rest/archive/OnmsHistoricEventsToEs.java calls OnmsRestEventsClient(onmsUrl, onmsPassWord, onmsUserName) where that method is expecting username/password in the opposite order.

 

Tests use admin/admin, so they missed this for use cases where the username and password are different.

Acceptance / Success Criteria

None

Activity

Show:

Mark Mahacek April 27, 2023 at 10:22 PM

PR:

Fixed

Details

Assignee

Reporter

Priority

PagerDuty

Created April 27, 2023 at 10:15 PM
Updated May 23, 2023 at 9:23 PM
Resolved May 23, 2023 at 9:23 PM