Controlling enabled protocol versions in GeoServer

Hi all,

I might have an opportunity to develop a control for which version gets enabled, for each protocol.
The idea is simple, in each service configuration panel we’d have a palette with versions available and version enabled, with all the versions being enabled by default.

Configuration wise, each ServiceInfo already has a list of versions, but we cannot use them, as they are used in terms of “list of all possible versions”. So I’d add a parallel list of versions, in particular, a list of disabled versions. While I’m not particularly in lovel of negatives in configuration, it makes things easier, data directories being upgraded would default to the right state (nothing in the list, all services available).

Enforcement wise, I would extend the existing DisableServiceCheck. Checkiing that code, one can see it’s possible to disable a service at the layer level too: there is no plan to develop version selection at the layer level, at the moment.

Does this sound good?

Also, it’s a core change, but not the very large kind… anyone thinks a GSIP is required?

Cheers
Andrea

This is a great idea, happy to help write a minimal GSIP if you need a hand!