diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c30eba1..72b56a6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -40,11 +40,11 @@ jobs: git reset --hard origin/${{ github.ref_name }} git submodule update --init --recursive # Clean ALL sibling dirs (including stale self-copies from previous runs) - for sibling in blog market cart events; do + for sibling in blog market cart events federation; do rm -rf \$sibling done # Copy non-self sibling models for cross-domain imports - for sibling in blog market cart events; do + for sibling in blog market cart events federation; do [ \"\$sibling\" = \"${{ env.IMAGE }}\" ] && continue repo=/root/rose-ash/\$sibling if [ -d \$repo/.git ]; then diff --git a/config/app-config.yaml b/config/app-config.yaml index 227cc2e..278134e 100644 --- a/config/app-config.yaml +++ b/config/app-config.yaml @@ -13,6 +13,7 @@ app_urls: market: "http://localhost:8001" cart: "http://localhost:8002" events: "http://localhost:8003" + federation: "http://localhost:8004" cache: fs_root: _snapshot # <- absolute path to your snapshot dir categories: diff --git a/services/__init__.py b/services/__init__.py index 94c9535..96afd32 100644 --- a/services/__init__.py +++ b/services/__init__.py @@ -23,3 +23,6 @@ def register_domain_services() -> None: services.calendar = SqlCalendarService() if not services.has("market"): services.market = SqlMarketService() + if not services.has("federation"): + from shared.services.stubs import StubFederationService + services.federation = StubFederationService() diff --git a/shared b/shared index e83df2f..8850a01 160000 --- a/shared +++ b/shared @@ -1 +1 @@ -Subproject commit e83df2f742c8b64e7b4a6bc218fd1bd0a9637d21 +Subproject commit 8850a0106a51acb55d5c7b84dd45b0b012b6333e