How o-ran-sc/ric-app-hw-go works
This is a minimal Go near-real-time RIC xApp. Its visible runtime starts through HWApp.Run, registers framework callbacks, and processes incoming RMR messages; it can also send an A1 policy query. The README describes broader capabilities, including SDL, metrics, alarms, E2, and persistent storage, but their implementations are not present in the sampled source, so those are shown as documented capabilities without inferred call paths.
Main entry points: hwApp.go HWApp runtime · config-file.json Configuration
Components 11
xApp runtime
- HWApp runtime
hwApp.go - xApp framework
- RMR messaging
Documented capabilities
- A1 policy interface
- Configuration
config/config-file.json - SDL storage
- Health checks
- Metrics
- Alarms
- E2 interface
Other components
- RIC operator
Connections 11
- RIC operator → HWApp runtime: starts
README.md - HWApp runtime → xApp framework: uses
hwApp.go - HWApp runtime → RMR messaging: sends query
hwApp.go - RMR messaging → HWApp runtime: delivers messages
hwApp.go - HWApp runtime → A1 policy interface: queries policy
hwApp.go - HWApp runtime → Configuration: reads settings
hwApp.go - HWApp runtime → SDL storage: supports storage
README.md - HWApp runtime → Health checks: supports checks
README.md - HWApp runtime → Metrics: generates
README.md - HWApp runtime → Alarms: raises
README.md - HWApp runtime → E2 interface: supports interaction
README.md