com.kjetland.ddsl

model

package model

Visibility
  1. Public
  2. All

Type Members

  1. case class ClientId(environment: String, name: String, version: String, ip: String) extends Product with Serializable

    When a client asks for a serviceLocation, it must supply a clientId - This is used to make it possible to log/track which clients is using which services.

  2. case class Service(id: ServiceId, sl: ServiceLocation) extends Product with Serializable

    Specifies a specific serviceLocation for a specific serviceId

  3. case class ServiceId(environment: String, serviceType: String, name: String, version: String) extends Product with Serializable

    ServiceId is used as a unique ID to a specific service (plus environment and version).

  4. case class ServiceLocation(url: String, quality: Double, lastUpdated: DateTime, ip: String) extends Product with Serializable

    ServiceLocation represents one single instance/deployment of a particular server(specified with ServiceId).

  5. case class ServiceRequest(sid: ServiceId, cid: ClientId) extends Product with Serializable

    Used when a specific client is requesting a specific service

  6. case class ServiceWithLocations(id: ServiceId, locations: Array[ServiceLocation]) extends Product with Serializable

    Utility case class holding info about one specific serviceId and all its present available serviceLocations

Value Members

  1. object DdslDefaults

Ungrouped