refactor: rename Wizamart to Orion across entire codebase

Replace all ~1,086 occurrences of Wizamart/wizamart/WIZAMART/WizaMart
with Orion/orion/ORION across 184 files. This includes database
identifiers, email addresses, domain references, R2 bucket names,
DNS prefixes, encryption salt, Celery app name, config defaults,
Docker configs, CI configs, documentation, seed data, and templates.

Renames homepage-wizamart.html template to homepage-orion.html.
Fixes duplicate file_pattern key in api.yaml architecture rule.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-14 16:46:56 +01:00
parent 34ee7bb7ad
commit e9253fbd84
184 changed files with 1227 additions and 1228 deletions

View File

@@ -151,14 +151,14 @@ class TestPlatformContextManager:
"""Test path-based detection with deeply nested paths."""
request = Mock(spec=Request)
request.headers = {"host": "localhost"}
request.url = Mock(path="/platforms/oms/stores/wizamart/shop/products")
request.url = Mock(path="/platforms/oms/stores/orion/shop/products")
context = PlatformContextManager.detect_platform_context(request)
assert context is not None
assert context["detection_method"] == "path"
assert context["path_prefix"] == "oms"
assert context["clean_path"] == "/stores/wizamart/shop/products"
assert context["clean_path"] == "/stores/orion/shop/products"
# ========================================================================
# Platform Context Detection Tests - Default (Main Marketing Site)
@@ -270,7 +270,7 @@ class TestPlatformContextManager:
"/admin/dashboard",
"/api/v1/stores",
"/about",
"/stores/wizamart/shop",
"/stores/orion/shop",
],
)
def test_is_not_static_file_request(self, path):
@@ -964,13 +964,13 @@ class TestURLRoutingSummary:
"""Document: OMS platform in dev mode rewrites path."""
request = Mock(spec=Request)
request.headers = {"host": "localhost:9999"}
request.url = Mock(path="/platforms/oms/stores/wizamart/shop")
request.url = Mock(path="/platforms/oms/stores/orion/shop")
context = PlatformContextManager.detect_platform_context(request)
assert context["detection_method"] == "path"
assert context["path_prefix"] == "oms"
assert context["clean_path"] == "/stores/wizamart/shop" # Rewritten
assert context["clean_path"] == "/stores/orion/shop" # Rewritten
def test_loyalty_platform_development_routing(self):
"""Document: Loyalty platform in dev mode rewrites path."""