Reworking OpenNMS Selenium Plugin

Description

This issue is to track work on reviving the selenium monitor.
Specifically
1. updating to latest selenium to allow Firefox to run headless

Note update guava is now tracked in as a separate branch and pull request
guava 23.0 (from 18): requires several changes to move from deprecated interfaces to latest api including
replacing depreciated com.google.common.base.Objects.toStringHelper(this)
with
com.google.common.base.MoreObjects.toStringHelper(Object)

selenium 3.14
hamcrest-library 1.3 needs to be in in opennms lib as it is a dependency of junit 4.12 on class path
(note replacing hamcrest-core as a dependency since used in opennms newts)

2. adding logging capability to log groovy scripts in separate log

includes looking at

Selenium Monitor documentation

Phantom-js not maintained

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Craig Gallen May 7, 2021 at 2:01 PM
Edited

The current branch has a FD leak. This is probably due to a known bug in groovy 2.4.1
which is fixed in 2.5.1 to fix FD leak see GROOVY-8624 File descriptor leaks in compiler and runtime https://issues.apache.org/jira/browse/GROOVY-8624
Unfortunately the single groovy-all jar is split up in 2.5.1 and replaced with a BOM and there appear to be some complex dependency issues - so not a simple update.

Details

Assignee

Reporter

Labels

HB Grooming Date

HB Backlog Status

Docs Needed

Yes

FRC Grooming Date

Doc Backlog Status

Doc Backlog Grooming Date

Components

Priority

PagerDuty

Created March 4, 2021 at 10:39 AM
Updated May 11, 2022 at 3:15 PM