ConfigClientFactory

csw.config.client.scaladsl.ConfigClientFactory

The factory is used to create ConfigClient instance.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def adminApi(actorSystem: ActorSystem[_], locationService: LocationService, tokenFactory: TokenFactory): ConfigService

Create ConfigClient instance for admin users.

Create ConfigClient instance for admin users.

Value parameters

actorSystem

local actor system of the client

locationService

location service instance which will be used to resolve the location of config server

tokenFactory

factory to get access tokens

Attributes

Returns

an instance of ConfigService

def clientApi(actorSystem: ActorSystem[_], locationService: LocationService): ConfigClientService

Create ConfigClient instance for non admin users.

Create ConfigClient instance for non admin users.

Value parameters

actorSystem

local actor system of the client

locationService

location service instance which will be used to resolve the location of config server

Attributes

Returns

an instance of ConfigClientService