Class DummyOwnershipIssues
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.stubs.DummyOwnershipIssues
- All Implemented Interfaces:
OwnershipIssues
- Author:
- jonmv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfirmOwnership(Optional<IssueId> issueId, ApplicationSummary summary, User assignee, Contact contact) Ensure ownership of the given application has been recently confirmed by the given user.voidensureResponse(IssueId issueId, Optional<Contact> contact) Make sure the given ownership confirmation request is acted upon, unless it is already acknowledged.getConfirmedOwner(IssueId issueId) Get the owner of an application, given its ownership issue ID.
-
Constructor Details
-
DummyOwnershipIssues
public DummyOwnershipIssues()
-
-
Method Details
-
confirmOwnership
public Optional<IssueId> confirmOwnership(Optional<IssueId> issueId, ApplicationSummary summary, User assignee, Contact contact) Description copied from interface:OwnershipIssuesEnsure ownership of the given application has been recently confirmed by the given user.- Specified by:
confirmOwnershipin interfaceOwnershipIssues- Parameters:
issueId- ID of the previous ownership issue filed for the given application.summary- Summary of an application for which to file an issue.assignee- Issue assigneecontact- Contact info for the application tenant- Returns:
- ID of the created issue, if one was created.
-
ensureResponse
Description copied from interface:OwnershipIssuesMake sure the given ownership confirmation request is acted upon, unless it is already acknowledged.- Specified by:
ensureResponsein interfaceOwnershipIssues- Parameters:
issueId- ID of the ownership issue to escalate.contact- Contact information of application tenant
-
getConfirmedOwner
Description copied from interface:OwnershipIssuesGet the owner of an application, given its ownership issue ID.- Specified by:
getConfirmedOwnerin interfaceOwnershipIssues- Parameters:
issueId- ID of the ownership issue.- Returns:
- The owner of the application, if it has been confirmed.
-