Michal Sredl created GEOS-6227 |
Issue Type: |
Bug |
Affects Versions: |
2.4.2, 2.3.3, 2.3.2 |
Assignee: |
|
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: |
|
Labels: |
rest workspace layer |
Priority: |
Major |
Reporter: |