Skip to content

TykTechnologies/tyk-plugin-demo-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Tyk Plugin Demo Ruby

This plugin will allow users to write middleware for Tyk using Ruby.

##Build Requirements

##Usage

  1. Clone and build Tyk locally with the coprocess grpc build tag:

     go build -tags 'coprocess grpc'
    
  2. Clone this repo and cd into its location on your filesystem. This repo contains the Sample Server which you can run using the following command:

     ruby sample_server.rb
    
  3. In another terminal, run your tyk instance. A simple way to do this would be to navigate into the tyk repository from step 1 and run the following:

     ./tyk
    
  4. In a third terminal navigate back to your cloned version of this repo and run the following cURL request:

     curl -v http://localhost:8080/grpc-api-test/headers
    

This will then make a request to the server using the middleware defined in the grpc_app_sample.json file.

License

This project is released under the MPL v2.0. See full version of the license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages