Hadoop Security Guide
Also available as:
PDF
loading table of contents...

Adding a New Service to the Knox Gateway

Services and service additions in the Knox Gateway are defined as extensions to existing Knox Gateway functionality that enable you to extend the gateway’s capabilities. You use these services to convert information contained in the topology file to runtime descriptors.

The Knox Gateway supports a declarative way for you to “plug in” a new service into the gateway simply and easily by using the following two files:

  • service.xml- file that contains the routes (paths) that the service will provide and the rewrite rules to bind these paths.

  • rewrite.xml – file that contains the rewrite rules for the service.

[Note]Note

The service.xml file is required, whereas the rewrite.xml file is optional.