How abyshah/fifa-assignment works
This repository collects World Cup data, converts it into match, group-standing, and player-goal event files, then sends events to Dynatrace. The main workflow is collection → normalization → event files → change-aware ingestion. Separate scripts also provide direct match-event ingestion, including a dry-run/limited check variant. The collector and normalizers show the raw-data handoff through generated files, but those raw files are not present in the tree. The README is empty; arrows reflect the sampled source only.
Main entry points: send_changed_events_to_dynatrace.py Changed-event sender · match_events.json Match events · collector.py API collector · normalize_games.py Match normalizer
Components 15
Data collection
- API collector
collector.py - Collected snapshots
Event normalization
- Match normalizer
normalize_games.py - Standings normalizer
normalize_group_standings.py - Goal normalizer
normalize_player_goals.py
Event artifacts
- Match events
events/match_events.json - Standing events
events/group_standings_events.json - Goal events
events/player_goal_events.json
Dynatrace delivery
- Changed-event sender
send_changed_events_to_dynatrace.py - Sent-event hashes
state/sent_bizevent_hashes.json - Match sender
send_to_dynatrace.py - Match check sender
check_match_events.py
Other components
- Operator
- World Cup API
- Dynatrace ingest
Connections 24
- Operator → API collector: runs
collector.py - API collector → World Cup API: fetches
collector.py - API collector → Collected snapshots: saves snapshots
collector.py - Operator → Match normalizer: runs
normalize_games.py - Operator → Standings normalizer: runs
normalize_group_standings.py - Operator → Goal normalizer: runs
normalize_player_goals.py - Collected snapshots → Match normalizer: reads snapshots
normalize_games.py - Collected snapshots → Standings normalizer: reads snapshots
normalize_group_standings.py - Match normalizer → Match events: writes events
normalize_games.py - Standings normalizer → Standing events: writes events
normalize_group_standings.py - Match events → Goal normalizer: reads matches
normalize_player_goals.py - Goal normalizer → Goal events: writes events
normalize_player_goals.py - Operator → Changed-event sender: runs
send_changed_events_to_dynatrace.py - Match events → Changed-event sender: loads events
send_changed_events_to_dynatrace.py - Standing events → Changed-event sender: loads events
send_changed_events_to_dynatrace.py - Goal events → Changed-event sender: loads events
send_changed_events_to_dynatrace.py - Changed-event sender → Sent-event hashes: reads and writes hashes
send_changed_events_to_dynatrace.py - Changed-event sender → Dynatrace ingest: posts changed events
send_changed_events_to_dynatrace.py - Operator → Match sender: runs
send_to_dynatrace.py - Match events → Match sender: loads events
send_to_dynatrace.py - Match sender → Dynatrace ingest: posts events
send_to_dynatrace.py - Operator → Match check sender: runs
check_match_events.py - Match events → Match check sender: loads events
check_match_events.py - Match check sender → Dynatrace ingest: posts events
check_match_events.py