You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2014/05/12 06:37:15 UTC

[jira] [Assigned] (OLINGO-277) Creating plain JSON payload required for SAP HANA

     [ https://issues.apache.org/jira/browse/OLINGO-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Bolz reassigned OLINGO-277:
-----------------------------------

    Assignee: Michael Bolz

> Creating plain JSON payload required for SAP HANA
> -------------------------------------------------
>
>                 Key: OLINGO-277
>                 URL: https://issues.apache.org/jira/browse/OLINGO-277
>             Project: Olingo
>          Issue Type: Improvement
>          Components: odata4-client
>            Reporter: Dilip Patidar
>            Assignee: Michael Bolz
>              Labels: json
>             Fix For: V2 1.2.0
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> We use static method "writeEntry(String contentType, EdmEntitySet entitySet, Map<String,Object> data, EntityProviderWriteProperties properties)" from class "EntityProvider" to get the json payload for the systems which only accepts json. SAP Hana is such a system. The payload expected by the  SAP Hana odata service requires plain json payload which only key value pairs. exmaple:
> {"EndToEndIdentification":"1000000046","Amount.InstructedAmount.Amount":"1500","Amount.InstructedAmount.Currency":"IGW","PaymentInformationIdentification":"1000000028"}
> This should not have any information about the metadata or uri in the payload. We are unable to get such a payload from the olingo library. It will be good if we can add one more parameter to the above function or create one more overloaded function to get the required payload.
> Regards,
> Dilip



--
This message was sent by Atlassian JIRA
(v6.2#6252)