geoserver / geoserver-cloud

Cloud Native GeoServer is GeoServer ready to use in the cloud through dockerized microservices.
http://geoserver.org/geoserver-cloud
Other
245 stars 74 forks source link

pgconfig: ensure CatalogFacade bean is a resolving facade #419

Closed groldan closed 7 months ago

groldan commented 7 months ago

PgsqlBackendConfiguration must set up the catalogFacade bean as intended. In this case, it wasn't being created as a ResolvingCatalogFacade, meaning any additional decorator would get the raw PsqlCatalogFacade and the returned CatalogInfo object wouldn't be resolving according to the required inbound and outbound resolving functions (e.g. to initialize the Catalog property where appropriate, possibly leading to NPE, or replacing ResolvingProxy references with actual CatalogInfo references, etc).