Hi Gihan,

I sent the data using event simulator, not the actual event stream.
i used the https://localhost:9443/carbon/eventsimulator/index.jsp?streamId=
facet_test:1.0.0 UI to simulate.

Thanks and Regards.

On Sun, Aug 2, 2015 at 9:16 PM, Gihan Anuruddha <gi...@wso2.com> wrote:

> You need to send those values as a json array. Above is the stream
> definition. Can you attach sample data event?
>
> On Sun, Aug 2, 2015 at 9:13 PM, Rukshan Premathunga <ruks...@wso2.com>
> wrote:
>
>> Hi Niranda,
>>
>>
>>    - here the stream definition:
>>
>>
>> {
>>
>>   "streamId": "facet_test:1.0.0",
>>
>>   "name": "facet_test",
>>
>>   "version": "1.0.0",
>>
>>   "nickName": "",
>>
>>   "description": "",
>>
>>   "metaData": [],
>>
>>   "correlationData": [],
>>
>>   "payloadData": [
>>
>>     {
>>
>>       "name": "id",
>>
>>       "type": "INT"
>>
>>     },
>>
>>     {
>>
>>       "name": "name",
>>
>>       "type": "STRING"
>>
>>     },
>>
>>     {
>>
>>       "name": "add",
>>
>>       "type": "STRING"
>>
>>     },
>>
>>     {
>>
>>       "name": "type",
>>
>>       "type": "STRING"
>>
>>     }
>>
>>   ]
>>
>> }
>>
>>
>>
>>    - `name`, `add` and `type` attributes are set to facet and indexed
>>    when persistent them.
>>
>>
>> Thanks and Regards.
>>
>>
>>
>> On Sun, Aug 2, 2015 at 9:08 PM, Niranda Perera <nira...@wso2.com> wrote:
>>
>>> Can you attach a sample event you sent?
>>>
>>> On Sun, Aug 2, 2015, 21:07 Rukshan Premathunga <ruks...@wso2.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> i try to simulate event stream which contain facet attribute. even
>>>> though i successfully send sample data through UI simulator, in message
>>>> console i couldn't see any data.
>>>>
>>>> did anyone encounter this?
>>>>
>>>> Thanks and Regards.
>>>>
>>>> --
>>>> Rukshan Chathuranga.
>>>> Software Engineer.
>>>> WSO2, Inc.
>>>>
>>>
>>
>>
>> --
>> Rukshan Chathuranga.
>> Software Engineer.
>> WSO2, Inc.
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> W.G. Gihan Anuruddha
> Senior Software Engineer | WSO2, Inc.
> M: +94772272595
>



-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to