jembi / openhim-webui

This project is a web user interface for the OpenHIM project (https://github.com/jembi/openhim). It provides views and management of the transaction log, as well as monitoring statistics.
Mozilla Public License 2.0
0 stars 1 forks source link

Refactor Site/App/Endpoint Info to the Database #16

Open danfuterman opened 11 years ago

danfuterman commented 11 years ago

See https://github.com/jembi/openhim-webui/blob/master/html/translist.html#L82-L100. It would be useful to have this information accessible and stored in the database.

One use case where this would be useful is the addition of M&E indicator functionality in the app. XML messages being parsed and added to database include information on the source site, and this would need to be stored in the him database.

danfuterman commented 11 years ago

@rcrichton It seems the generic-console branch has refactored how this info is maintained in the app, but has not moved the info into the database. What are your thoughts on moving this info into the DB?

rcrichton commented 11 years ago

In the generic console we don't know anything about sites or the transactions endpoints that are expected. The web console dynamically finds all endpoints that have been used and makes use of those to filter by.

For the RHIE web console I think that the sites could be stored in the DB so they can be re-used. That makes sense to me.