Skip to content

System-X: Unify methods used for connection to the services #1006

@avano

Description

@avano

There is no rule for creating system-x services when it comes to connection details, so each system-x service uses different method names for the common connection options (host, port).

there are inClusterHostname and externalHostname methods for openshift deployments, but those are not particular used for anything and are used only internally to distinguish between where the integration is connecting to and where the client is connecting to and there is no standard for local deployments, so it means that the common usecase is to create a host method, that returns externalHostname.

We should create:

  • a common set of methods (probably host and port)
  • something like connectionString, for example tcp://host():port()
  • get rid of inClusterHostname (would be handled in connectionString method)
  • keep externalHostname

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