Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • briar briar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 788
    • Issues 788
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • briarbriar
  • briarbriar
  • Merge requests
  • !1650

Add connectivity check tasks, refactor mailbox properties

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged akwizgran requested to merge 2229-mailbox-client into master May 26, 2022
  • Overview 26
  • Commits 10
  • Pipelines 10
  • Changes 28

This branch refactors some mailbox code to make it easier to convert between MailboxUpdates (exchanged with contacts) and MailboxProperties (used by the MailboxApi).

The branch also refactors the MailboxApiCaller interface to make it a bit more legible, replacing Supplier<Boolean> with the more meaningfully named ApiCall interface.

Finally, the branch adds a ConnectivityChecker interface, with implementations for checking the reachability of our own mailbox and a contact's mailbox. These will be used by the respective mailbox clients to wait for the mailbox to become reachable before making other API calls. The connectivity checker is the main part of #2229 (closed).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 2229-mailbox-client