Skip to content

Commit

Permalink
Remove unused catalog-service microservice and client
Browse files Browse the repository at this point in the history
The catalog service has been out of commission for a long time now,
becoming dead code.

The idea is still sound but the complexity of WebFlux makes it a
maintenance nightmare. Plus, with Java 21's virtual threads, it will be
possible to write a non WebFlux implementation with almost the same
benefits, except maybe for the reactive back-pressure support.
  • Loading branch information
groldan committed Dec 6, 2023
1 parent 078bb63 commit 23cabb9
Show file tree
Hide file tree
Showing 120 changed files with 12 additions and 12,321 deletions.
2 changes: 1 addition & 1 deletion config
Submodule config updated 2 files
+0 −3 gateway-service.yml
+1 −45 geoserver.yml
20 changes: 0 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@
<artifactId>gs-cloud-starter-webmvc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.geoserver.cloud</groupId>
<artifactId>gs-cloud-starter-reactive</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.geoserver.cloud</groupId>
<artifactId>gs-cloud-starter-wms-extensions</artifactId>
Expand Down Expand Up @@ -109,16 +104,6 @@
<artifactId>gs-cloud-catalog-cache</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.geoserver.cloud.catalog.service</groupId>
<artifactId>gs-cloud-reactive-catalog-client</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.geoserver.cloud.catalog.service</groupId>
<artifactId>gs-cloud-reactive-catalog-server</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.geoserver.cloud.catalog.backend</groupId>
<artifactId>gs-cloud-catalog-backend-common</artifactId>
Expand All @@ -134,11 +119,6 @@
<artifactId>gs-cloud-catalog-backend-jdbcconfig</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.geoserver.cloud.catalog.backend</groupId>
<artifactId>gs-cloud-catalog-backend-catalog-service</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.geoserver.cloud.catalog.backend</groupId>
<artifactId>gs-cloud-catalog-backend-pgsql</artifactId>
Expand Down
55 changes: 0 additions & 55 deletions src/apps/geoserver/catalog/Dockerfile

This file was deleted.

7 changes: 0 additions & 7 deletions src/apps/geoserver/catalog/README.md

This file was deleted.

80 changes: 0 additions & 80 deletions src/apps/geoserver/catalog/pom.xml

This file was deleted.

This file was deleted.

71 changes: 0 additions & 71 deletions src/apps/geoserver/catalog/src/main/resources/bootstrap.yml

This file was deleted.

2 changes: 0 additions & 2 deletions src/apps/geoserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
<module>restconfig</module>
<module>webui</module>
<module>gwc</module>
<!-- temporarily disabled -->
<!-- <module>catalog</module>-->
</modules>
<dependencyManagement>
<dependencies>
Expand Down
28 changes: 9 additions & 19 deletions src/catalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ Dependency graph:
^
|
(catalog-event-bus) <-------- (catalog-backend-starter) ------> (catalog-cache)
^ | \
/ | \
/ | \--> [gs-jdbcconfig]
/ | \
/ | \--> <other catalog backends>...
/ |
/ +--> (catalog-service-client)
/ +--> (pgconfig)
/
(catalog-service)
(data-directory)
```

## pluggable-catalog-support
Expand All @@ -28,12 +28,14 @@ Implements `spring-could-bus` based event notification of catalog and configurat

## catalog-backend-starter

Provides spring atuo-configuration for several catalog back-ends. Namely: traditional file based data directory, jdbcconfig, and catalog-service-client. More can be added as implementations are developed.
Provides spring atuo-configuration for several catalog back-ends. Namely: traditional file based data directory, jdbcconfig, and pgconfig. More can be added as implementations are developed.

depends on:
* catalog-event-bus
* gs-jdbcconfig
* catalog-service-client
* gs-cloud-catalog-events
* gs-cloud-catalog-cache
* gs-cloud-catalog-backend-datadir
* gs-cloud-catalog-backend-jdbcconfig
* gs-cloud-catalog-backend-pgsql

## catalog-cache

Expand All @@ -42,18 +44,6 @@ Based on `spring-boot-starter-cache`, decorates the application catalog's backen
depends on:
* catalog-event-bus

## catalog-service-client

Catalog implementation to use `catalog-service` as the application's catalog backend. Hooks into the configured `Catalog` and `ResourceStore`

## catalog-service

Microservice that implements the web-api to back the `catalog-service-client`.

depends on:
* catalog-backend-starter (hence transitively on all the supported backends)


# Common configuration properties
The following configuration properties apply to all *GeoServer* microservices (i.e. not edge services):

Expand Down
Loading

0 comments on commit 23cabb9

Please sign in to comment.