Jumpgate is Element43's HTTP -> gRPC gateway
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
element43/services
.drone.yml
.gitignore
Dockerfile
LICENSE
README.md
generateProto.sh
main.go

README.md

jumpgate

Build Status Go Report Card Docker Image

This service for Element43 is based on grpc-gateway and translates requests between HTTP and gRPC.

Issues can be filed here. Pull requests can be made in this repo.

Installation

Either use the prebuilt Docker images and pass the appropriate env vars (see below), or:

  • Install Go, clone this repo into your gopath
  • Run go get ./... to fetch the service's dependencies
  • Run bash generateProto.sh to generate the necessary gRPC-related code
  • Run go build to build the service
  • Run ./jumpgate to start the service

Deployment Info

Builds and releases are handled by Drone.

Environment Variable Default Description
LOG_LEVEL info The service's log level
LISTEN_HOST :8000 The host/port jumpgate will listen on
ESI_MARKETS_HOST esi-markets.element43.svc.cluster.local:43000 Location of the ESI markets service
MARKET_STATS_HOST market-stats.element43.svc.cluster.local:43000 Location of the market statistics service
STATIC_DATA_HOST static-data.element43.svc.cluster.local:43000 Location of the static data service
TOP_STATIONS_HOST top-stations.element43.svc.cluster.local:43000 Location of the top stations service