Hi Roshan,

On Tue, Dec 15, 2015 at 5:27 AM, Roshan Wijesena <[email protected]> wrote:

> Thanks, Gimantha,
>
> Doc says "Publishing Data Using Java Client Through REST API". Probably we
> might need this heading?
>

Yes. We cannot use Analytics REST API to publish data to DAS. We need to
remove this doc. @Rukshani, please note.

However as Udara pointed out you can publish data through HTTP transport
[1] as an alternative. Basically, there are different ways in which WSO2
DAS can be configured to receive data in the form of events [2].

[1] https://docs.wso2.com/display/DAS300/HTTP+Event+Receiver
[2] https://docs.wso2.com/display/DAS300/Configuring+Event+Receivers


>
> [1]
> https://docs.wso2.com/display/DAS300/Publishing+Data+Using+Java+Client+Through+REST+API
>
> On Mon, Dec 14, 2015 at 5:47 PM, Gimantha Bandara <[email protected]>
> wrote:
>
>> Hi Roshan,
>>
>> REST API cannot be used for publishing the data to DAS. You will have to
>> use THRIFT.
>>
>> On Monday, December 14, 2015, Udara Rathnayake <[email protected]> wrote:
>>
>>> As far as I understood those EP's are for analytic purpose.
>>> DAS team please correct me if I'm wrong.
>>>
>>> On Mon, Dec 14, 2015 at 4:08 PM, Roshan Wijesena <[email protected]>
>>> wrote:
>>>
>>>> Hi Udara,
>>>>
>>>> Yes, it is. But could not find data publisher end point (POST or PUT)
>>>> from the endpoint list. Further, I am just wondering what are the
>>>> advantages and disadvantages of REST vs Thrift publishers.
>>>>
>>>> -Roshan
>>>>
>>>> On Mon, Dec 14, 2015 at 3:04 PM, Udara Rathnayake <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Roshan,
>>>>>
>>>>> On Mon, Dec 14, 2015 at 3:40 PM, Roshan Wijesena <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi DAS team,
>>>>>>
>>>>>> 1. I could not find the data publisher endpoint  from the list [1].
>>>>>> Which endpoint is used for save the data?
>>>>>>
>>>>> ​I think you are looking at the analytics REST API.​ Refer
>>>>> https://docs.wso2.com/display/DAS300/Collecting+Data to
>>>>> publish/persist data.
>>>>>
>>>>>>
>>>>>> 2. I am just wondering which method to be used for data publishing
>>>>>> for DAS. Can someone please explain few advantage and disadvantage of 
>>>>>> both?
>>>>>>
>>>>>> [1] https://docs.wso2.com/display/DAS300/Analytics+REST+API+Guide
>>>>>>
>>>>>> --
>>>>>> Roshan Wijesena.
>>>>>> Senior Software Engineer-WSO2 Inc.
>>>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>>>> Email: [email protected]
>>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>>> lean.enterprise.middleware.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> UdaraR
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Roshan Wijesena.
>>>> Senior Software Engineer-WSO2 Inc.
>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>> Email: [email protected]
>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>> lean.enterprise.middleware.
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> UdaraR
>>>
>>
>>
>> --
>> Gimantha Bandara
>> Software Engineer
>> WSO2. Inc : http://wso2.com
>> Mobile : +94714961919
>>
>>
>
>
> --
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: *+94719154640 <%2B94719154640>*
> Email: [email protected]
> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
> lean.enterprise.middleware.
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards,

Inosh Goonewardena
Associate Technical Lead- WSO2 Inc.
Mobile: +94779966317
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to