[
https://issues.apache.org/jira/browse/FINERACT-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Saghy reassigned FINERACT-2670:
------------------------------------
Assignee: Adam Saghy
> Refactor MixReport module to use native JAX-RS framework serialization
> ----------------------------------------------------------------------
>
> Key: FINERACT-2670
> URL: https://issues.apache.org/jira/browse/FINERACT-2670
> Project: Apache Fineract
> Issue Type: Improvement
> Components: Reports
> Reporter: Dhroov Sankla
> Assignee: Adam Saghy
> Priority: Major
>
> Following the architectural discussion and guidance from maintainers on PR
> #6017, this ticket tracks the structural refactoring of the Mix Report module
> to use native JAX-RS framework serialization.
> *Objective*
> Currently, `MixReportApiResource` manually marshals XML via string
> concatenation/manipulation inside `MixReportXBRLBuilder` before returning a
> raw String payload. The goal is to clean up this technical debt by returning
> a type-safe domain/DTO object directly and letting the framework handle
> serialization automatically.
> *Proposed Changes*
> 1. Annotate `MixReportXBRLData` (or an equivalent response DTO) with
> JAXB/Jakarta XML annotations (`@XmlRootElement`, etc.).
> 2. Update `MixReportApiResource.retrieveXBRLReport` to return the domain
> object directly instead of a raw String wrapper.
> 3. Deprecate/Remove the manual string building logic inside
> `MixReportXBRLBuilder`.
> This aligns the endpoint with proper native JAX-RS automatic marshalling
> standards.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)