Idea:
Create a new DQMH component almost identical to the API Tester and call it Application Test Panel (ATP from now)
Loose definition of the ATP: a user interface visible to the end user in the final application which provides access to the DQMH functionalities in an application specific way.
Reason:
In many application an ATPs should be provided so the user can play around with different parts of the application. The DQMH module itself has the core functionality and its generic, the API tester is for testing the functionality of the module, and the ATP would be the application specific user interface.
Examples:
In most cases the API tester can't be used as an ATP, simply because of the reasons above: the API tester is generic the ATP is specific. Also in the vast majority of the cases we dont want to the user to be able to start or stop the module, launch a new cloneable instance etc. Another factor is the GUI design which will be most likely different for the API tester and the ATP.
How:
The ATP is practically a second API tester. If a new request is created, an existing is renamed / removed (etc) then the change should be applied to the ATP as well. The ATP should have two extra requests by default: load to subpanel (input a subpanel reference) and an unload from subpanel, so the ATP is prepared to be shown to the user easily.
At this point the API tester and the ATP development can be forked. The API tester works just as usual but the developer can start building a UI for the ATP.
There should be a mechanism to generate a new ATP from scratch as a given DQMH module might have a different ATP for the different applications (example: different customers have different relay layout, database structure etc).
And at the end the most obvious question:
So why not simply copy-paste the API tester? Cause the ATP should follow the changes of the DQMH module like the API tester does so the developer doesn't have to add each and every requests manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After consideration, we've decided to focus our limited resources elsewhere. The ratio between effort (a lot) and benefit (a corner case) seems not ideal.