Changing the Content Engine Event Stream URI

If you are using the SSE Proxy to front an Escenic Content Engine change log, then you will need to reconfigure the change log event stream URI offered to clients. The default event stream URI is:

http://host-ip-address/webservice/escenic/changelog/sse

where host-ip-address is the Content Engine's own domain name or IP address. If you have set up an SSE Proxy, then in order for the proxy to be used, you need to replace this URL domain name or IP address of the proxy.

To replace it you need to add a configuration to the Content Engine's webservice webapp configuration layer. For general information about working with Content Engine configuration layers, see the Content Engine documentation. The specific procedure for this task is:

  1. Log in to your Content Engine host as the escenic user.

  2. Create a file called /etc/escenic/engine/webapp/webservice/com/escenic/webservice/resources/ChangelogFeed.properties.

  3. Open the file for editing and add the following line:

    sseEndpoint=http://proxy-ip-address:proxy-port/

    where:

    • proxy-ip-address is the domain name or IP address of the SSE Proxy. If you have set up multiple proxies and a load balancer, then proxy-ip-address must be the domain name or IP address of the load balancer.

    • proxy-port is the port number on which the SSE Proxy has been configured to list for incoming application requests. This port number is configured with the server/applicationConnectors/port setting in sse-proxy.yaml, and is set to 9080 by default. See Configure the SSE Proxy for details.

    The sseEndpoint URL should only contain the SSE Proxy's domain name/IP address followed by a slash (/), as shown above. It should not include the path to the SSE endpoint.