Expand lab seed tiers, OpenAPI PARAMS, and console DATA/Params UX.

This commit is contained in:
2026-07-18 08:46:39 +03:00
parent f8d3cbdd59
commit 63cc409424
71 changed files with 38380 additions and 796 deletions
@@ -26,7 +26,7 @@ async def client() -> AsyncClient:
)
app = create_app(settings=settings, worker_factories=())
async with app.router.lifespan_context(app):
await seed_vsphere_inventory(app.state.database, force=True, profile="demo-cluster")
await seed_vsphere_inventory(app.state.database, force=True, profile="big")
async with AsyncClient(transport=ASGITransport(app=app), base_url="http://test") as http:
yield http
@@ -42,7 +42,7 @@ async def test_demo_cluster_api_state_and_inventory(client: AsyncClient) -> None
vm_list = await client.get("/api/vcenter/vm", headers=headers)
assert vm_list.status_code == 200
assert len(vm_list.json()) >= 1000
assert len(vm_list.json()) >= 2000
hosts = await client.get("/api/vcenter/host", headers=headers)
assert hosts.status_code == 200