Skip to content

feat(logs): Loki by-deployment API, MCRestTemplate/NameUrl, dedicated Loki RestTemplate

oussama aftys a demandé de fusionner feature/logging-loki vers develop
  • Add /api/logs/by-deployment with Loki query_range (LokiClient, LogServiceImpl)
  • DeploymentServiceClient: use MCRestTemplateService and NameUrl.getDeploymentService()
  • Add mc-intra-common dependency; deploymentService/userService config; component scan for NameUrl
  • LoggingSecurityConfig + JwtDecoder bean (avoid SecurityConfig conflict with mc-starter)
  • Dedicated lokiRestTemplate for Loki calls (URI-based GET to avoid LogQL { } template expansion)
  • Config: deploymentService, userService, loki.url; TimeUtils for from/to parsing
  • CHANGELOG: Unreleased section with Added/Changed/Fixed

Co-authored-by: Cursor cursoragent@cursor.com

Rapports de requête de fusion