This commit includes critical updates for PPR deployment: 1. Environment-Specific Field Mappings: - Created field_mappings_ppr.yaml with agency code "Oliver" - Created field_mappings_prod.yaml with agency code "0000221659" - Updated config_loader.py to auto-detect environment based on DAM URL - Enables seamless deployment between PPR and PROD environments 2. Metadata Extractor Enhancements: - Added MetadataTable extraction support for nested fields - Enables extraction of "Type of Video & Static Right" multi-value field - Added logic to apply defaults to existing but empty fields - Fixed agency name display_value handling for domain fields 3. Default Values Added: - VIDEO_POST_PROD_COMPANY: "Oliver Marketing Ltd" - AUDIO_POST_PROD_COMPANY: "Oliver Marketing Ltd" - PROD_COMPANY (Production House): "-" These changes ensure: - Correct agency codes per environment (PPR/PROD) - Proper extraction of nested tabular fields - Default values for empty production company fields - Seamless deployment workflow Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| asset_type_mappings.yaml | ||
| config.yaml | ||
| country_code_mappings.yaml | ||
| field_mappings.yaml | ||
| field_mappings_ppr.yaml | ||
| field_mappings_prod.yaml | ||