Oleksandr Bezdieniezhnykh
12b582deac
[AZ-310] [AZ-311] Route tile endpoints through ITileService
...
Move cache+DB+download logic for /tiles/{z}/{x}/{y} and
/api/satellite/tiles/latlon out of Program.cs into TileService.
Endpoints now inject only ITileService + ILogger. Service owns
IMemoryCache (1h absolute / 30min sliding preserved). Added
TileBytes DTO; ITileService gains GetOrDownloadTileAsync and
DownloadAndStoreSingleTileAsync. 5 new unit tests cover cache
hit, repo hit, downloader fallback, and AZ-311 happy + error.
Build clean (0/0), unit suite 40/40. Resolves architecture
baseline F3 in code (docs handled by AZ-315).
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-10 06:06:11 +03:00
Oleksandr Bezdieniezhnykh
b0fffa6d42
[AZ-284] Autodev baseline + testability refactor
...
Phase A baseline outputs from /autodev (Steps 1-5):
- Problem & solution docs (_docs/00_problem, _docs/01_solution)
- Codebase documentation (_docs/02_document) incl. architecture,
module-layout, glossary, system-flows, baseline compliance scan
- Test specs (blackbox, performance, resilience, security, resource,
traceability matrix)
- Test task decomposition (_docs/02_tasks/todo): AZ-285..AZ-290
- Testability refactor (_docs/04_refactoring/01-testability-refactoring):
- TC-01 Move DownloadedTileInfoV2 + new ExistingTileInfo to Common.DTO
- TC-02 Replace dead ISatelliteDownloader API with real signatures
- TC-03 GoogleMapsDownloaderV2 implements ISatelliteDownloader
- TC-04 TileService depends on ISatelliteDownloader (mockable)
- TC-05 DI + endpoints use ISatelliteDownloader
- Test runner scripts (scripts/run-tests.sh, run-performance-tests.sh)
- Autodev state pointer (_docs/_autodev_state.md)
Prepares the codebase for AZ-285..AZ-290 unit/integration test work.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-10 04:44:08 +03:00
Oleksandr Bezdieniezhnykh
f08058ea9c
Add CORS configuration and tile handling improvements
2026-03-26 00:34:42 +02:00
Anton Martynenko
48ebad0609
less logs
2025-11-19 18:18:19 +01:00
Anton Martynenko
d122497b50
geo fences - wip
2025-11-19 17:26:23 +01:00
Anton Martynenko
5974b0c589
api /api/satellite/tiles/latlon
2025-11-19 13:12:26 +01:00
Anton Martynenko
b66d3a0277
parallel processing for routes and regions
2025-11-19 13:01:30 +01:00
Anton Martynenko
11395ec913
route stitching
2025-11-01 16:54:46 +01:00
Anton Martynenko
8714a4817d
route in progress, region stitching is disabled by default
2025-11-01 15:55:41 +01:00
Anton Martynenko
f13f3eea6b
improve retries
2025-10-29 15:07:20 +01:00
Anton Martynenko
caa30e5017
tiels are cached and reused properly
2025-10-29 11:57:50 +01:00
Anton Martynenko
bbb112940d
first region implementation
2025-10-28 15:56:16 +01:00
Anton Martynenko
12f3bf890a
downloaderV2, download single tile
2025-10-28 15:10:50 +01:00
Anton Martynenko
d361fe70ab
download 1 tile, first integration test
2025-10-28 12:04:09 +01:00
Anton Martynenko
f8d96ec40f
database and migrations
2025-10-28 11:07:07 +01:00
Oleksandr Bezdieniezhnykh
a7a645c7ab
make structure
...
add tests
2025-10-26 09:15:06 +02:00