Hi,
I was fiddling with a bug report and noticed that the REST API seems
completely bricked on master,
any GET request apparently results in a 406, it matches the controller and
produces a result, but then
fails to find a converter to generate the results.

Debugging I've noticed that the ResConfig class (in gs-rest) is called and
registers all of our custom
converters (for HTML, XML, JSON and so on), which are then properly set in
a RequestMappingHandlerAdapter
that is being instantianced inside WebMvcConfigurationSupport and returned
as a bean in the spring context
(the method in question is a bean factory), but then, by the time the
requests are executed, the code
uses another instance of RequestMappingHandlerAdapter that does not have
any of the converters we want.

During the startup I've noticed up to 4 RequestMappingHandlerAdapter being
created, but I'm not sure how
they are getting wired.... sort of seems like a routing issue to me, but
I'm getting lost in details.

Another thing that I've noticed, is that the issue is not happening in
2.15.x, and that it can be reproduced with
a vanilla bin download of the master series, as well as a master bin
download of April 29th (the oldest available
on the build server).

Finally, the build is passing, so the rest config module seems to be
working fine on its own, which makes me think
about something related to wiring....

Does the above ring any bell to any you?

Cheers
Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information. == Ing. Andrea Aime @geowolf Technical Lead
GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39
0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to