Class MiddlewareRunner
java.lang.Object
com.bluebell.greenhouse.radicle.runners.AbstractRunner
com.bluebell.greenhouse.radicle.runners.MiddlewareRunner
- All Implemented Interfaces:
org.springframework.boot.CommandLineRunner, org.springframework.core.Ordered
@Component
@Profile("dev")
@ConditionalOnProperty(name="bluebell.init.regenerate-system",havingValue="true") @ConditionalOnProperty(name="bluebell.cmdlr.infra.data",havingValue="true",matchIfMissing=true)
public class MiddlewareRunner
extends AbstractRunner
implements org.springframework.boot.CommandLineRunner, org.springframework.core.Ordered
Generates mocked incoming ping responses from the middleware systems.
- Version:
- 2.0.3
- Author:
- Stephen Prizio
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()Returns the runner order.voidGenerates testing data forIncomingPings.Methods inherited from class AbstractRunner
logEnd, logStart
-
Constructor Details
-
MiddlewareRunner
public MiddlewareRunner()
-
-
Method Details
-
run
Generates testing data forIncomingPings.- Specified by:
runin interfaceorg.springframework.boot.CommandLineRunner- Parameters:
args- incoming main method arguments- Throws:
Exception- exceptions
-
getOrder
public int getOrder()Returns the runner order.- Specified by:
getOrderin interfaceorg.springframework.core.Ordered- Returns:
- priority
-