Class DummyOwnershipIssues

java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.stubs.DummyOwnershipIssues
All Implemented Interfaces:
OwnershipIssues

public class DummyOwnershipIssues extends Object implements OwnershipIssues
Author:
jonmv
  • Constructor Details

    • DummyOwnershipIssues

      public DummyOwnershipIssues()
  • Method Details

    • confirmOwnership

      public Optional<IssueId> confirmOwnership(Optional<IssueId> issueId, ApplicationSummary summary, AccountId assigneeId, User assignee, Contact contact)
      Description copied from interface: OwnershipIssues
      Ensure ownership of the given application has been recently confirmed by the given user.
      Specified by:
      confirmOwnership in interface OwnershipIssues
      Parameters:
      issueId - ID of the previous ownership issue filed for the given application.
      summary - Summary of an application for which to file an issue.
      assigneeId - Issue assignee id
      assignee - Issue assignee
      contact - Contact info for the application tenant
      Returns:
      ID of the created issue, if one was created.
    • ensureResponse

      public void ensureResponse(IssueId issueId, Optional<Contact> contact)
      Description copied from interface: OwnershipIssues
      Make sure the given ownership confirmation request is acted upon, unless it is already acknowledged.
      Specified by:
      ensureResponse in interface OwnershipIssues
      Parameters:
      issueId - ID of the ownership issue to escalate.
      contact - Contact information of application tenant
    • getConfirmedOwner

      public Optional<AccountId> getConfirmedOwner(IssueId issueId)
      Description copied from interface: OwnershipIssues
      Get the owner of an application, given its ownership issue ID.
      Specified by:
      getConfirmedOwner in interface OwnershipIssues
      Parameters:
      issueId - ID of the ownership issue.
      Returns:
      The owner of the application, if it has been confirmed.