java.lang.Object
org.gcube.informationsystem.client.discovery.Discovery

public class Discovery extends Object
Performs discovery of services by querying the Information System (IS).
Author:
Luca Frosini (ISTI-CNR)
  • Constructor Details

    • Discovery

      public Discovery(Entry entry)
      Creates an instance with a given proxy Entry.
      Parameters:
      entry - the entry
  • Method Details

    • discover

      public List<String> discover()
      Discovers and returns the endpoint addresses for the configured entry. The results are cached for a predefined time to improve performance.
      Returns:
      a list of discovered endpoint addresses
      Throws:
      RuntimeException - if an error occurs during discovery