Skip to content

Latest commit

 

History

History

catalog-coherence

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

catalog-coherence

This module implements Coherence backend for the Catalog Service.

Building the Service

See main documentation page for instructions.

Running the Service

Unlike other back end implementations, which require separate containers for the service and the back end data store, Coherence is embedded into your application and runs as part of your application container.

That means that it is as easy to run as the basic in-memory implementation of the service, but it allows you to easily scale your service to hundreds of stateful, and optionally persistent nodes.

To run Coherence implementation of the service, simply execute

$ docker run -p 7001:7001 ghcr.io/helidon-sockshop/catalog-coherence

As a basic test, you should be able to perform an HTTP GET against /catalogue/size endpoint:

$ curl http://localhost:7001/catalogue/size

which should return JSON response

{
  "size": 9
}

License

The Universal Permissive License (UPL), Version 1.0