Closed pradp closed 8 years ago
Thanks for your interest @pradp
cf create-user-provided-service
to connect your app to the instance of Rabbit or Redis you have running on your machine. That should avoid having to do a manual cf set-env
.More info on cf cups
can be found at https://docs.cloudfoundry.org/devguide/services/user-provided.html
@cf-gitbot I tried to follow the issue in Pivotal Tracker but it seems we need some kind of privileges? I got a not allowed error. I was interested in follow the progress of adding some services by default to micropcf.
@davidwadden Thanks for your reply. I need clarification on user provided service for rabbitmq or redis. How do i create it to make it work automatically with spring boot auto configuration? I have posted in stack overflow too. The issue involves spring boot in specific but still wanted to check with you on this.
This is much needed for my usecase to use micropcf without any code change in my application as well as to keep redis/rabbitmq service outside the VM and use less memory.
I created user provided service for redis and the spring connector picked it up but there is issue with application connecting to the redis server running in local machine. I will open another issue as it is nothing to do with this one. Thanks for clarifying my doubts.
Note: Please label this entry as questions. I don't see an option to do it myself.