Skip to content

fiunchinho/ttc-infra-gateway

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BluePrint - Trending Topic Campaigns: Infrastructural Gateway

This project is using the Spring Cloud Gateway project along the Spring Cloud Kubernetes project to create dynamic routes to the services registered inside a Kubernetes namespace.

The main goal of this project is to provide a single entrypoint for your client applications to interact with a set of backend services.

This service also adds some domain specific filters to find out Services that are labelled to be Marketing Campaigns and expose a REST endpoint to get the list of available campaigns.

Run

In order to run this project locally, you need to clone the source code and then run inside the root directory

mvn -Dserver.port=808x spring-boot:run

Note: replace "x" for your desired port number

Endpoints

Campaigns List Example

[
    {
        "name": "activiti",
        "serviceId": "ttc-rb-english-campaign",
        "lang": "en"
    }
]

About

Activiti Cloud Gateway (Based on Spring Cloud Gateway)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 60.3%
  • Makefile 32.8%
  • Smarty 6.9%