How reddypramodhadalam/nextgennew works
Kavach is a web-based test automation platform: users manage applications, survey application requirements and interfaces, review proposed test cases, generate and run automated tests, then inspect results and recover from failures. It also provides application crawling, dashboards, help, scheduling, and ALM/Jira integrations. The graph captures documented and indexed relationships; several backend stages are represented by their exact source paths, but unsampled implementation details are not inferred.
Main entry points: main.py FastAPI application · app_map_crawler.py Application crawler · connection.py PostgreSQL · page.js Suite creation
Components 24
User interface
- Suite creation
frontend/app/new-test-suite/page.js - Scenario review
frontend/components/ScenarioReview/ScenarioReview.jsx - Dashboard
frontend/app/dashboard/page.js - API client
frontend/lib/api.js
API and workflows
- FastAPI application
backend/api/main.py - Application routes
backend/api/routes/applications.py - Run routes
backend/api/routes/run.py - Workflow routes
backend/api/routes/workflows.py
Test automation
- Application survey
backend/service/survey_runner.py - Test generation
backend/service/fast_generation.py - Test execution
backend/service/execution_runner.py - Failure healing
backend/service/healing.py - Application crawler
backend/service/app_map_crawler.py - Crawl agent
backend/agents/crawl_agent.py
Knowledge and insights
- Dashboard routes
backend/api/routes/dashboard.py - Help service
backend/service/help_service.py
Data and integrations
- PostgreSQL
backend/core/db/connection.py - Application queries
backend/core/db/queries/applications.py - LLM providers
backend/llm/provider_factory.py - Authentication gateway
backend/service/auth_gateway.py - Scheduler
backend/service/scheduler.py - ALM integration
backend/api/routes/alm.py - Jira synchronization
backend/service/jira_sync.py
Other components
- Test engineer
Connections 26
- Test engineer → Suite creation: creates tests
frontend/app/new-test-suite/page.js - Suite creation → API client: requests workflows
frontend/app/new-test-suite/page.js - Suite creation → Scenario review: reviews proposals
frontend/app/new-test-suite/page.js - Test engineer → Dashboard: checks results
- Dashboard → API client: requests data
- API client → FastAPI application: calls API
backend/api/main.py - FastAPI application → Application routes: registers routes
backend/api/main.py - FastAPI application → Run routes: registers routes
backend/api/main.py - FastAPI application → Dashboard routes: registers routes
backend/api/main.py - FastAPI application → Scheduler: starts scheduler
backend/api/main.py - Application routes → Application queries: reads applications
backend/api/routes/applications.py - Application routes → Application crawler: starts crawl
backend/api/routes/applications.py - Application queries → PostgreSQL: queries database
backend/core/db/queries/applications.py - Application crawler → Crawl agent: uses agent
backend/service/app_map_crawler.py - Application crawler → Application queries: persists map data
backend/service/app_map_crawler.py - Application crawler → LLM providers: gets provider
backend/service/app_map_crawler.py - Application crawler → Authentication gateway: checks authentication
backend/service/app_map_crawler.py - Run routes → Application survey: runs survey
- Run routes → Test execution: runs tests
- Workflow routes → Test generation: generates tests
- Application survey → LLM providers: uses provider
- Dashboard routes → PostgreSQL: reads metrics
backend/api/routes/dashboard.py - Test engineer → Help service: seeks guidance
- Help service → PostgreSQL: reads and writes
backend/service/help_service.py - ALM integration → Workflow routes: supports ingestion
backend/api/routes/alm.py - Jira synchronization → PostgreSQL: syncs records