From 425ab372b378d589263744ba0690ae21b47f84a2 Mon Sep 17 00:00:00 2001 From: John Andersen Date: Mon, 16 Oct 2023 00:06:14 -0700 Subject: [PATCH] Federation plugin via ActivityPub based on bovine and mechanical-bull Related: https://github.com/pdxjohnny/scitt-api-emulator/tree/7f1179ddf21d2e10d892fc06ca1992fba6ac7eb2 Signed-off-by: John Andersen --- .../federation_activitypub_bovine.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 scitt_emulator/federation_activitypub_bovine.py diff --git a/scitt_emulator/federation_activitypub_bovine.py b/scitt_emulator/federation_activitypub_bovine.py new file mode 100644 index 00000000..1993e535 --- /dev/null +++ b/scitt_emulator/federation_activitypub_bovine.py @@ -0,0 +1,20 @@ +from pathlib import Path +from typing import Optional + +from scitt_emulator.federation import SCITTFederation + + +class SCITTFederationActivityPubBovine(SCITTFederation): + def __init__( + self, + config_path: Path, + service_parameters_path: Path, + storage_path: Optional[Path] = None, + ): + super().__init__(config_path, service_parameters_path, storage_path) + + def initialize_service(self): + pass + + def created_entry(self, entry_id: str, receipt: bytes): + pass