Skip to content

Move the nginx client creation into the TcpBorderClient and HttpBorderClient #36

Open
@ciroque

Description

@ciroque

Is your feature request related to a problem? Please describe

No problem.

Synchronizer should not know about the NGINX Plus client. It should simply provide an HttpClient to the NewBorderClient factory method.

Describe the solution you'd like

In order to facilitate extensibility for various Border Server types, no assumptions should be made about which underlying client is used. The BorderClient implementation should contain that knowledge (e.g.: The HttpBorderClient and TcpBorderClient each know they need the NGINX Plus client, they can create those using the given HttpClient).

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions