Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 2.0.x
-
Component/s: Configuration
-
Labels:None
-
Number of attachments :
Description
Add two "special" profiles to org.geoserver.config.GeoServer:
1) The "default" profile. Perhaps better phrased the "global" profile. This will be the configuration profile which is used when an explicit one has not been specified
2) The "local" profile. This profile will be retrieved via a thread local variable.
Add a method with the signature:
GeoServerProfile getActiveProfile();
The behavior of this method being as follows:
- If a local profile exists, return it
- Otherwise return the default profile
All the methods from org.geoserver.config.GEoServer moved to GeoServerProfile should forward to getActiveProfile().