Date
1 - 1 of 1
CloudFoundry not fouding cloud profile to connect using Spring Cloud
Flávio Henrique Schuindt da Silva <flavio.schuindt at gmail.com...>
Hi, guys.
i'm following this guide to connect a spring boot app deployed on cf using a mysqlservice bounded to the app (accessing it via spring data jpa etc): https://github.com/cf-platform-eng/spring-boot-cities/blob/master/cities-service/demo-script.adoc . Everything works fine until Spring Cloud. When the app start, I got it in the logs: org.springframework.cloud.CloudException: No unique service matching interface javax.sql.DataSource found. Expected 1, found 0 The app is bounded to the service but it seems that CF is not setting this "cloud" profile. What am I missing? Thanks in advance, guys! |
|