Skip to content

Complete project examples for using and extending http4k-connect

License

Notifications You must be signed in to change notification settings

http4k/http4k-connect-examples

Repository files navigation

http4k Examples

.github/workflows/build.yaml

These sample projects are designed to demonstrate how easy it is to use the various features of http4k-connect in isolation. They are all entirely self-contained and can be run locally or using the included script to run them in a Docker container.

  • connect-pattern : Code accompanying the post describing the basic Connect pattern and how it is structured. It only relies on http4k as a basic implementation platform.
  • extending-connect-adapters : Shows how to extend the library adapters (in this case GitHub) with custom Action classes.
  • using-connect-adapters : How to use the library adapters (in this case AWS KMS) and Fake which ship with http4k-connect.
  • custom-adapter-and-fake : Implementing your own custom http4k-connect compliant adapter and a Fake HTTP system to connect to, along with examples of testing techniques. Also demonstrates the usage of the Kapt compile-time code-generators in a custom adapter.
  • developing-openai-plugins : Using the http4k-connect-openai-plugin SDK to create OpenAI plugins. This example includes the same example using all of the different OpenAI plugin styles, and installs them into the FakeOpenAI so you can interact with them in an authorised way through an OpenAPI interface.
  • fakes-in-official-aws-sdk: How to use fake AWS adapters with the official V2 AWS SDK in your tests.

About

Complete project examples for using and extending http4k-connect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •