Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 2.03 KB

README.md

File metadata and controls

42 lines (37 loc) · 2.03 KB

Build Status CodeFactor codecov Gradle Status

Repository Connector

Repository Connector is a Handler that enables fetching the content to process during HTTP Server request processing from the content repository (like headless or traditional CMS or simply a filesystem location).

How does it work

Repositories are not part of Knot.x itself. These are the stores of documents, e.g. CMS systems, HTTP servers, filesystem locations, databases or any other systems that can deliver content.

How to use

Simply configure a connector as the Server Routing Operation Handler, e.g.

routingOperations = [
  {
    operationId = my-operation
    handlers = [
      // other handlers
      {
        name = httpRepoConnectorHandler
        config = {
          // connector configuration
        }
      }
      // other handlers
    ]
  }
]

Available connectors

This repository contains two implementations of connectors that you may read about in details inside the modules: