GithubHelp home page GithubHelp logo

bcshuai / cf-mysql-broker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudfoundry-attic/cf-mysql-broker

0.0 1.0 0.0 441 KB

License: Apache License 2.0

Ruby 25.37% CSS 74.19% HTML 0.44%

cf-mysql-broker's Introduction

CF MySQL Broker

CF MySQL Broker provides MySQL databases as a Cloud Foundry service. This broker demonstrates the v2 services API between cloud controllers and service brokers. This API is not to be confused with the cloud controller API; for more info see Service Broker API.

The broker does not include a MySQL server. Instead, it is meant to be deployed alongside a MySQL server, which it manages, as part of cf-mysql-release. Deploying this as a standalone application to cloud foundry (e.g. via cf push) is not supported. The MySQL management tasks that the broker performs are as follows:

  • Provisioning of database instances (create)
  • Creation of credentials (bind)
  • Removal of credentials (unbind)
  • Unprovisioning of database instances (delete)

Running Tests

The CF MySQL Broker integration specs will exercise the catalog fetch, create, bind, unbind, and delete functions against its locally installed database.

  1. Run a local install MySQL server.
  • Specs have only been tested with MySQL 5.6
  • Specs assume MySQL root user without a password
  • The anonymous user (User='' and Host='localhost') must be deleted (see [spec/spec_helper])
  • Specific innodb settings are required (see [spec/spec_helper])
    • innodb_stats_on_metadata = ON
    • innodb_stats_persistent = OFF
  1. Run the following commands
$ cd cf-mysql-broker
$ bundle
$ bundle exec rake db:setup
$ bundle exec rake spec

cf-mysql-broker's People

Contributors

robdimsdale avatar zrob avatar ljfranklin avatar socalnick avatar dsabeti avatar rainmaker avatar drich10 avatar modelseer avatar xchoi avatar goonzoid avatar mfine30 avatar menicosia avatar mgarciap avatar karlkfi avatar stickfigure avatar liuhewei avatar lvarvel avatar dsboulder avatar rkgwood avatar arkadijs avatar

Watchers

Shuai Bin Cheng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.