I am trying to set up SCDF 2.x (Spring Cloud Data Flow) server, to register Spring Boot applications (e.g. Tasks type) , to leverage out of box administration and other capa
finally I've made an advance with this problem, in my case was enough with removing the flyway autoconfiguration and loading a bean called FluentConfiguration. I've made a project with the dependencies of spring cloud dataflow and then an SpringBootApplication class with this configuration:
import org.flywaydb.core.api.configuration.FluentConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration;
import org.springframework.cloud.dataflow.server.EnableDataFlowServer;
import org.springframework.context.annotation.Import;
@SpringBootApplication(exclude = FlywayAutoConfiguration.class)
@EnableDataFlowServer
@Import(FluentConfiguration.class)
public class MyCompanySpringCloudDataflowApplication {
public static void main(String[] args) {
SpringApplication.run(MyCompanySpringCloudDataflowApplication .class, args);
}
}
I know is not a neat solution, but is what I need to advance.
Of course, the database schema isn't automatically created, you must create it before running the application.
Hope this helps you.