Details
-
Enhancement
-
Resolution: Obsolete
-
Major
-
1.0.0.Alpha2
-
None
Description
Right now to achieve injection of inventory API into pinger, we use an inventory instance published in JNDI and make Pinger depend on inventory war so that they share a classloader.
This will cause problems once HWKINVENT-22 is merged, because Titan depends on an older version of HttpClient (4.2.4) than Pinger (4.3.1). The classloading dependency of Pinger causes link issues because of missing methods in the older version of HttpClient that Pinger tries to invoke.
This can be solved either by making Pinger depend on the equivalent version of HttpClient (very fragile solution) or make pinger a "usual" remote feed (listen on the bus + send requests over REST) or create a new deployable archive with just the inventory API (and deps) and make both the pinger and inventory war depend on that instead of inventory war packaging the API itself.