Issue Type: Bug Bug
Affects Versions: 2.4.2, 2.3.3, 2.3.2
Assignee: Andrea Aime
Components: REST
Created: 12/Dec/13 4:43 AM
Description:

The reply to GET LAYERS request does not include any information about the workspaces of the layers.

Request:

http://localhost:8080/geoserver/rest/layers.json

Reply (layer href):

href: "http://localhost:8080/geoserver/rest/layers/<layerName>.json"

The worskspace of the layer is not mentioned. As a result, if there are more layers with the same name, each in a different workspace, all but one are unreachable from the GET LAYERS reply - the reply contains several identical links, all pointing to one layer.

Desired behavior (layer href):

http://localhost:8080/geoserver/rest/layers/<workspace>:<layerName>.json

The current issue have two consequences. First, as mentioned above, some layers are hidden and must be detected (by checking the duplicity records) and found (by checking every workspace). Second, when we want the layers of some particular workspace(s) (there is no request to get layers of a particular workspace), we have to ask for every layer details to find it out - and this becomes a performance issue (n requests instead of 1).

Thanks a lot.

Project: GeoServer
Labels: rest workspace layer
Priority: Major Major
Reporter: Michal Sredl
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to