Interface TesterCloud

  • All Known Implementing Classes:
    MockTesterCloud

    public interface TesterCloud
    Allows running some predefined tests -- typically remotely.
    Author:
    jonmv
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<LogEntry> getLog​(DeploymentId deploymentId, long after)
      Returns the log entries from the tester with ids after the given threshold.
      TesterCloud.Status getStatus​(DeploymentId deploymentId)
      Returns the current status of the tester.
      boolean ready​(java.net.URI endpointUrl)
      Returns whether the container is ready to serve.
      java.util.Optional<com.yahoo.config.provision.HostName> resolveCname​(com.yahoo.config.provision.HostName hostName)
      Returns the host name of the given CNAME, if any.
      java.util.Optional<java.lang.String> resolveHostName​(com.yahoo.config.provision.HostName hostname)
      Returns the IP address of the given host name, if any.
      void startTests​(DeploymentId deploymentId, TesterCloud.Suite suite, byte[] config)
      Signals the tester to run its tests.
      boolean testerReady​(DeploymentId deploymentId)
      Returns whether the test container is ready to serve
    • Method Detail

      • getLog

        java.util.List<LogEntry> getLog​(DeploymentId deploymentId,
                                        long after)
        Returns the log entries from the tester with ids after the given threshold.
      • ready

        boolean ready​(java.net.URI endpointUrl)
        Returns whether the container is ready to serve.
      • testerReady

        boolean testerReady​(DeploymentId deploymentId)
        Returns whether the test container is ready to serve
      • resolveHostName

        java.util.Optional<java.lang.String> resolveHostName​(com.yahoo.config.provision.HostName hostname)
        Returns the IP address of the given host name, if any.
      • resolveCname

        java.util.Optional<com.yahoo.config.provision.HostName> resolveCname​(com.yahoo.config.provision.HostName hostName)
        Returns the host name of the given CNAME, if any.