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:
@@ -368,36 +368,36 @@ curl -X POST http://localhost:8000/api/v1/admin/content-pages/platform \
|
||||
}'
|
||||
|
||||
# View in shop
|
||||
curl http://localhost:8000/store/wizamart/about
|
||||
curl http://localhost:8000/store/orion/about
|
||||
```
|
||||
|
||||
### 2. Test Store Override
|
||||
|
||||
```bash
|
||||
# Create store override
|
||||
curl -X POST http://localhost:8000/api/v1/store/wizamart/content-pages/ \
|
||||
curl -X POST http://localhost:8000/api/v1/store/orion/content-pages/ \
|
||||
-H "Authorization: Bearer <store_token>" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"slug": "about",
|
||||
"title": "About Wizamart",
|
||||
"content": "<h1>About Wizamart</h1><p>Custom store content</p>",
|
||||
"title": "About Orion",
|
||||
"content": "<h1>About Orion</h1><p>Custom store content</p>",
|
||||
"is_published": true
|
||||
}'
|
||||
|
||||
# View in shop (should show store content)
|
||||
curl http://localhost:8000/store/wizamart/about
|
||||
curl http://localhost:8000/store/orion/about
|
||||
```
|
||||
|
||||
### 3. Test Fallback
|
||||
|
||||
```bash
|
||||
# Delete store override
|
||||
curl -X DELETE http://localhost:8000/api/v1/store/wizamart/content-pages/{id} \
|
||||
curl -X DELETE http://localhost:8000/api/v1/store/orion/content-pages/{id} \
|
||||
-H "Authorization: Bearer <store_token>"
|
||||
|
||||
# View in shop (should fall back to platform default)
|
||||
curl http://localhost:8000/store/wizamart/about
|
||||
curl http://localhost:8000/store/orion/about
|
||||
```
|
||||
|
||||
## Summary
|
||||
|
||||
Reference in New Issue
Block a user