Eliminate GlobalNetconfSshScheduledExecutor 06/110006/4
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 26 Jan 2024 00:48:52 +0000 (01:48 +0100)
committerRobert Varga <nite@hq.sk>
Fri, 26 Jan 2024 12:08:39 +0000 (12:08 +0000)
commitf87c8b6ee4275825ba7b3bd3c706be9e95f480f4
treede5179c7f1ebe5e92d079fe4d5541f7df9059e97
parentf23dc397d295116b2a26324483f6155c4c114880
Eliminate GlobalNetconfSshScheduledExecutor

The only thing this executor is used is for ietf-monitoring listener
updates for netconf-server.

Rather than having a tuneable threadpool, just acknowledge the fact we
need a single thread for this task and manage it internally
NetconfMonitoringServiceImpl if possible.

JIRA: NETCONF-1232
Change-Id: I081947c28981442777ea8bc91a77df01641d23fe
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
apps/netconf-nb/src/main/java/org/opendaylight/netconf/northbound/DefaultNetconfMonitoringService.java
apps/netconf-nb/src/main/java/org/opendaylight/netconf/northbound/OSGiNetconfServer.java
netconf/netconf-config/src/main/java/org/opendaylight/netconf/config/Configuration.java
netconf/netconf-config/src/main/java/org/opendaylight/netconf/config/GlobalNetconfConfiguration.java
netconf/netconf-config/src/main/java/org/opendaylight/netconf/config/GlobalNetconfSshScheduledExecutor.java [deleted file]
netconf/netconf-config/src/main/java/org/opendaylight/netconf/config/GlobalNetconfThreadFactory.java
protocol/netconf-server/src/main/java/org/opendaylight/netconf/server/osgi/NetconfMonitoringServiceImpl.java