org.nhindirect.config.boot.ConfigServiceApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of config-service Show documentation
Show all versions of config-service Show documentation
NHIN Direct Java RI config service spring boot application
package org.nhindirect.config.boot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.r2dbc.repository.config.EnableR2dbcRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;
@ComponentScan({"org.nhindirect.config"})
@SpringBootApplication()
@EnableR2dbcRepositories("org.nhindirect.config.repository")
@EnableScheduling
public class ConfigServiceApplication
{
public static void main(String[] args)
{
final SpringApplication app = new SpringApplication(ConfigServiceApplication.class);
app.setWebApplicationType(WebApplicationType.REACTIVE);
app.run(args);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy