https://github.com/cloudfoundry-community/cf-mysql-java-broker
A java version of mysql broker for cloudfoundry.
https://github.com/cloudfoundry-community/cf-mysql-java-broker
Last synced: 9 months ago
JSON representation
A java version of mysql broker for cloudfoundry.
- Host: GitHub
- URL: https://github.com/cloudfoundry-community/cf-mysql-java-broker
- Owner: cloudfoundry-community
- Created: 2013-12-13T09:37:12.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-19T20:17:31.000Z (over 12 years ago)
- Last Synced: 2024-04-14T22:47:38.752Z (about 2 years ago)
- Language: Groovy
- Size: 195 KB
- Stars: 16
- Watchers: 24
- Forks: 15
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Introduction
============
A java version of mysql broker for cloudfoundry. It is ported from cf-mysql-broker.
How To Build and Run
====================
To build the project
```
./gradlew build
```
The build command creates jar file with embedded tomcat container.
```
java -jar build/libs/cf-mysql-java-broker-0.1.0.jar
```
Configuration
=============
By default,
* the tomcat server is listening at port `9000`
* requires local mysql server root user password must be `root`
The configuration can be changed by modifying the file under `resources\application.yml`
Routes
======
|Routes|Method|Description|
|------|------|-----------|
|/v2/catalog|GET|Service and its plan details by this broker|
|/v2/service_instances/:id|PUT|create a dedicated database for this service|
|/v2/service_instances/:id|DELETE|delete previously created database for this service|
|/v2/service_instances/:id/service_bindings/:id|PUT|create user and grant privilege for the database associated with service.|
|/v2/service_instances/:id/service_bindings/:id|DELETE|delete the user created previously for this binding.|