Interface RunDataStore

All Known Implementing Classes:
MockRunDataStore

public interface RunDataStore
Author:
jonmv
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(com.yahoo.config.provision.ApplicationId id)
    Deletes all data associated with the given application.
    void
    Deletes the run logs and test report for the given deployment job.
    Optional<byte[]>
    get(RunId id)
    Returns the run logs of the given deployment job, if existent.
    getLogs(RunId id, boolean tester)
    Fetches Vespa logs for the run.
    Optional<byte[]>
    Returns the test report og the given deployment job, if present
    void
    put(RunId id, byte[] log)
    Stores the given log for the given deployment job.
    void
    putLogs(RunId id, boolean tester, InputStream logs)
    Stores Vespa logs for the run.
    void
    putTestReport(RunId id, byte[] report)
    Stores the test report for the given deployment job
  • Method Details

    • get

      Optional<byte[]> get(RunId id)
      Returns the run logs of the given deployment job, if existent.
    • put

      void put(RunId id, byte[] log)
      Stores the given log for the given deployment job.
    • getTestReport

      Optional<byte[]> getTestReport(RunId id)
      Returns the test report og the given deployment job, if present
    • putTestReport

      void putTestReport(RunId id, byte[] report)
      Stores the test report for the given deployment job
    • delete

      void delete(RunId id)
      Deletes the run logs and test report for the given deployment job.
    • delete

      void delete(com.yahoo.config.provision.ApplicationId id)
      Deletes all data associated with the given application.
    • putLogs

      void putLogs(RunId id, boolean tester, InputStream logs)
      Stores Vespa logs for the run.
    • getLogs

      InputStream getLogs(RunId id, boolean tester)
      Fetches Vespa logs for the run.