The idea seems straightforward, I am a bit concerned with using the same id in two different workspaces. This seems important to you since you marked it in bold - why?
This is for allowing different virtual services to have the freedom to name its own stored queries, without the limit that other workspace already took the desired stored query id. Indeed this is important because is one of the main goals for this PR.
It may be more straight forward to only manage the stored queries globally or per-workspace rather than try and combine them all into a single list (and have complexity around ID collisions).
The reason for allowing current workspace to see global stored queries is for backward compatibility and the possibility of having shared stores queries between several virtual services instead of declaring it in every workspace.
Thanks for your feedback, I’m going to write a GSIP proposal for this improvement.
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.ithttp://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.