From 984c6073c521c7a6ccb79d49ef46a121438fe357 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 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