Skip to content

TykTechnologies/tyk-plugin-demo-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java gRPC plugin

Plugin overview

This repository provides a sample gRPC plugin, written in Java, intended to work as part of Tyk. Gradle is used.

A simple request dispatcher is implemented, based on Tyk custom middleware hooks logic. A class implements the required hook methods.

The hook

This plugin implements a single hook, it performs a header injection, you may see the code here.

Running the gRPC server

gradle run

Building a plugin bundle

The manifest.json file describes the hooks implemented by this plugin, to use it you must generate a bundle and load it into your Tyk API settings, this guide will walk you through the process.

Releases

No releases published

Packages

No packages published

Languages