fix: update HTML title to mockupAWS
Some checks failed
E2E Tests / Run E2E Tests (push) Has been cancelled
E2E Tests / Visual Regression Tests (push) Has been cancelled
E2E Tests / Smoke Tests (push) Has been cancelled

- Change generic 'frontend' title to 'mockupAWS - AWS Cost Simulator'
- Resolves frontend branding issue identified in testing
This commit is contained in:
Luca Sacchi Ricciardi
2026-04-07 18:45:02 +02:00
parent 4c6eb67ba7
commit 285a748d6a
18 changed files with 669 additions and 24 deletions

View File

@@ -2,7 +2,7 @@
from datetime import datetime
from pathlib import Path
from uuid import UUID
from uuid import UUID, uuid4
from fastapi import (
APIRouter,
@@ -154,7 +154,7 @@ async def create_report(
raise NotFoundException("Scenario")
# Create report record
report_id = UUID(int=datetime.now().timestamp())
report_id = uuid4()
await report_repository.create(
db,
obj_in={

View File

@@ -6,7 +6,7 @@ from sqlalchemy.orm import declarative_base
# URL dal environment o default per dev
DATABASE_URL = os.getenv(
"DATABASE_URL", "postgresql+asyncpg://app:changeme@localhost:5432/mockupaws"
"DATABASE_URL", "postgresql+asyncpg://postgres:postgres@localhost:5432/mockupaws"
)
# Engine async

View File

@@ -3,7 +3,7 @@ from src.core.exceptions import setup_exception_handlers
from src.api.v1 import api_router
app = FastAPI(
title="mockupAWS", description="AWS Cost Simulation Platform", version="0.2.0"
title="mockupAWS", description="AWS Cost Simulation Platform", version="0.4.0"
)
# Setup exception handlers

View File

@@ -43,7 +43,13 @@ class ReportCreateRequest(BaseModel):
date_from: Optional[datetime] = Field(None, description="Start date filter")
date_to: Optional[datetime] = Field(None, description="End date filter")
sections: List[ReportSection] = Field(
default=["summary", "costs", "metrics", "logs", "pii"],
default=[
ReportSection.SUMMARY,
ReportSection.COSTS,
ReportSection.METRICS,
ReportSection.LOGS,
ReportSection.PII,
],
description="Sections to include in PDF report",
)