1

I'm trying to disable the initialization of tables in Spring-Cloud-Skipper. Is there a property much like the spring.cloud.dataflow.rdbms.initialize.enable=false in Spring-Cloud-Dataflow that I can set? If not, how do I disable the initialization of the tables?

2 Answers2

2

Spring Cloud Skipper uses Spring Boot's Hibernate JPA configurations to setup database initialization and Flyway properties to perform database migrations.

Hence, you can pass the following properties to disable database initialization during the Spring Cloud Skipper server startup:

 --spring.jpa.hibernate.ddl-auto=none --spring.flyway.enabled=false
Ilayaperumal Gopinathan
  • 4,099
  • 1
  • 13
  • 12
  • when i add above to application properties Getting error on skipper startup Caused by: org.h2.jdbc.JdbcSQLException: Table "SKIPPER_REPOSITORY" not found; SQL statement: – Ajith Kannan Nov 01 '19 at 18:30
0

if you are not using streams you can disable the stream feature which will stop the skipper server configuration from loading when spring data flow server is starting

add below configuration in your application.properties

spring.flyway.enabled=false

spring.cloud.dataflow.features.streams-enabled=false

Hope this helps :)

Rituraj Sharma
  • 111
  • 1
  • 5