-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement geofence standaone as a spring-boot application #168
Comments
Hi @groldan, yep it's a really cool idea.
|
Hey, thanks for the prompt reply. The GUI is definitely a very important aspect, yet I'm not sure I could secure funding for it, but will ask. Would it do exactly the same as the gs integrated wicket module? Unfortunately, the build fails right now with the following error so I can't check:
Looks easy to fix though. That said, and back to your question, with the OpenAPI first approach, it should be "easy" to create a Single Page App in JS (NotMyAreaOfExperise (tm)) that talks to the API, so we have a single thing to maintain in regards to configuration. The other, wild, probably stupid, approach would be to replicate a stripped down version of geoserver's wicket UI that contains only the geofence stuff... but sounds worse than it did in my head once written down... |
+1 @groldan thanks |
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?
The text was updated successfully, but these errors were encountered: