Class RunnerConfiguration
java.lang.Object
edu.ucsb.cs156.happiercows.config.RunnerConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.ApplicationRunnerHook that can be used to set up any services needed for developmentorg.springframework.boot.ApplicationRunnerWhen using the wiremock profile, this method will call the code needed to set up the wiremock services
-
Constructor Details
-
RunnerConfiguration
public RunnerConfiguration()
-
-
Method Details
-
wiremockApplicationRunner
@Profile("wiremock") @Bean public org.springframework.boot.ApplicationRunner wiremockApplicationRunner()When using the wiremock profile, this method will call the code needed to set up the wiremock services -
developmentApplicationRunner
@Profile("development") @Bean public org.springframework.boot.ApplicationRunner developmentApplicationRunner()Hook that can be used to set up any services needed for development
-