Hi,

Im trying to create a dashboard widget with a Siddhi store data provider. I 
have a Siddhi application that stores the data into a H2 table named 
"prediction". Now I want to get this with the widget and make a line chart with 
it. The isssue is that when I create the widget I see the message "no data 
available".

Below are my configurations while creating a widget.

  *   Step 2. Configure data provider. I tested the Siddhi query below in a 
other Siddhi application so I know the parameters are correct. If I understand 
it correct the widget should get the data from this datastore?

     *   @Store(type="rdbms", 
jdbc.url="jdbc:h2:tcp://localhost/C:/Users/w/test", username="user", 
password="user", jdbc.driver.name="org.h2.Driver")
define table prediction(ID int, DATETIME String, AVGRESULT double, PREDICTION 
int);

     *   Dynamic query generation configuration. In entered here a basis query 
to just get all data from the table.
return 'from prediction select *';

U know what im doing wrong here?

Best regards,
Wiedo
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to