RestPublisher's CacheLoader continuous WARN log for SeriesServiceRemoteImpl


The Engage server continually posts this log line:
WARN | (RestPublisher$1:150) - No service reference found for class org.opencastproject.series.remote.SeriesServiceRemoteImpl

From this snippet:

Proposed Solution:
The other Opencast REST classes provide their class name in their OSGI-INF scr component files. The RestPublisher uses this information to mange endpoints. The series-remote does not provide its class name in its scr component file. I believe this is an oversight: the series-remote is the only remote I know that implements the service Impl and also provides a REST endpoint. Most remotes do not provide the REST endpoint. The Engage server's RestPublisher stops the WARN logs when the SeriesServiceRemoteImpl provides it's class name in the scr component file. I cannot find any negatives for adding the remote service REST class name in addition to the api that it implements.

From the current:

To declaring both interfaces:

I will make a pull.

Fixed and reviewed


Former user


Former user