-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
Description
Motivation
During refactoring to try and resolve the transient failure that occurs when we build a TransportClient, I was able to have a NodeClient injected as a dependency. This client was usable for all the calls we require except notifying the SG BackendRegistry that we made a configuration change. The error was a CastClassException of the request that I believe is related to the plugins being loaded by different classloaders. This was the only thing I could find that explains the inability to cast to the same type.
Benefits
- Remove the need to hit the network interface to make calls to the ES API
- Eliminate transport exception
- Eliminate class loading issues
Drawbacks
- SG and SGSSL are no longer separately versioned and updateable from this plugin
- Increased difficulty in packaging for downstream?
- SGAdmin as part of this codebase?
- Missing a required 'registration' of one of the SG or SGSSL plugins?
Requirements
- Modify this plugin to load each dependent plugin when this one starts
- Copy the SGAdmin tool to this repo for use in ACL seeding on server start
- Remove plugin install statements on build of ES image