How harishduda/esb_audit_portal works
ESB Audit Portal is a Flask support application for searching ESB records by RRN across configured Oracle environments. Operators use the browser UI to choose an environment and time range; the request is validated, queries retrieve service audit rows and detail-log payloads, and the UI presents summaries, error details, and a timeline. The README documents these capabilities, while the sampled source shows the route-to-service and database call paths. The template and configuration wiring are documented, but their source was not sampled.
Main entry points: audit_service.py Validate and assemble · oracle.py Oracle connection and fetch · app.js Search and results UI · audit_routes.py Search endpoint
Components 12
Operator interface
- Search and results UI
static/js/app.js - Search page
templates/index.html
Search API
- Flask app
app.py - Search endpoint
routes/audit_routes.py
Audit retrieval
- Validate and assemble
services/audit_service.py - Environment settings
config.py - Service audit records
- Audit timeline entries
Oracle access
- ACE and DTL SQL
db/queries.py - Oracle connection and fetch
db/oracle.py
Other components
- Support operator
- Oracle database
Connections 17
- Support operator → Search page: opens
README.md - Search page → Search and results UI: loads
README.md - Search and results UI → Search endpoint: posts search
static/js/app.js - Flask app → Search endpoint: registers
app.py - Flask app → Search page: renders
app.py - Search endpoint → Validate and assemble: calls search
routes/audit_routes.py - Validate and assemble → Environment settings: loads settings
services/audit_service.py - Validate and assemble → ACE and DTL SQL: selects queries
services/audit_service.py - Validate and assemble → Oracle connection and fetch: connects and fetches
services/audit_service.py - Oracle connection and fetch → Environment settings: uses connection settings
db/oracle.py - Oracle connection and fetch → Oracle database: executes queries
db/oracle.py - Oracle connection and fetch → Service audit records: returns rows
- Oracle connection and fetch → Audit timeline entries: returns rows
- Validate and assemble → Search endpoint: returns response data
routes/audit_routes.py - Search endpoint → Search and results UI: returns JSON
README.md - Search and results UI → Service audit records: renders services and errors
static/js/app.js - Search and results UI → Audit timeline entries: renders payload timeline
static/js/app.js