DJP
85b39c49cb
Add debug script for B1 pagination issue
2025-12-02 09:44:10 -05:00
DJP
ea2e313185
feat: Add systemd services and timers for daily and weekly database backups, introduce a token retrieval script, and update the backup guide documentation.
2025-12-01 22:19:24 -05:00
DJP
9b24ca1594
Add systemd service files for Prod Orchestrator and CreativeX Service
2025-12-01 16:09:26 -05:00
DJP
ca11c0dbb4
Fix NameError: Restore missing import in dam_client.py
2025-12-01 15:31:30 -05:00
DJP
69ffdeb14e
Add CreativeX service runner and fix dam_client indentation
2025-12-01 15:29:27 -05:00
DJP
5f389f6490
Implement robust Box name sanitization in shared/common.py
2025-12-01 15:23:01 -05:00
DJP
499399d6c6
Sanitize subfolder names in dam_client recursive search
2025-12-01 15:16:55 -05:00
DJP
2a8129f428
Fix Box folder naming: sanitize forward slashes in campaign names
2025-12-01 15:13:58 -05:00
DJP
4d1e71d978
Implement true recursion in DAM client: treat items without extensions as folders
2025-12-01 14:54:21 -05:00
DJP
67c8765512
Add fallback check to B1->B2 script: skip assets with no file extension
2025-12-01 14:22:59 -05:00
DJP
0f6e816255
Fix recursive download in B1->B2 script: improve folder identification and add safeguards
2025-12-01 14:17:14 -05:00
DJP
4c691dda30
Update CSV format to combine Campaign Number and Name, add manual regeneration script
2025-12-01 09:22:32 -05:00
DJP
db0dceb19c
Add --auth-pfx-v2 and --env options to update_campaign_status.py
2025-11-27 06:58:39 -05:00
DJP
4259b1073c
Add --auth-pfx-v2 support to A4 Box Uploader
2025-11-26 17:01:34 -05:00
DJP
17648d9051
Fix test_connection to not use non-existent /v6 endpoint
2025-11-26 16:58:55 -05:00
DJP
532699f634
Show full OAuth tokens in logs for debugging
2025-11-26 16:44:07 -05:00
DJP
cda33e8c8d
Switch production orchestrator back to mTLS V2 (--auth-pfx-v2)
2025-11-26 16:32:43 -05:00
DJP
b2c8e01d4b
Add token preview logging for OAuth tokens
2025-11-26 16:32:10 -05:00
DJP
c7ddf1d45f
Add verbose logging for all DAM API requests
2025-11-26 16:26:15 -05:00
DJP
d68e149d1e
Switch production orchestrator to use legacy mTLS (--auth-pfx)
2025-11-26 16:05:10 -05:00
DJP
37cab9d902
Add support for loading environment-specific .env files (prod/dev)
2025-11-26 15:44:09 -05:00
DJP
c1bd575bf9
Add --auth-pfx-v2 support to A4 Webhook Monitor for production
2025-11-26 15:39:00 -05:00
DJP
c1df6a7712
Fix A4 Webhook Monitor to use --auth-pfx for production
2025-11-26 15:38:06 -05:00
DJP
87b593c5f9
Fix syntax errors in orchestrator-prod.py args
2025-11-26 15:34:14 -05:00
DJP
c53e79cbaf
Add production orchestrator configuration
2025-11-26 15:31:32 -05:00
DJP
07bce09d65
Fix B1→B2 bug: total_assets referenced before assignment
2025-11-26 15:07:27 -05:00
DJP
8ca44fcf1e
Add metadata diagnostic tool for troubleshooting field issues
2025-11-26 14:52:39 -05:00
DJP
f9c11ef3f5
Fix misleading log message for A5 campaigns with no rejections
2025-11-26 14:45:48 -05:00
DJP
795e4e7d96
Improve A5 notification logic to handle status changes
2025-11-26 14:26:36 -05:00
DJP
0f1c3dd0ec
Prevent duplicate 'no rejections' emails for A5 campaigns
2025-11-26 14:25:57 -05:00
DJP
936071d7ad
Change script intervals from 5 to 3 minutes for faster processing
2025-11-26 14:18:45 -05:00
DJP
f15ae9a8d1
Stream full script output to console in real-time
2025-11-26 14:04:15 -05:00
DJP
d6b68af5d5
Fix A5→A6 to also use OAuth authentication
2025-11-26 14:03:07 -05:00
DJP
16527f6e43
Temporarily disable mTLS auth, use OAuth for troubleshooting
2025-11-26 13:59:48 -05:00
DJP
3518f7c909
Remove A1->A2 Download task from orchestrator and add run guide
2025-11-26 13:53:48 -05:00
DJP
7599fe7cd2
feat: Remove A1->A2 Download script from orchestrator configuration
2025-11-26 13:48:48 -05:00
DJP
99d8621266
Increase throughput: process 2 campaigns in A1→A2, all files in A2→A3
2025-11-26 13:43:06 -05:00
DJP
98fb7eaee2
Fix smoke test to use prod-auth endpoint instead of test-auth
2025-11-26 10:20:59 -05:00
DJP
9d207d0480
chore: Update DAM mTLS base and OAuth URLs in production environment to /token endpoint.
2025-11-26 10:18:56 -05:00
DJP
6064b0971e
Fix smoke test to explicitly load .env-prod file
2025-11-26 10:14:26 -05:00
DJP
cabc1d5548
Add production smoke test script for mTLS V2 authentication
2025-11-26 10:08:04 -05:00
DJP
c1f338022c
fix: Ensure type field is added when updating CreativeX URL
...
- Modified _set_field_value to include 'type': 'string' in all code paths
- Adds type field when updating existing CreativeX URL field
- Ensures consistent structure whether creating or updating field
2025-11-25 09:14:25 -05:00
DJP
80316cad32
fix: Add missing type field to CreativeX URL metadata
...
- Added 'type': 'string' to FERRERO.FIELD.CREATIVEX LINK value structure
- Fixes DAM validation error for CreativeX URL field
- Structure now matches DAM requirements
2025-11-25 09:11:41 -05:00
DJP
548c30344b
feat: Support multiple CreativeX platforms in metadata
...
- Updated creativex_scoring_storing.py to map multiple placements to platforms
- Modified get_mapped_platform to get_mapped_platforms (returns list)
- Updated a2_to_a3_upload_polling.py to retrieve platforms list from DB
- Enhanced metadata_extractor_mvp.py to build multi-value CreativeX field
- Added DAM-CX mappings.csv for channel/placement to platform mapping
- Supports single channel with multiple placements generating multiple Platform^Score values
2025-11-24 14:44:11 -05:00
DJP
491fc8e938
feat: Add A1→A3 campaign advance script, introduce systemd service for orchestrator, and ref
2025-11-24 13:50:16 -05:00
DJP
0af15563bc
feat: Implement new Python script locking, relocate PHP workflow, and update Python scripts and documentation.
2025-11-21 17:20:34 -05:00
DJP
22069ed66f
refactor: Relocate test scripts to a dedicated tests/ directory and introduce orchestrator.py.
2025-11-21 17:10:04 -05:00
DJP
2cad2c2955
Fix AttributeError in DAMClient.test_connection
2025-11-21 16:57:43 -05:00
DJP
5aeab8d9a3
Update a1_to_a2_download.py to support Auth V2
2025-11-21 16:53:32 -05:00
DJP
6fe2ba234b
Implement Auth V2 (Hybrid mTLS/OAuth) and update field mappings
2025-11-21 16:46:37 -05:00