Hi all,
I am currently completing some modifications started yesterday with
ConfigurationServiceProxy.dbExport() that will involve some refactoring
on console's HttpResourceStream and also to core's ReportTestITCase.
Basically, I would like to encapsulate the logic for handling streams
(content.xml and reports in various formats) in the relevant service
proxies.
While doing this, I've just noticed that ReportSevice has
@GET
@Path("executions/{executionId}/dbDump")
Response exportExecutionResult(@PathParam("executionId") Long
executionId,
@QueryParam("format") ReportExecExportFormat fmt);
while ConfigurationService has
@GET
@Path("dbDump")
Response dbExport();
Any special reason for this "dbDump"?
The only thing I can see is that both methods return an object stream
(that can be in some cases XML) instead of serialized instances in JSON
/ XML as the rest.
Regards.
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/