Wire federation service stub and update shared submodule
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m3s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m3s
- Register StubFederationService in services/__init__.py - Add federation to CI sibling list - Add federation URL to app-config.yaml - Update shared submodule with federation models/contracts/services Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -24,3 +24,6 @@ def register_domain_services() -> None:
|
||||
services.market = SqlMarketService()
|
||||
if not services.has("cart"):
|
||||
services.cart = SqlCartService()
|
||||
if not services.has("federation"):
|
||||
from shared.services.stubs import StubFederationService
|
||||
services.federation = StubFederationService()
|
||||
|
||||
2
shared
2
shared
Submodule shared updated: e83df2f742...8850a0106a
Reference in New Issue
Block a user