On Thu, Jun 5, 2014 at 10:29 PM, Ayash <[email protected]> wrote:

> Hi Inosh,
>
> Why do we have an error like this in UI?
>
>
> "Query Validation Failed. Please make sure that all properties are filled"
>
> This does make no sense to the user, if there is no error in a search
> query or something we are using in UI. We don't have to send an error like
> that to the user end. If there is no data indexed as the component expects,
> we have to make the user feel the same in UI too. Please tell me if I am
> wrong.
>

Yes. As I remember we have added more meaningful error messages in BAM
2.4.1. I will double and create JIRAs if not.

>
> This is what I understood by chatting with akila, he doesn't have right
> error in the UI to tack the error with him.
>
> Thanks,
> -Ayash
>
>
>
> On Wed, Jun 4, 2014 at 2:34 PM, Inosh Goonewardena <[email protected]> wrote:
>
>> Hi Akila,
>>
>> As Thayalan explained you have to add indexing properties in-order to use
>> activity monitoring dashboard for a generic message tracing use case.
>> However, activity dashboard will will not function with kpi-definition
>> sample because kpi-definition stream doesn't have correlated data property
>> named 'activity_id' which is a mandatory field for activity tracing(refer
>> the section "Global activity index" in [1] ) in it. To get a better
>> understanding about message tracing, please follow [2].
>>
>> [1] - https://docs.wso2.org/display/BAM240/Indexing+in+Cassandra
>> [2] -
>> https://docs.wso2.org/display/BAM241/Setting+up+Message+Tracing+for+WSO2+ESB
>>
>>
>> On Wed, Jun 4, 2014 at 11:07 PM, Thayalan <[email protected]> wrote:
>>
>>> I guess Activity Dashboard to work you should enable indexing. By
>>> default only Message_Tracing.tbox added with indexing. If you want to try
>>> the KPI sample please add indxing to streams.properties file of the toolbox
>>> and perform the search. Ref [1] & [2]. I'm not quite sure whether Timestamp
>>> being indexed by default and can be search with 2.4.0 version.
>>>
>>
>>> 1. https://docs.wso2.org/display/BAM240/Indexing+in+Cassandra
>>> 2. https://docs.wso2.org/display/BAM240/Searching+Cassandra+Data
>>>
>>>
>>>
>>>
>>> On Wed, Jun 4, 2014 at 3:41 PM, Akila Ravihansa Perera <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I used kpi-definitions sample to publish events to BAM. Then I added
>>>> Phone Retail Store Toolbox in ToolBox list. In analytics section I can
>>>> successfully execute the hive scripts for "phone_retail_store_script".
>>>>
>>>> But when I try to search activities in "Activity Dashboard", it gives
>>>> me this error - "* Query Validation Failed. Please make sure that all
>>>> properties are filled.". But I've filled all the required fields
>>>> (status, start time, end time). What am I doing wrong here? Please
>>>> help.
>>>>
>>>> Thanks.
>>>>
>>>> PS - I'm using BAM ver. 2.4.0
>>>>
>>>> --
>>>> Akila Ravihansa Perera
>>>> Software Engineer
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>>
>>>> Phone: +94 77 64 154 38
>>>> Blog: http://ravihansa3000.blogspot.com
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Thayalan Sivapaleswararajah
>>> Associate Technical Lead - QA
>>> Mob: +94(0)777872485
>>> Tel : +94(0)(11)2145345
>>> Fax : +94(0)(11)2145300
>>> Email: [email protected]
>>>
>>>
>>> *Disclaimer*: *This communication may contain privileged or other
>>> confidential information and is intended exclusively for the addressee/s.
>>> If you are not the intended recipient/s, or believe that you may have
>>> received this communication in error, please reply to the sender indicating
>>> that fact and delete the copy you received and in addition, you should not
>>> print, copy, retransmit, disseminate, or otherwise use the information
>>> contained in this communication. Internet communications cannot be
>>> guaranteed to be timely, secure, error or virus-free. The sender does not
>>> accept liability for any errors or omissions.*
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Inosh Goonewardena
>> Associate Technical Lead- WSO2 Inc.
>> Mobile: +94779966317
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ayashkantha Ramasinghe
> Software Engineer WSO2, Inc.
> email: [email protected] <[email protected]>;
> TP: +94 77 7 487 669
>



-- 
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