Deploy Genesys Web API Server on a Supported Web Application Server
Important
This procedure assumes that you have installed and configured a web application server.- Unzip
data.tar.gz
(data.zip
for Windows machines) to a directory we shall refer to as the$UNZIP_DIRECTORY
- Inside the
$UNZIP_DIRECTORY
, there will be two (2) folders:webapi
contains the exploded war file; anddist/
contains helper files
- The
WebAPIServer_850.apd
template file is located in the/templates
folder on the CD image. This is the template file that needs to be imported into Configuration Server. TheWebAPIServer_850.xml
template file is located in the/templates
folder on the CD image. This is the template file that needs to be imported into Genesys Administrator. - Create an application in Configuration Manager using the imported template. Note the name of the application (
APPLICATION_NAME
). - Copy
$UNZIP_DIRECTORY/dist/messaging/webapimsg.lms
to a directory accessible by the supported web application server process. Copy this location. Using either Genesys Administrator or Configuration Manager, navigate to thelog
section of the configuration options, create a newmessagefile
option if one does not exist, and set the value for this option to be the location you saved. Deploy
$UNZIP_DIRECTORY/webapi
as directed by instructions for your web application server. For example:- For Jetty, copy the directory to
$JETTY_INSTALL_PATH/webapps/
- For Tomcat, copy the directory to
$TOMCAT_INSTALL_PATH/webapps/
- For WebLogic, use the Administrative console and navigate to Admin Home -> Deployments -> Install
- For WebSphere, use the Administrative console install wizard
- For Jetty, copy the directory to
- In
$UNZIP_DIRECTORY/dist/conf
, you will find theserver-settings.yaml
file. Copy this file to a location that can be accessible by the supported web application server process. - Modify the
server-settings.yaml
file by adding the appropriatehost
andport
for your Configuration Server and theAPPLICATION_NAME
you noted in step 4. - Add this JVM parameter to tomcat:
-Dconfig.file=path_to/server-settings.yaml
(replacepath_to/server-settings.yaml
with the file path to yourserver-settings.yaml
file). - The API will be available at
{APP_HOST}:{APP_PORT}/{context}/api/v2/chats
.
This page was last edited on June 9, 2015, at 00:10.
Comments or questions about this documentation? Contact us for support!