Skip to content

Implement geofence standaone as a spring-boot application #168

@groldan

Description

@groldan

Hi, I'm evaluating integrating Geofence as a microservice in geoserver-cloud

The approach used to integrate other GeoServer functionalities is not going to work or is gonna become a nightmare to maintain.

So I'd like to convert the app to spring-boot, for which I'd get funding. Hence this question asking if you guys would be interested in such work.

Note by converting to spring-boot, the application could be either a single-jar executable, or a .war as it is right now, or both, that's not a problem.

That would imply replacing CXF by Spring webmvc, already mentioned in #132.

Additionally, I'd like to make the REST API an "API first project", defining it in an OpenAPI 3 yaml file, and using code generation to create the server stub api and the java client.

This means the current "shared object model" would not be derived from the persistence object model, but from the API definition, with the additional benefit of separating those concerns, and the ability to create code-generated clients in other programming languages, may them be needed by anyone (for example, a JS client for MapStore, a python client for GeoNode, etc).

As of API backwards compatibility, I'm pretty sure we could respect the current XML object model, while adding JSON support too.

At the same time, it'd be possible to reuse the components directly for the GeoServer integrated version.

@etj @afabiani what do you guys think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions