The BasePayload containing helper methods to create com.typesafe.conductr.HttpPayload objects for all given ControlClient endpoints.
The BasePayload containing helper methods to create com.typesafe.conductr.HttpPayload objects for all given ControlClient endpoints.
The BaseResponseHandler provides common methods to handle an HTTP responses from the ConductR control server.
The BaseResponseHandler provides common methods to handle an HTTP responses from the ConductR control server.
The current ConductR instance is downed for the given ConductR cluster.
The current ConductR instance is downed for the given ConductR cluster. This method can be only used inside ConductR.
The uri representing the ConductR cluster member.
implicit connection context
true if the request has been succeeded. false if the request has been failed.
Retrieve bundle file and bundle configuration file given a particular bundle id.
Retrieve bundle file and bundle configuration file given a particular bundle id.
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
A byte array subscriber to which the bundle data will be streamed into.
A byte array subscriber to which the config data will be streamed into.
implicit connection context
The result as a Future[BundleGetResult]. BundleGetResult is a sealed trait and can be either:
Obtains a bundle descriptor given a particular bundle id.
Obtains a bundle descriptor given a particular bundle id.
Bundle descriptor is derived from bundle.conf
and merging it with bundle.conf
from bundle configuration if supplied.
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
implicit connection context
The result as a Future[BundleGetDescriptorResult]
. BundleGetDescriptorResult
is a sealed trait and can
be either:
Obtains a bundle descriptor given a particular bundle id.
Obtains a bundle descriptor given a particular bundle id.
Bundle descriptor is derived from bundle.conf
and merging it with bundle.conf
from bundle configuration if supplied.
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
implicit connection context
The result as a Future[BundleGetDescriptorResult]
. BundleGetDescriptorResult
is a sealed trait and can
be either:
Retrieve the events of a given bundle.
Retrieve the events of a given bundle. Events with the latest timestamp are going to be returned in a 'tail' like fashion.
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
The number of events to return. Defaults to 10.
implicit connection context
The result as a Future[BundleEventsResult]. BundleEventsResult is a sealed trait and can be either:
Retrieve the log messages of a given bundle.
Retrieve the log messages of a given bundle. Log messages with the latest timestamp are going to be returned in a 'tail' like fashion.
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
The number of events to return. Defaults to 10.
implicit connection context
The result as a Future[BundleLogsResult]. BundleEventsResult is a sealed trait and can be either:
Retrieve information of all bundles.
Retrieve information of all bundles.
implicit connection context
the bundles
Retrieve the current state of a given ConductR cluster member.
Retrieve the current state of a given ConductR cluster member.
The uri representing the ConductR cluster member.
implicit connection context
The result as a Future[MemberInfoResult]. MemberInfoResult is a sealed trait and can be either:
Retrieve the current state of ConductR cluster members.
Retrieve the current state of ConductR cluster members.
implicit connection context
the current ConductR cluster members.
The current ConductR instance joins the given ConductR cluster.
The current ConductR instance joins the given ConductR cluster. This method can be only used inside ConductR.
The uri representing the ConductR cluster member.
implicit connection context
true if the request has been succeeded. false if the request has been failed.
The current ConductR instance leaves the given ConductR cluster.
The current ConductR instance leaves the given ConductR cluster. This method can be only used inside ConductR.
The uri representing the ConductR cluster member.
implicit connection context
true if the request has been succeeded. false if the request has been failed.
Load a bundle with optional bundle conf override and optional configuration.
Load a bundle with optional bundle conf override and optional configuration.
bundle.conf contained within the bundle
file.
bundle.conf override contained within the config
file.
The file that is the bundle. The filename is important with its hex digest string and is required to be consistent with the SHA-256 hash of the bundle’s contents. Any inconsistency between the hashes will result in the load being rejected.
Similar in form to the bundle, only that is the file that describes the configuration. Again any inconsistency between the hex digest string in the filename, and the SHA-256 digest of the actual contents will result in the load being rejected.
implicit connection context
The result as a Future[BundleRequestResult]. BundleRequestResult is a sealed trait and can be either:
Load a bundle with optional configuration and returns a future.
Load a bundle with optional configuration and returns a future. If completeWhenInstalled is set to true, the future will be completed when the bundle is installed. Otherwise, the future is completed when the HTTP call to be control protocol is completed.
The file that is the bundle. The filename is important with its hex digest string and is required to be consistent with the SHA-256 hash of the bundle’s contents. Any inconsistency between the hashes will result in the load being rejected.
Optional: Similar in form to the bundle, only that is the file that describes the configuration. Again any inconsistency between the hex digest string in the filename, and the SHA-256 digest of the actual contents will result in the load being rejected.
implicit connection context
The result as a Future[BundleRequestResult]. BundleRequestResult is a sealed trait and can be either:
Scale a loaded bundle to a number of instances.
Scale a loaded bundle to a number of instances.
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
The number of instances of the bundle to start. Defaults to 1.
Optional: Identifier to other bundle. If specified, the current bundle will be run on the same host where the specified bundle is currently running.
implicit connection context
The result as a Future[BundleRequestResult]. BundleRequestResult is a sealed trait and can be either:
Scale a loaded bundle to a number of instances and returns a future.
Scale a loaded bundle to a number of instances and returns a future.
If completeWhenScaleAchieved
is set to true, the future will be completed when the requested number of scale is
achieved. Otherwise, the future is completed when the HTTP call to be control protocol is completed.
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
The number of instances of the bundle to start. Defaults to 1.
Optional: Identifier to other bundle. If specified, the current bundle will be run on the same host where the specified bundle is currently running.
implicit connection context
The result as a Future[BundleRequestResult]. BundleRequestResult is a sealed trait and can be either:
Stop a running bundle.
Stop a running bundle. Requests for already stopped bundles will be send to the ConductR control server as well. In this case ConductR is ignoring the request.
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
The result as a Future[BundleRequestResult]. BundleRequestResult is a sealed trait and can be either:
Unload a bundle from all ConductR instances.
Unload a bundle from all ConductR instances.
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
implicit connection context
The result as a Future[BundleRequestResult]. BundleRequestResult is a sealed trait and can be either:
Load a bundle with optional configuration.
Load a bundle with optional configuration.
The file that is the bundle. The filename is important with its hex digest string and is required to be consistent with the SHA-256 hash of the bundle’s contents. Any inconsistency between the hashes will result in the load being rejected.
Optional: Similar in form to the bundle, only that is the file that describes the configuration. Again any inconsistency between the hex digest string in the filename, and the SHA-256 digest of the actual contents will result in the load being rejected.
implicit connection context
The result as a Future[BundleRequestResult]. BundleRequestResult is a sealed trait and can be either:
(Since version 1.4.11) To be replaced with loadBundle with files supplied via reactive stream publishers
Abstract ConductR control client for all projects based on Scala.