1 = AI (Computation & Artificial Intelligence), 2 = NS (Networking & Security),
3 = SE (Software Engineering & Mobile Computing), 4 = IS (Information System & Data Spatial).
KK lain tetap memakai nama dari getListKK, atau "KK <id>" bila tidak terbaca.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
getListDataTAMahasiswa mengirim kelompokKeahlian berupa idKK (1..4), sehingga dashboard
menampilkan "1 2 3 4". Load kini ikut menarik getListKK ke raw.spota_kk dan staging
memetakan ID -> nama; daftar cadangan dari tb_kelompok_keahlian SPOTA dipakai bila
getListKK gagal atau bentuk responsnya lain.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
raw : topik/draft TA, KK, jadwal ujian, angkatan, nama dosen dari API SPOTA
(tanpa nama/email/HP/foto mahasiswa) + raw.spota_riwayat_pembimbing (kumulatif:
hari pertama pembimbing 1/2 terlihat terisi)
staging : NIM/NIP dinormalisasi, kode semester -> periode, KK per topik, jadwal
mart : spota_topik (keputusan, KK, pembimbing, masa tunggu, tahap ujian eDOXID/SPOTA),
spota_mhs_judul (mahasiswa aktif belum lulus + status judul)
Jadwal 20:00 UTC (03:00 WIB), setelah dwh_tugas_akhir_daily karena memakai
mart.dim_mahasiswa, mart.dim_dosen, mart.fact_ujian_ta. spota_antrean_daily (MySQL dashboard)
dihapus. Env: SPOTA_API_SECRET (sudah ada di docker-compose).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mengembalikan f7bc1e3 (di-revert di 786a63a saat Airflow down). Penyebab down ternyata
bentrok host "postgres", sudah diperbaiki di ccf9679, bukan DAG ini.
Env baru: SPOTA_API_SECRET (wajib, set di Coolify), SPOTA_API_URL (opsional).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Catat harian topik yang disetujui Ketua KK tapi pembimbing 1/2 belum lengkap,
plus hari pertama pembimbing terisi, ke tabel spota_antrean_pembimbing.
Env baru: SPOTA_API_SECRET (wajib), SPOTA_API_URL (opsional).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copies the tracer study app (MariaDB tracer_buffer) into raw/staging/mart,
porting App\Services\RekapHasil so the dashboard shows the same numbers as
the app's results page. Only whitelisted columns are extracted: no name,
phone, email, password or login token; from the questionnaire JSON only the
answer keys used by the recap (JSON_VALUE per key).
Needs TRACER_DB_HOST / TRACER_DB_PASSWORD (read-only user dwh_tracer_ro).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Single DAG, single 30-min schedule instead of 5-min or two separate
DAGs. run_sync() itself decides whether to do real work: always during
business hours (default 07:00-17:00 WIB), otherwise only once per
EDOXID_OFF_HOURS_INTERVAL_MINUTES (default 120) tracked via a
last_full_sync timestamp in the sqlite state. Off-hours skips return
immediately without touching DB/Calendar/Gmail at all.
Requesting a narrower scope explicitly (scopes=[...]) during refresh
was rejected by Google as invalid_scope in the Airflow container's
google-auth version, even though it worked locally with a newer one.
Drop scopes= entirely — the refresh_token already carries the full
granted scope (calendar + gmail.send), no need to request a subset.
apache/airflow:2.7.1 base image ships Python 3.8, which doesn't have
zoneinfo (3.9+) and can't evaluate `X | Y` / list[X] type hints at
runtime (3.10+). Add `from __future__ import annotations` everywhere
and swap zoneinfo -> pytz (already a dependency in this repo).
Sync jadwal sidang eDOXID ke Google Calendar "Jadwal Sidang" tiap 5 menit
(read-only ke doxid2022), plus reminder email H-1/1-jam via Gmail API
karena reminder Calendar bawaan tidak ikut ke kalender pribadi attendee.