Code Monkey home page Code Monkey logo

bpipe-mock-appliance's Introduction

B-PIPE Proxy Image

A proxy docker image that can be used to test network connectivity to cloud based BPIPE appliances in the cloud.

This image will launch a NGINX proxy that will direct traffic to a live Bloomberg B-PIPE appliance, for example a Zero Footprint node.

Downstream applications will need to handle authentication like in a regular B-PIPE deployment.

Health Check:

To help deploy this application on ECS/K8 behind a load balancer, a health check endpoint endpoint is provided at /health on a configurable port (defaults to 80). It will return 200 OK upon request.

Note that this is a dummy and is used only to prevent the LB target group from shutting down the container.

To run locally:

  • make run : This will point you to a ZFP B-PIPE at port 8194, with healthcheck on port 80.
  • make run host=1223.bbg.com port=8194 health_check_port=8888 : This example sets all the parameters manually.

Build an docker image

sh buildDocker.sh

Run as standalone docker service

sh runDockerInstance.sh

Reference

https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/

bpipe-mock-appliance's People

Contributors

ndilsou avatar

Watchers

 avatar  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.