Skip to content

refactors witness and mailbox functionality into separate packages#919

Closed
m00sey wants to merge 3 commits intomainfrom
feat/wit-mbx-repackage
Closed

refactors witness and mailbox functionality into separate packages#919
m00sey wants to merge 3 commits intomainfrom
feat/wit-mbx-repackage

Conversation

@m00sey
Copy link
Member

@m00sey m00sey commented Jan 4, 2025

There didn't seem a "piecemeal" way to do this.

The broad strokes are:

From indirecting.py the following classes were moved to a top level witness package:

  • WitnessStart -> witness.Start
  • HttpEnd
  • ReceiptEnd and
  • setup/start functionality, the init files define the exposed classes

From indirecting.py the following classes were moved to a top level mailbox package:

  • MailboxDirector -> mailbox.Director
  • Poller
  • MailboxIterable -> mailbox.Iterable
  • QryRpyMailboxIterable -> mailbox.QueryReplyIterable

Tests were also moved to new top level packages.
Leaving indirecting.py with just Indirector

Deprecation warning were added to the start commands.

https://github.com/keri-foundation/witness has new wrappers for the new packages.
https://github.com/keri-foundation/mailbox will have wrappers for the new packages.

Marked as draft until it can be discussed with maintainers.

Signed-off-by: Kevin Griffin <griffin.kev@gmail.com>
@m00sey m00sey marked this pull request as draft January 4, 2025 19:13
m00sey added 2 commits January 9, 2025 12:41
Signed-off-by: Kevin Griffin <griffin.kev@gmail.com>
…nchronous receipts

Signed-off-by: Kevin Griffin <griffin.kev@gmail.com>
@pfeairheller
Copy link
Member

This PR has aged out. Please reopen when ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments