You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.
Is it possible to update multiple widgets with same HTTP API Call ?
My application is a Software Test Automation Framework, and I need to report the status using Dashboard. I am pretty much fine with the Meter gadget, and am using four of then to display different statuses as below.
Currently, I need to update all four separately using four curl calls. Considering the fact that the dashboard is hosted in a different server, it is taking considerable time to get it updated, as need to execute 1000s of test cases and for each case, I need to update the status too.
Is there any way I can do this update with single HTTP Call?
Or
Is there any way to trigger a job with data being passed as JSON when HTTP request occurs? If so, I can get the values form the request and use send_event to update all four statuses.
Any help would be much appreciated.
Thanks,
Shalvin
The text was updated successfully, but these errors were encountered:
This is hard because you are not doing things the way Dashing intends you to.
Dashing jobs are supposed to PULL data into the widgets. The API is more for fun or the odd use case here and there -- it certainly should not be the main way that you pass data to widgets. If you are unable to query your test framework for data, then store it somewhere and poll that thing in your jobs. MySQL, redis, MongoDB or any other Data-storage system would work just fine.
Also, please close this issue and direct all future Support Requests to StackOverflow, as defined in the Contribution Guidelines. When you create an issue or pull-request, it is shown in a big yellow box above where you type the title.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Dear Team,
Is it possible to update multiple widgets with same HTTP API Call ?
My application is a Software Test Automation Framework, and I need to report the status using Dashboard. I am pretty much fine with the Meter gadget, and am using four of then to display different statuses as below.
Currently, I need to update all four separately using four curl calls. Considering the fact that the dashboard is hosted in a different server, it is taking considerable time to get it updated, as need to execute 1000s of test cases and for each case, I need to update the status too.
Is there any way I can do this update with single HTTP Call?
Or
Is there any way to trigger a job with data being passed as JSON when HTTP request occurs? If so, I can get the values form the request and use send_event to update all four statuses.
Any help would be much appreciated.
Thanks,
Shalvin
The text was updated successfully, but these errors were encountered: