Location Service

Introduction

The Location Service is used to register and find CSW services in the TMT network. A service can be an Akka actor (including CSW components, such as assemblies and HCDs), an HTTP server or a server running on some TCP host and port.

For information on using the Location Service, see these sections:

Location Service Implementation

Core implementation of location service uses

You can find more details on how CSW is using this in csw-location-server.

Note

See here for some background on how the choice was made to use an Akka cluster with CRDTs.

The implementation of the Location Service is split into following four sub-modules:

  • csw-location-api - common API implemented by the csw-location-server and csw-location-client
  • csw-location-server - think of it as a agent which runs on every machine and exposes HTTP routes which underneath uses akka cluster and distributed data.
  • csw-location-client - lightweight HTTP client for location service
  • csw-location-agent - an application used to register non-csw services (Http/Tcp).