WPS icon indicating copy to clipboard operation
WPS copied to clipboard

Add a list of running processes to the admin backend

Open nuest opened this issue 8 years ago • 3 comments

nuest avatar Nov 19 '15 18:11 nuest

@nuest We've implemented this on our end and have been meaning to contribute it back. You can check out http://cida.usgs.gov/gdp/process/dashboard and the entry point in code https://github.com/USGS-CIDA/geo-data-portal/blob/master/gdp-process-wps/src/main/java/gov/usgs/cida/gdp/wps/service/ProcessListService.java. The big change that made it tricky to contribute is a reshuffling of the database schema. Let me know if you'd like to meet sometime to go over our changes.

jiwalker-usgs avatar Nov 19 '15 18:11 jiwalker-usgs

Thanks for getting in touch! Just for my understanding: So you're using the PostgreSQL database to store the results, and also create an entry in the database for every running process?

nuest avatar Nov 24 '15 07:11 nuest

Yes, we split the PostgreSQL implementation up into several tables. The request table tracks the incoming requests, and the response table holds the current status of the process and eventually the pointer to the outputs. We haven't yet bitten off the process management (stopping running processes, etc). We've set up a liquibase changelog to manage the schema and any changes that might need to be made going forward.

jiwalker-usgs avatar Nov 24 '15 18:11 jiwalker-usgs