Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,19 @@
import org.springframework.cloud.deployer.spi.task.TaskLauncher;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.core.Ordered;

/**
* Creates a {@link LocalAppDeployer} and {@link LocalTaskLauncher}
*
* @author Mark Fisher
* @author Ilayaperumal Gopinathan
*/
@Configuration
@EnableConfigurationProperties(LocalDeployerProperties.class)
@AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE)
@Profile(LocalDeployerProperties.LOCAL_PROFILE)
public class LocalDeployerAutoConfiguration {

@Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
@ConfigurationProperties(prefix = LocalDeployerProperties.PREFIX)
public class LocalDeployerProperties {

public static final String LOCAL_PROFILE = "local";

/**
* Top level prefix for local deployer configuration properties.
*/
Expand Down