On Sat, Oct 29, 2011 at 1:26 PM, Jody Garnett <[email protected]> wrote: > I am very exciting you got some WPS work - congrats! > On Saturday, 29 October 2011 at 12:02 AM, Andrea Aime wrote: > > Hi, > another thing I'll probably be working on in the next weeks is providing > some level of process filtering and control, in a pluggable way. > > Fair enough. In uDig we capture them at the "catalog" level; rather than use > the GeoTools classes directly.
Seems similar to what Justin suggested. I'm having troubles with such concept, while work twice and store extension points in the catalog too? Seems just overengineering to me. > A process filter will be an interface allowing to exclude processes from > the WPS server, it basically will make a process available, or not, > based on some internal rules. > There are a couple of usages for this kind of filtering: > - admin control: we ship with a lot of processes, but an administrator > might want to limit its installation to 2-3 processes only. > For this case I envision a little GUI panel listing all of the processes by > "namespace" and allowing people to exclude processes and namespaces, > which would then be stored as a configuration in wps.xml > - security: some processes might be available only to specific users > (no implementation planned along this lines, but this will make it possible) > Another thing that I would like to add is a concept of execution callback, > similar to the dispatcher callback. > Such callbacks would be invoked at various stages of a process execution: > - right after parsing the request > - right before execution begins, when inputs have been parsed into their > java equivalent > - right before the encoding of outputs happens > - when we are done > > That should also hook into the "status" of async process? You mean, the callback should also receive progress notifications? Could be, it would actually allow the process callbacks to cancel a process automatically (assuming the process cares at all about the cancellation status in the progress listener). Which in turn could be used for resource control, just like we did for wms GetMap, setting a time limit on it. Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
