I suppose it depends on whether we want to consider the GWC REST API a
subset of the GeoServer REST API, or a separate API within the application.

Given it's /gwc/rest rather than /rest/gwc it seems to make more sense
to keep them separate.

On 2017-09-28 03:25 PM, Torben Barsballe wrote:
> Found the issue. Definately a bug in IndexController - it just blindly
> trims off the first four characters (normally "rest") of the path when
> constructing the index.
> I don't think the original rest index included the gwc endpoints - is
> this something we want to have included?
>
> Torben
>
> On Thu, Sep 28, 2017 at 3:18 PM, Torben Barsballe
> <tbarsba...@boundlessgeo.com <mailto:tbarsba...@boundlessgeo.com>> wrote:
>
>     Hi Nuno,
>
>     What GeoServer version are you seeing this behavior on? master,
>     2.12-beta, 2.12-RC1, something else?
>
>     I would guess that 'est' is 'rest' missing the 'r', but that
>     definitely seems wrong.
>
>     Testing it out on 2.12-beta, I see the same behavior looking at
>     the index page. If I click on any of the 'est' links I get a 404
>     though, and the expected links work fine. So, this looks like a
>     bug in how the index page handles the new GeoWebCache rest links.
>
>     Torben 
>
>     On Thu, Sep 28, 2017 at 9:16 AM, Nuno Oliveira
>     <nuno.olive...@geo-solutions.it
>     <mailto:nuno.olive...@geo-solutions.it>> wrote:
>
>         Hi all,
>         something doesn't look right with GeoServer REST.
>
>         First the GWC end-points seem to be indexed and prefixed with
>         EST ? Not sure what EST stands for:
>
>           * est
>           * est/diskquota
>           * est/layers
>           * est/masstruncate
>           * est/seed.json
>           * est/statistics
>
>         Then when accessing the other REST end-points or I get a NPE,
>         a 404 error or I get the correct result
>         this seems be a bit random ... and I can't see why this is
>         happening.
>
>         Is anyone else experiencing this ?
>
>         Regards,
>
>         Nuno Oliveira
>
>         -- 
>         Regards,
>         Nuno Oliveira
>         ==
>         GeoServer Professional Services from the experts! Visit 
> http://goo.gl/it488V for more information.
>         ==
>
>         Nuno Miguel Carvalho Oliveira
>         @nmcoliveira
>         Software Engineer
>
>         GeoSolutions S.A.S.
>         Via di Montramito 3/A
>         55054  Massarosa (LU)
>         Italy
>         phone: +39 0584 962313 <tel:+39%200584%20962313>
>         fax:      +39 0584 1660272 <tel:+39%200584%20166%200272>
>
>         http://www.geo-solutions.it
>         http://twitter.com/geosolutions_it
>         <http://twitter.com/geosolutions_it>
>
>         -------------------------------------------------------
>         AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>         Le informazioni contenute in questo messaggio di posta elettronica 
> e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il 
> loro utilizzo è consentito esclusivamente al destinatario del messaggio, per 
> le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio 
> senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia 
> via e-mail e di procedere alla distruzione del messaggio stesso, 
> cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo 
> anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per 
> finalità diverse, costituisce comportamento contrario ai principi dettati dal 
> D.Lgs. 196/2003.
>          
>         The information in this message and/or attachments, is intended 
> solely for the attention and use of the named addressee(s) and may be 
> confidential or proprietary in nature or covered by the provisions of privacy 
> act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection 
> Code).Any use not in accord with its purpose, any disclosure, reproduction, 
> copying, distribution, or either dissemination, either whole or partial, is 
> strictly forbidden except previous formal approval of the named addressee(s). 
> If you are not the intended recipient, please contact immediately the sender 
> by telephone, fax or e-mail and delete the information in this message that 
> has been received in error. The sender does not give any warranty or accept 
> liability as the content, accuracy or completeness of sent messages and 
> accepts no responsibility  for changes made after they were sent or for other 
> risks which arise as a result of e-mail transmission, viruses, etc.
>
>
>         
> ------------------------------------------------------------------------------
>         Check out the vibrant tech community on one of the world's most
>         engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>         _______________________________________________
>         Geoserver-devel mailing list
>         Geoserver-devel@lists.sourceforge.net
>         <mailto:Geoserver-devel@lists.sourceforge.net>
>         https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>         <https://lists.sourceforge.net/lists/listinfo/geoserver-devel>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-- 
Kevin Michael Smith
<smit...@draconic.ca>

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to