Registering Escenic Embed Request Handlers

Once you have created all the Escenic embed request handlers you require, then you can register them as follows:

  1. Copy the following properties files from the Live Center installation to the correct locations in your common and webapp configuration layers:

    $ cp /opt/escenic/engine/plugins/live-center/misc/siteconfig/com/escenic/livecenter/service/proxy/ece/ECERequestHandlerFactory.properties \
    > /etc/escenic/engine/common/com/escenic/livecenter/service/proxy/ece/
    $ cp /opt/escenic/engine/plugins/live-center/misc/siteconfig/webapp/com/escenic/livecenter/presentation/service/proxy/PresentationECERequestHandlerFactory.properties \
    > /etc/escenic/engine/webapp/live-center-presentation-webservice/com/escenic/livecenter/presentation/service/proxy/
  2. Open ECERequestHandlerFactory.properties file for editing and set the following property:

    requestHandlers

    Specify the relative paths of all the editorial Escenic embed request handlers you have created, separated by commas. For example:

    requestHandlers=./StoryRequestHandler,./ReviewRequestHandler,./ProfileRequestHandler
  3. Open PresentationECERequestHandlerFactory.properties file for editing and set the same property:

    requestHandlers

    Specify the relative paths of all the presentation Escenic embed request handlers you have created, separated by commas. For example:

    requestHandlers=./StoryPresentationRequestHandler,./ReviewPresentationRequestHandler,./ProfilePresentationRequestHandler