package config

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final case class ActivateProfile(id: String, profileName: String, profileVersion: String, overlays: Set[OverlayRef]) extends UpdateAction with Product with Serializable
  2. final case class AddOverlayConfig(id: String, overlay: OverlayConfig) extends UpdateAction with Product with Serializable
  3. final case class AddRuntimeConfig(id: String, runtimeConfig: RuntimeConfig) extends UpdateAction with Product with Serializable
  4. case class Artifact(url: String, fileName: Option[String], sha1Sum: Option[String]) extends Product with Serializable

    A downloadable resource file with optional checksum.

  5. case class BundleConfig(artifact: Artifact, start: Boolean, startLevel: Option[Int]) extends Product with Serializable

    A bundle with a start configuration.

    A bundle with a start configuration. Used as part of RuntimeConfig oder FeatureConfig.

    artifact

    The artifact (file).

    start

    true if the bundle should be auto-started on container start.

    startLevel

    The start level of this bundle.

    See also

    RuntimeConfig

    FeatureConfig

  6. case class ContainerInfo(containerId: String, properties: Map[String, String], serviceInfos: List[ServiceInfo], profiles: List[Profile], timestampMsec: Long, appliedUpdateActionIds: List[String]) extends GrantableObject with Product with Serializable
  7. case class ContainerRegistryResponseOK(id: String, actions: List[UpdateAction] = List.empty) extends Product with Serializable

    Used as HTTP response for ContainerInfo updated, returns potentially update actions.

  8. case class FeatureConfig(name: String, version: String, url: Option[String], bundles: List[BundleConfig], features: List[FeatureRef]) extends Product with Serializable

    A Feature configuration, holds a collection of BundleConfigs to build up a RuntimeConfig.

  9. case class FeatureRef(name: String, version: String, url: Option[String] = None) extends Product with Serializable
  10. case class GeneratedConfig(configFile: String, config: String) extends Product with Serializable

    Definition of a config file generator.

    Definition of a config file generator. The generator has a file name (relative to the profile) and will write the given config into the config file.

    configFile

    The relative config file name.

  11. trait Mapper extends AnyRef

    Mapper functions for bi-directional mapping of domain model case classes to java.util.Map's with JVM-only types.

  12. case class MvnGav(group: String, artifact: String, version: String, classifier: Option[String] = None, fileExt: String = "jar") extends Product with Serializable
  13. final case class OverlayConfig(name: String, version: String, generatedConfigs: List[GeneratedConfig] = List.empty, properties: Map[String, String] = Map.empty) extends Ordered[OverlayConfig] with Product with Serializable

    Definition of an overlay.

    Definition of an overlay.

    name

    The name of the overlay.

    version

    The version of the overlay.

    generatedConfigs

    The config file generators.

    properties

    Additional system properties.

  14. final case class OverlayRef(name: String, version: String) extends Ordered[OverlayRef] with Product with Serializable

    A reference to an overlay config.

    A reference to an overlay config.

    name

    The name of the overlay.

    version

    The version of the overlay.

  15. case class OverlaySet(overlays: Set[OverlayRef], state: OverlayState, reason: Option[String] = None) extends Product with Serializable

    A set of overlay reference that are meant to be used together.

    A set of overlay reference that are meant to be used together. The empty list represents together with an RuntimeConfig represents an deployable base profile.

  16. sealed trait OverlayState extends AnyRef
  17. case class Profile(name: String, version: String, overlaySet: OverlaySet) extends Product with Serializable
  18. case class ProfileGroup(name: String, version: String, overlays: List[OverlaySet]) extends Product with Serializable

    A group of Profiles, that share the same name and version.

    A group of Profiles, that share the same name and version. Hence, all profiles in the same group reprent the same runtimeConfig, but different overlays.

  19. case class ProfileInfo(timeStamp: Long, profiles: List[Profile]) extends Product with Serializable
  20. case class RemoteContainerState(containerInfo: ContainerInfo, outstandingUpdateActions: List[UpdateAction]) extends Product with Serializable
  21. case class ResolvedRuntimeConfig(runtimeConfig: RuntimeConfig) extends Product with Serializable

    Encapsulated a [RuntimeConfig] guaranteed to contain resolved [FeatureConfig]s for each contained (transitive) [FreatureRef].

    Encapsulated a [RuntimeConfig] guaranteed to contain resolved [FeatureConfig]s for each contained (transitive) [FreatureRef].

    If there are unresolved (transitive) features, this class construction throws with a [java.lang.IllegalArgumentException].

    See also

    [FeatureResolver] for a way to automatically resolve features, e.g. from remote repositories.

  22. case class RolloutProfile(profileName: String, profileVersion: String, overlays: Set[OverlayRef], containerIds: List[String]) extends Product with Serializable
  23. case class RuntimeConfig(name: String, version: String, bundles: List[BundleConfig] = List.empty, startLevel: Int, defaultStartLevel: Int, properties: Map[String, String] = Map.empty, frameworkProperties: Map[String, String] = Map.empty, systemProperties: Map[String, String] = Map.empty, features: List[FeatureRef] = List.empty, resources: List[Artifact] = List.empty, resolvedFeatures: List[FeatureConfig] = List.empty) extends Product with Serializable
  24. class SerializationException extends Exception
  25. case class ServiceInfo(name: String, serviceType: String, timestampMsec: Long, lifetimeMsec: Long, props: Map[String, String]) extends Product with Serializable
  26. final case class StageProfile(id: String, profileName: String, profileVersion: String, overlays: Set[OverlayRef]) extends UpdateAction with Product with Serializable
  27. sealed trait UpdateAction extends AnyRef
  28. case class UpdateActionApplied(id: String, error: Option[String] = None) extends Product with Serializable

    Message published to the event stream when an update action with the same id was applied.

  29. case class UpdateContainerInfo(info: ContainerInfo) extends Product with Serializable

Value Members

  1. object Artifact extends (String, Option[String], Option[String]) ⇒ Artifact with Serializable
  2. object BundleConfig extends (Artifact, Boolean, Option[Int]) ⇒ BundleConfig with Serializable
  3. object FeatureConfig extends (String, String, Option[String], List[BundleConfig], List[FeatureRef]) ⇒ FeatureConfig with Serializable
  4. object Mapper extends Mapper
  5. object MvnGav extends Serializable
  6. object OverlayState
  7. object ProfileGroup extends Serializable
  8. object ResolvedRuntimeConfig extends (RuntimeConfig) ⇒ ResolvedRuntimeConfig with Serializable
  9. object RolloutProfile extends Serializable
  10. object RuntimeConfig extends (String, String, List[BundleConfig], Int, Int, Map[String, String], Map[String, String], Map[String, String], List[FeatureRef], List[Artifact], List[FeatureConfig]) ⇒ RuntimeConfig with Serializable
  11. object UpdateAction

Ungrouped