[
https://issues.apache.org/jira/browse/LENS-920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133891#comment-15133891
]
Amareshwari Sriramadasu commented on LENS-920:
----------------------------------------------
Fix for consuming and producing json from all API introduces following
incompatible changes:
# org.apache.lens.api.result.QueryCostTo.type is renamed to
org.apache.lens.api.result.QueryCostTo.costType
# All the name="type" specification in cube xsd is changed to name="_type".
This makes measure type, dim_attribute type, expression type and column type
fields to be specified as "_type"
# REST API for creating fact and dimtable is changed to pass sessionid as query
param instead of multi-form data
> Error marshalling LensAPIResult to json
> ---------------------------------------
>
> Key: LENS-920
> URL: https://issues.apache.org/jira/browse/LENS-920
> Project: Apache Lens
> Issue Type: Bug
> Components: api, server
> Reporter: Amruth S
> Assignee: Amareshwari Sriramadasu
> Labels: incompatible
> Fix For: 2.5
>
> Attachments: LENS-920.6.patch
>
>
> Rest apis should be able to work with both application/xml and
> application/json accept headers.
> But some APIs that return LensAPIResult<?> does not work with
> application/json accept header.
> To reproduce
> 1) Hit the /lensapi/queryapi/queries with one more additional header
> Accept - application/json
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)