qmatic / api-gateway

The Orchestra REST API gateway
MIT License
1 stars 0 forks source link

DEPRECATED

api-gateway

Description

The API Gateway is an open source middle-ware enabling end users, apps and webpages to connect to Orchestra in a secure and controlled way, limiting the load on Orchestra, even for large number of users.

It can also be seen as the front door for all requests from devices and web sites to the Orchestra central server. Removing the need to expose the Central Orchestra server to Internet.

Features

Request Caching

Decreases the load on Orchestra Central.

API Authorisation Token

Provides identifictaion, separation of applications and security.

Geo Cache

Locates closest services and branches from any position.

Building

The API Gateway project is built as a Spring Boot Application (https://spring.io/guides/gs/spring-boot), using Netflix zuul edge service framework (https://github.com/Netflix/zuul).

Using

The API Gateway can be either be installed from the the ./build/distributions/qp-api-gateway.zip or started by running gradlew bootRun

Example

The new API MobileTicket, which is optimized for the mobile ticket scenario as listed below:

Curl examples