cloudfoundry-service-broker | Sample project for Spring Cloud | Microservice library
kandi X-RAY | cloudfoundry-service-broker Summary
kandi X-RAY | cloudfoundry-service-broker Summary
This sample project uses the Spring Cloud - Cloud Foundry Service Broker to implement a MongoDB service. The MongoDB service also uses spring-boot-data-mongodb to persist service instances and bindings.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates a service instance binding
- Creates a user
- Gets connection string
- Gets the server addresses
- The catalog bean
- Get plan metadata
- This method returns the list of daily charges
- Get service definition metadata
- Deletes a ServiceInstanceBinding
- Returns a service instance binding
- Handle exception
- Removes a user from the database
- Creates a service instance
- Delete database
- Creates a database
- Adds roles to admin database
- Deletes a service instance
- Updates the service instance with the specified ID
- Create a Mongo client
- Entry point for the application
- Gets the last operation status
cloudfoundry-service-broker Key Features
cloudfoundry-service-broker Examples and Code Snippets
Community Discussions
Trending Discussions on cloudfoundry-service-broker
QUESTION
I have developed a Spring boot application connecting to Postgresql instance running on my local.
Now i deployed the application to Cloud foundry local bosh lite installation. I created one user provided service for postgresql and bound it to my application.
The app is working fine till now. Then i wanted to make this application as a service broker. So i again used spring boot cloud foundry service broker. And implemented my code same as the sample mongodb spring boot service broker. https://github.com/spring-cloud-samples/cloudfoundry-service-broker
But now when i am trying to start the application. It is failing with following error.
...ANSWER
Answered 2017-Jun-21 at 11:11I have deleted the application and then deployed again. It started working.
I know this does not tell the root cause . But may be a spring boot /cloud foundry framework developer can tell the root cause.
There was one point i would like to highlight.
The application is developed as a spring boot cloud foundry service broker Initally when i had deployed the application, it asked an username/password for me . I did not know about this earlier. Might have given wrong usernames and password and then pressed cancel. After that the application was throwing the above error.
But it has to be noted that a spring boot cloud foundry service broker application already has spring boot authentication built in where password is already generated with username being "user".
Check more details here https://github.com/spring-cloud/spring-cloud-cloudfoundry-service-broker#security
I don't know if this was the reason. But a delete and redeploy worked with me.
Best Regards, Saurav
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cloudfoundry-service-broker
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page