Skip to content

GeoNetwork microservices codesprint November 2020

François Prunayre edited this page Dec 3, 2020 · 3 revisions

When & Where?

  • 23th to 27th November
  • The sprint will be remote

Who?

  • Francois - full week
  • Jose - full week
  • Christophe - Monday, Tuesday, Wednesday
  • ...

Sponsors

Agenda

On the microservice project (https://github.com/geonetwork/geonetwork-microservices), search service design and implementation.

We currently have 3 types of services for search:

  • Elasticsearch proxy - Input: JSON ES API / Output: JSON
  • Simple XML search service eg. RSS - Input: URL parameters / Output: Simple XML produced by Java XMLStreamWriter
  • Advanced output eg. XML/HTML/CSV - Input: Request parameters / Output: Various format produced by XSLT

The search service can be started in standalone mode (ie. no security/no config/no discover with

SERVER_PORT=9902 mvn spring-boot:run -Dspring-boot.run.profiles=standalone,local -f modules/services/searching

See config for DB and index in resources/bootstrap.yml under the standalone profile.

To start it with all services, use docker-compose and then start the search service.

Tasks:

  • Security / Add edit/view groups in JWT and add it in ElasticSearchProxy - Christophe
  • OGC API records - Jose & Francois
  • Tests

Summary

See https://github.com/geonetwork/geonetwork-microservices/pull/23

Clone this wiki locally