Skip to content

Embed SG, and SGSSL as part of this plugin #78

@jcantrill

Description

@jcantrill

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions