package config
- Alphabetic
- Public
- All
Type Members
- final case class ActivateProfile(id: String, profileName: String, profileVersion: String, overlays: Set[OverlayRef]) extends UpdateAction with Product with Serializable
- final case class AddOverlayConfig(id: String, overlay: OverlayConfig) extends UpdateAction with Product with Serializable
- final case class AddRuntimeConfig(id: String, runtimeConfig: RuntimeConfig) extends UpdateAction with Product with Serializable
-
case class
Artifact(url: String, fileName: Option[String], sha1Sum: Option[String]) extends Product with Serializable
A downloadable resource file with optional checksum.
-
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
trueif the bundle should be auto-started on container start.- startLevel
The start level of this bundle.
- See also
- 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
-
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.
-
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.
- case class FeatureRef(name: String, version: String, url: Option[String] = None) extends Product with Serializable
-
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.
-
trait
Mapper extends AnyRef
Mapper functions for bi-directional mapping of domain model case classes to java.util.Map's with JVM-only types.
- case class MvnGav(group: String, artifact: String, version: String, classifier: Option[String] = None, fileExt: String = "jar") extends Product with Serializable
-
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.
-
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.
-
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.
- sealed trait OverlayState extends AnyRef
- case class Profile(name: String, version: String, overlaySet: OverlaySet) extends Product with Serializable
-
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.
- case class ProfileInfo(timeStamp: Long, profiles: List[Profile]) extends Product with Serializable
- case class RemoteContainerState(containerInfo: ContainerInfo, outstandingUpdateActions: List[UpdateAction]) extends Product with Serializable
-
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.
- case class RolloutProfile(profileName: String, profileVersion: String, overlays: Set[OverlayRef], containerIds: List[String]) extends Product with Serializable
- 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
- class SerializationException extends Exception
- case class ServiceInfo(name: String, serviceType: String, timestampMsec: Long, lifetimeMsec: Long, props: Map[String, String]) extends Product with Serializable
- final case class StageProfile(id: String, profileName: String, profileVersion: String, overlays: Set[OverlayRef]) extends UpdateAction with Product with Serializable
- sealed trait UpdateAction extends AnyRef
-
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
idwas applied. - case class UpdateContainerInfo(info: ContainerInfo) extends Product with Serializable
Value Members
- object Artifact extends (String, Option[String], Option[String]) ⇒ Artifact with Serializable
- object BundleConfig extends (Artifact, Boolean, Option[Int]) ⇒ BundleConfig with Serializable
- object FeatureConfig extends (String, String, Option[String], List[BundleConfig], List[FeatureRef]) ⇒ FeatureConfig with Serializable
- object Mapper extends Mapper
- object MvnGav extends Serializable
- object OverlayState
- object ProfileGroup extends Serializable
- object ResolvedRuntimeConfig extends (RuntimeConfig) ⇒ ResolvedRuntimeConfig with Serializable
- object RolloutProfile extends Serializable
- 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
- object UpdateAction