rest-bridge-core

Thrift-Rest bridge for proxy thrift services

Лицензия

Лицензия

MIT
Группа

Группа

io.github.artemy-osipov.thrift
Идентификатор

Идентификатор

rest-bridge-core
Последняя версия

Последняя версия

0.4.0
Дата

Дата

Тип

Тип

pom.sha512
Описание

Описание

rest-bridge-core
Thrift-Rest bridge for proxy thrift services
Ссылка на сайт

Ссылка на сайт

https://github.com/artemy-osipov/thrift-rest-bridge
Система контроля версий

Система контроля версий

https://github.com/artemy-osipov/thrift-rest-bridge

Скачать rest-bridge-core

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.apache.thrift : libthrift jar 0.13.0

runtime (2)

Идентификатор библиотеки Тип Версия
org.reflections : reflections jar 0.9.12
io.github.artemy-osipov.thrift : jackson-datatype-thrift jar 0.4.2

Модули Проекта

Данный проект не имеет модулей.

Thrift-REST Bridge

Maven Central Codacy Badge

The bridge for accessing thrift services using simple JSON. It allows request thrift services via REST client like Postman / Insomnia / cURL

Usage

Add and configure starter for your project for adding thrift-rest api

Dependency

repositories {
  jcenter()
}

dependencies {
  // ...
  implementation 'org.example:thrift-api:0.2.+' // dependency with thrift services/entity
  implementation 'io.github.artemy.osipov.thrift:rest-bridge-micronaut:0.1.0' // for micronaut project
  implementation 'io.github.artemy.osipov.thrift:rest-bridge-spring-boot-starter:0.1.0' // for spring project
  // ...
}

Configuration properties

# package that will be scanned for thrift services
bridge.thrift.scanPackage: org.example.thrift

Rest API

  • List services: GET /services
  • Show service: GET /services/:serviceId
  • Proxy operation: POST /services/:serviceId/operations/:operationName
  • Get operation template: GET /services/:serviceId/operations/:operationName/template

Версии библиотеки

Версия
0.4.0