@Transactional public class AppDeployerStreamService extends AbstractStreamService
streamDefinitionRepository
Constructor and Description |
---|
AppDeployerStreamService(StreamDefinitionRepository streamDefinitionRepository,
AppDeployerStreamDeployer appDeployerStreamDeployer,
AppDeploymentRequestCreator appDeploymentRequestCreator,
AppRegistryCommon appRegistry) |
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.deployer.spi.app.DeploymentState |
doCalculateStreamState(String name) |
void |
doDeployStream(StreamDefinition streamDefinition,
Map<String,String> deploymentProperties) |
StreamDeployment |
info(String streamName)
Get stream information including the deployment properties etc.
|
Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> |
state(List<StreamDefinition> streamDefinitions)
Retrieve the deployment state for list of stream definitions.
|
void |
undeployStream(String streamName)
Un-deploys the stream identified by the given stream name.
|
createStream, deleteAll, deleteStream, deployStream, findDefinitionByNameLike, findOne, findRelatedStreams
public AppDeployerStreamService(StreamDefinitionRepository streamDefinitionRepository, AppDeployerStreamDeployer appDeployerStreamDeployer, AppDeploymentRequestCreator appDeploymentRequestCreator, AppRegistryCommon appRegistry)
public org.springframework.cloud.deployer.spi.app.DeploymentState doCalculateStreamState(String name)
doCalculateStreamState
in class AbstractStreamService
public void doDeployStream(StreamDefinition streamDefinition, Map<String,String> deploymentProperties)
doDeployStream
in class AbstractStreamService
public void undeployStream(String streamName)
StreamService
streamName
- the name of the stream to un-deploypublic Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> state(List<StreamDefinition> streamDefinitions)
StreamService
streamDefinitions
- the list of Stream definitions to calculate the deployment states.public StreamDeployment info(String streamName)
StreamService
streamName
- the name of the streamCopyright © 2018 Pivotal Software, Inc.. All rights reserved.