The custom endpoint architecture includes two platform-independent components:
A reverse proxy that is placed in front of the normal entry point. The shipment includes a Spring Boot application that utilizes Zuul, an open source routing framework, in order to provide a reverse proxy capability.
An application server to host the endpoint code. The shipment includes Tomcat, an open source Java application.
Zuul and Tomcat are provided as an example of one way to implement a custom endpoint. You can substitute your preferred reverse proxy or application server to achieve the same results.
The reverse proxy's configuration file routes all incoming requests. Calls to standard Rosette endpoints are routed to the Rosette server as usual. Calls to custom endpoints are routed to the application server, which makes calls to standard Rosette endpoints and applies custom logic.