Skip to content

Cloud Native GeoServer is GeoServer ready to use in the cloud through dockerized microservices.

License

Notifications You must be signed in to change notification settings

allanin/geoserver-cloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Native GeoServer

Cloud Native GeoServer is GeoServer ready to use in the cloud through dockerized microservices.

This project is an opinionated effort to split GeoServer's geospatial services and API offerings as individually deployable components of a microservices based architecture.

As such, it builds on top of existing GeoServer software components, adapting and/or extending them in an attempt to achieve functional decomposition by business capability; which roughly means each OWS service, the Web UI, the REST API, and probably other components such as the Catalog and Configuration subsystem, become self-contained, individually deployable and scalable micro-services.

Architecture

The following diagram depicts the System's general architecture.

Cloud Native GeoServer Architecture Diagram

Cloud Native GeoServer Architecture Diagram

Does that mean GeoServer's .war is deployed several times, with each instance exposing a given "business capability"? ABSOLUTELY NOT. Each microservice is its own self-contained application, including only the GeoServer dependencies it needs. Moreover, care has been taken so that when a dependency has both required and non-required components, only the required ones are loaded.

Technology

With GeoServer being a traditional, Spring Framework based, monolithic servlet application, a logical choice has been made to base the GeoServer derived microservices in the Spring Boot framework.

Additionally, Spring Cloud technologies enable crucial capabilities such as dynamic service discovery, externalized configuration, distributed events, API gateway, and more.

Only a curated list of the vast amount of GeoServer extensions will be supported, as they are verified and possibly adapted to work with this project's architecture.

License

CN GeoServer licensed under the GPLv2.

Building

Requirements:

Build, test, and create docker images:

$ ./mvnw clean install

Running

$ docker-compose --compatibility up -d
$ curl "http://localhost:9090/ows?request=getcapabilities&service={WMS,WFS,WCS}"
$ curl -u admin:geoserver "http://localhost:9090/rest/workspaces.json"

Browse to http://localhost:9090

Note the --compatibility argument is required when using a v3 docker-compose file, in order to enable resource limiting (CPU and Memory). Otherwise all services would be competing to use all available CPUs. For more information, check the compatibility mode and resources sections in the docker-compose v3 documentation.

Contributing

Please read the contribution guidelines before contributing pull requests to the CN GeoServer project.

Follow the developer's guide to know more about the project's technical details.

Status

v0.2.0 released against GeoServer 2.18.2.

Project is being deployed in production since v0.1.0.

Read the changelog for more information.

Bugs

CN GeoServer's issue tracking is at this GitHub repository.

Roadmap

Follow the development progress on these GitHub Kanban boards

About

Cloud Native GeoServer is GeoServer ready to use in the cloud through dockerized microservices.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.1%
  • Other 0.9%