Commit graph

24 commits

Author SHA1 Message Date
lekss361
aaa5d44e77 feat(objective): integrate api.objctv.ru — auth, schema, weekly sync
backend/app/services/scrapers/objective.py:
  ObjectiveClient — GetToken (Bearer cached в Redis 25 min TTL) +
  GetReport v2 с UseDdu/UseDkp. 4 высокоуровневых метода:
  report_corpuses_summary, report_lots_summary, report_corpuses_per_flat,
  report_lots_per_flat. Retry 401/429/5xx, rate-limit 500ms, brotli.
backend/app/workers/tasks/scrape_objective.py:
  Celery task sync_objective_group — еженедельно тянет 4 канон. отчёта по
  группе, raw payload в objective_raw_reports.
celery_app.py: +include + beat «0 5 * * mon».
data/sql/68_schema_objective.sql: 6 таблиц — runs, raw_reports (jsonb),
oks (готовые ТЭП + escrow/debt), lots, lots_history (per-flat per-day),
complex_mapping (Objective ↔ domrf_kn_objects, is_reviewed workflow).
data/sql/69_objective_smoke.py: stand-alone GetToken + 4 отчёта →
data/raw/objective_smoke/<ts>/. Используется один раз чтобы понять
реальную схему payload перед написанием parser-слоя.
config: OBJECTIVE_API_KEY, OBJECTIVE_DEFAULT_GROUP=Екатеринбург,
OBJECTIVE_SYNC_CRON='0 5 * * mon'.
2026-05-07 21:04:00 +03:00
lekss361
16481868a6 add anal 2 2026-04-27 13:05:36 +03:00
lekss361
c13cbaef2e add data 2026-04-26 22:30:52 +03:00
lekss361
a2dcd9844a add link 2026-04-26 18:35:55 +03:00
lekss361
e84115a185 add nspd 2026-04-26 18:20:59 +03:00
lekss361
a5e5ad31e6 add rosreestr 2026-04-26 17:40:05 +03:00
lekss361
6c90c79859 anal.. 2026-04-26 17:14:44 +03:00
lekss361
a2728637ad anal 3 2026-04-26 16:04:11 +03:00
lekss361
0569ccdcf3 anal2 2026-04-26 15:30:02 +03:00
lekss361
ae8abf9f15 domrf api 2026-04-26 15:21:53 +03:00
lekss361
14a9b1415e add anal 2026-04-26 15:18:31 +03:00
lekss361
b132091fe7 docs+memory: HTTPS live, Apr26 catch-up
- README: status table reflects HTTPS-live state
- memory: +HTTPS_Live_Apr26 entity (the chain ESIA→DNS→cert,
  caddy_data wipe needed to clear staging-fallback retry queue)
2026-04-26 14:50:17 +03:00
lekss361
a1633bf6db docs+memory: catch up — domain, Sentry, ops bundle, prod wipe Apr26
- README: status table updated to 2026-04-26 (gendsgn.ru pending DNS,
  Sentry live, healthchecks all green, multi-stage images deployed),
  added ops/ and backend/db/init/ to repo layout, "operational gotchas"
  section (restart vs --force-recreate; reset --hard clobbers manual edits).
- memory/memory-gendesign.jsonl: +5 entities (Domain_Setup_Apr26,
  Sentry_Setup_Apr26, OpsBundle_Apr26, Production_Wipe_Apr26, DockerOps_Apr26)
  + 8 relations linking them into the graph. 34 lines → 47.
2026-04-26 13:42:55 +03:00
lekss361
6c4ba1777a deploy.yml: sync compose+Caddyfile from git, reload caddy after up 2026-04-26 13:31:26 +03:00
lekss361
9d95b80b54 test 2026-04-25 20:33:13 +03:00
lekss361
4bd70cde06 Memory: catch up — hosting research, sales tracking, plan A, runbook, hardening 2026-04-25 20:29:07 +03:00
1dcaff0ea2 Memory: ~ent MVP_Scope_AreaSelect_Apr25 (2026-04-25 16:17:12 +05) 2026-04-25 16:17:12 +05:00
ed54d148f9 Memory: ~ent MVP_Scope_AreaSelect_Apr25 (2026-04-25 16:16:11 +05) 2026-04-25 16:16:11 +05:00
917391f045 Memory: ~ent MVP_Scope_AreaSelect_Apr25 (2026-04-25 16:15:11 +05) 2026-04-25 16:15:11 +05:00
726942cd72 Memory: +rel MVP_Scope_AreaSelect_Apr25→NorthStar_DiscoveryMVP (informs), MVP_Scope_AreaSelect_Apr25→Project_GenDesign (refin... (2026-04-25 16:10:12 +05) 2026-04-25 16:10:12 +05:00
d61a5a5e82 Memory: +ent MVP_Scope_AreaSelect_Apr25 (2026-04-25 16:09:11 +05) 2026-04-25 16:09:11 +05:00
29e84e5df9 Memory: non-structural change (2026-04-25 16:01:17 +05) 2026-04-25 16:01:17 +05:00
1df2e74f2e Memory: non-structural change (2026-04-25 16:00:17 +05) 2026-04-25 16:00:17 +05:00
lekss361
d66086575a Track memory graph via hardlink to C:\mcp\.aim\memory-gendesign.jsonl 2026-04-25 08:48:59 +03:00