pivotal-cf/cf-rabbitmq-multitenant-broker-release

Name: cf-rabbitmq-multitenant-broker-release

Owner: Pivotal Cloud Foundry

Description: A BOSH Release of a RabbitMQ multi-tenant broker for Cloud Foundry

Created: 2017-02-22 16:52:44.0

Updated: 2018-05-24 14:31:33.0

Pushed: 2018-05-24 14:31:32.0

Homepage:

Size: 305

Language: Clojure

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Cloud Foundry RabbitMQ Multi-tenant Broker

This repository contains the release for a multi-tenant RabbitMQ service broker for Cloud Foundry. It's deployable by BOSH in the usual way.

Dependencies

In order to test this release locally you will need:

Install

Clone the repository and run ./scripts/update-release to update submodules and install dependencies.

Deploying

To deploy the release into BOSH you will need a deployment manifest. You can generate a deployment manifest using the following command:

s boshgo=bosh # This is just to make pcf-rabbitmq tile team's life simpler
go interpolate \
vars-file=manifests/lite-vars-file.yml \
var=director-uuid=$(bosh status --uuid) \
nifests/cf-rabbitmq-broker-template.yml > manifests/cf-rabbitmq-broker.yml

Once you have a BOSH Lite up and running locally, run ./scripts/deploy-to-bosh-lite.

Testing

To run all the tests do bundle exec rake spec.

Use rspec to run a specific test: bundle exec rspec spec/integration/broker_registrar_spec.rb

Unit Tests

To run only unit tests locally, run: ./scripts/run-unit-tests. Unit tests do not require the release to be deployed.

Troubleshooting
An error occurred while installing capybara-webkit (macOS)
rror occurred while installing capybara-webkit (1.11.1), and Bundler cannot continue.
 sure that `gem install capybara-webkit -v '1.11.1'` succeeds before bundling.

Some of the tests in this repository use prof, which depends on capybara. The error occurs when Xcode is not installed, and capybara needs Xcode to get installed. More details here

To solve the problem:

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.