This is a work-in-progress implementation of a service broker for services provisioned via the Compose API. It is intended to be deployed as a CloudFoundry application.
USERNAME - broker user name used for basic authentication
PASSWORD - username password
DB_PREFIX - a prefix that can be used to tag instances. Defaults to compose-brokerCLUSTER_NAME - a name of your enterprise cluster if you've got one and want to use it. Defaults to hosted compose
ACCESS_TOKEN - your API key for Compose.
Running tests locally
The integration tests communicate with MongoDB server(s). You will need to run a MongoDB server on localhost before running local (non-Compose) tests.
docker run -p 27017:27017 --name mongo -d mongo:3.2
./scripts/run-local-tests.sh