Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
fs
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

About

Repository connector delivers template from external repositories like CMS or file system

Resources

License

Code of conduct

Packages

No packages published