LocalWorkspaceCatalog Optimization For JDBC Configuration

Description

When handling a workspaced WMS 1.3.0 GetCapabilities request with JDBC Configuration enabled, the database is queried once per layer or layer group to attempt to load the workspace settings to check whether or not to include the workspace prefix. Updating the list method to only check the settings once per list reduces the number of database queries and also makes it consistent with the getLayers and getLayerGroups methods.

Environment

None

Assignee

Unassigned

Reporter

Steve Ikeoka

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure