ServiceBuilder

org.mbari.vars.migration.services.ServiceBuilder
See theServiceBuilder companion object
class ServiceBuilder(load: Boolean = ...)

ServiceBuilder is a singleton object that provides access to various services such as AnnotationService, MediaService, and OniService. It loads configurations from the Raziel service and initializes the services accordingly.

Value parameters

load

A boolean flag indicating whether to load configurations from the Raziel service. Defaults to true. If set to false, the service configurations will be loaded from conf files and environment variables.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete fields

lazy val annotationService: AnnotationService & VideoReferenceService
lazy val annotationServiceConfig: EndpointConfig

Use the save usernmae and password to authenticate against Oni and fetch the user details.

Use the save usernmae and password to authenticate against Oni and fetch the user details.

Attributes

lazy val loadConfigurations: List[EndpointConfig]
lazy val mediaService: MediaService
lazy val oni: Oni
lazy val oniService: ConceptService & UserService & PreferencesService
lazy val oniServiceConfig: EndpointConfig
lazy val vampireSquid: VampireSquid
lazy val vampiresquidServiceConfig: EndpointConfig