All Projects → aatarasoff → Spring Thrift Api Gateway

aatarasoff / Spring Thrift Api Gateway

Licence: mit
Gateway for Apache Thrift requests processing that is built on Spring Cloud stack

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Spring Thrift Api Gateway

Spring Cloud Gateway
A Gateway built on Spring Framework 5.x and Spring Boot 2.x providing routing and more.
Stars: ✭ 3,305 (+8597.37%)
Mutual labels:  api-gateway, spring-boot, spring, spring-cloud
Spring Boot Examples
🥗​ Spring/SpringBoot/SpringCloud 实践学习案例,从入门到精通,持续更新中,欢迎交流学习🍺 !
Stars: ✭ 110 (+189.47%)
Mutual labels:  spring-boot, spring, spring-cloud, gateway
Mini Platform
Mini-Platform致力于更简洁易用的轻量级微服务治理平台。
Stars: ✭ 45 (+18.42%)
Mutual labels:  spring-boot, spring, spring-cloud, gateway
Grpc Spring Boot Starter
Spring Boot starter module for gRPC framework.
Stars: ✭ 2,190 (+5663.16%)
Mutual labels:  spring-boot, spring, spring-cloud, spring-boot-starter
Spring Thrift Starter
Set of cool annotations that helps you building Thrift applications with Spring Boot
Stars: ✭ 151 (+297.37%)
Mutual labels:  thrift, spring-boot, spring, spring-cloud
Springcloudlearning
《史上最简单的Spring Cloud教程源码》
Stars: ✭ 16,218 (+42578.95%)
Mutual labels:  spring-boot, spring, spring-cloud, gateway
Grpc Spring Boot Starter
Spring Boot starter module for gRPC framework.
Stars: ✭ 1,829 (+4713.16%)
Mutual labels:  spring-boot, spring, spring-cloud, spring-boot-starter
Sample Zuul Filters
Samples of custom Zuul 1 filters for use in Spring Cloud Netflix
Stars: ✭ 201 (+428.95%)
Mutual labels:  api-gateway, spring-boot, spring, spring-cloud
Spring Boot Demo
spring boot demo 是一个Spring Boot、Spring Cloud的项目示例,根据市场主流的后端技术,共集成了30+个demo,未来将持续更新。该项目包含helloworld(快速入门)、web(ssh项目快速搭建)、aop(切面编程)、data-redis(redis缓存)、quartz(集群任务实现)、shiro(权限管理)、oauth2(四种认证模式)、shign(接口参数防篡改重放)、encoder(用户密码设计)、actuator(服务监控)、cloud-config(配置中心)、cloud-gateway(服务网关)等模块
Stars: ✭ 323 (+750%)
Mutual labels:  spring-boot, spring, spring-cloud, gateway
Spring Cloud Security
Security concerns for distributed applications implemented in Spring
Stars: ✭ 488 (+1184.21%)
Mutual labels:  spring-boot, spring, spring-cloud
Spring Cloud Commons
Common classes used in different Spring Cloud implementations
Stars: ✭ 493 (+1197.37%)
Mutual labels:  spring-boot, spring, spring-cloud
Devops Service
DevOps Service is the core service of Choerodon. It integrated several open source tools to automate the DevOps process of planning, coding, building, testing, and deployment, operation, monitoring.
Stars: ✭ 36 (-5.26%)
Mutual labels:  spring-boot, spring, spring-cloud
Spring Cloud Zookeeper
Spring Cloud Zookeeper
Stars: ✭ 481 (+1165.79%)
Mutual labels:  spring-boot, spring, spring-cloud
Spring Cloud Netflix
Integration with Netflix OSS components
Stars: ✭ 4,498 (+11736.84%)
Mutual labels:  spring-boot, spring, spring-cloud
Spring Cloud Examples
Examples of microservice instrastructures
Stars: ✭ 11 (-71.05%)
Mutual labels:  spring-boot, spring, spring-cloud
Jeecg Boot
「企业级低代码平台」前后端分离架构SpringBoot 2.x,SpringCloud,Ant Design&Vue,Mybatis-plus,Shiro,JWT。强大的代码生成器让前后端代码一键生成,无需写任何代码! 引领新的开发模式OnlineCoding->代码生成->手工MERGE,帮助Java项目解决70%重复工作,让开发更关注业务,既能快速提高效率,帮助公司节省成本,同时又不失灵活性。
Stars: ✭ 26,432 (+69457.89%)
Mutual labels:  spring-boot, spring, spring-cloud
Spring Cloud Release
Spring Cloud Release Train - dependency management across a wide range of Spring Cloud projects.
Stars: ✭ 543 (+1328.95%)
Mutual labels:  spring-boot, spring, spring-cloud
Spring Cloud Contract
Support for Consumer Driven Contracts in Spring
Stars: ✭ 569 (+1397.37%)
Mutual labels:  spring-boot, spring, spring-cloud
Shop
spring cloud最佳实践项目实例,使用了spring cloud全家桶,TCC事务管理,EDA事务最终一致性等技术的下单示例
Stars: ✭ 418 (+1000%)
Mutual labels:  api-gateway, spring-boot, spring-cloud
Spring Cloud Aws
Integration for Amazon Web Services APIs with Spring
Stars: ✭ 541 (+1323.68%)
Mutual labels:  spring-boot, spring, spring-cloud

Thrift API Gateway for Spring

Join the chat at https://gitter.im/aatarasoff/spring-thrift-api-gateway Build Status

What it is about

Gateway for Apache Thrift requests processing that is built on Spring Cloud stack. Project depends on core functionality that is described in https://github.com/aatarasoff/thrift-api-gateway-core

How to connect the project

Its very simple:

repositories {
    jcenter()
}
compile 'info.developerblog.spring.thrift:spring-thrift-api-gateway:1.5.0'

How to use this

Add annotations @EnableThriftClient and @EnableZuulProxy to your spring boot main application class

@SpringBootApplication
@EnableZuulProxy
@EnableThriftGateway
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}

Next you need to create AuthTokenExchanger implementation and register it as a bean

@Bean
    AuthTokenExchanger authTokenExchanger() {
        return new AuthTokenExchanger<Token, User>() {
            @Override
            public Token createEmptyAuthToken() {
                return new Token();
            }

            @Override
            public User process(Token authToken) throws TException {
                // you token exchange logic
            }
        };
    }

Last, you need configure Zuul with static routes or with dynamic cloud

Enjoy!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].