Skip to content

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

License

Notifications You must be signed in to change notification settings

Knotx/knotx-repository-connector

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages