Skip to main content
The Darpan backend is the drpn-ai/darpan Moqui runtime component. The layout below is where backend investigations and service changes start. In a Moqui framework checkout it is mounted at:
component.xml declares the component’s version and registers its entities, services, and screens:
MoquiConf.xml mounts the component’s screens at /apps/darpan and adds three webroot hooks. Before each request and after login, TenantAccessSupport.syncUserContext loads the caller’s active tenant and permissions into the user context. After each request, the logging correlation keys are cleared.

Key directories

Docker and deployment configuration is not in the component.

Sibling components

Other components install beside darpan in the same Moqui runtime:

Runtime stack

The component uses these runtime pieces:
  • Moqui services, entities, screens, security, and JSON-RPC transport
  • XML service definitions and XML actions for contracts and orchestration
  • Groovy helpers for dense processing
  • Apache Spark SQL for file and dataset comparison
  • Drools for RuleSet compilation and execution
  • JSON Schema, JSONPath, and schema inference libraries
  • MySQL Connector/J and the PostgreSQL JDBC driver
Versions are listed in Operations and validation.

Implementation boundary

Service contracts are visible in XML, and service bodies are XML actions by default. Groovy helpers handle processing-heavy code such as Spark dataset preparation, rule execution, JSON normalization, and schema inference. See Service layer.