Class DiscoveryServerPublisher

java.lang.Object
nl.andrewl.concord_server.DiscoveryServerPublisher

public class DiscoveryServerPublisher extends Object
This component is responsible for publishing the server's metadata to any discovery servers that have been defined in the server's configuration file.
  • Field Details

    • mapper

      private final com.fasterxml.jackson.databind.ObjectMapper mapper
    • httpClient

      private final HttpClient httpClient
    • config

      private final ServerConfig config
  • Constructor Details

    • DiscoveryServerPublisher

      public DiscoveryServerPublisher(ServerConfig config)
  • Method Details

    • publish

      public void publish()