Giter Club home page Giter Club logo

onsdigital.cf-rabbitmq-multitenant-broker-release's Introduction

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:

alias boshgo=bosh # This is just to make pcf-rabbitmq tile team's life simpler
boshgo interpolate \
  --vars-file=manifests/lite-vars-file.yml \
  --var=director-uuid=$(bosh status --uuid) \
  manifests/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)

An error occurred while installing capybara-webkit (1.11.1), and Bundler cannot continue.
Make 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:

  • Go to the App Store and install Xcode
  • run sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
  • run sudo xcodebuild -license

onsdigital.cf-rabbitmq-multitenant-broker-release's People

Contributors

dlresende avatar vlad-stoian avatar cf-london avatar semanticallynull avatar mkuratczyk avatar carlo-colombo avatar totherme avatar abhishekc20 avatar albertoleal avatar pcfrabbitmq-concourse-ci avatar sf-pivotal avatar blgm avatar st3v avatar bjalonmontanes avatar deniseyu avatar necrophonic avatar dumbbell 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.