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.zipfor Windows machines) to a directory we shall refer to as the$UNZIP_DIRECTORY - Inside the
$UNZIP_DIRECTORY, there will be two (2) folders:webapicontains the exploded war file; anddist/contains helper files
- The
WebAPIServer_850.apdtemplate file is located in the/templatesfolder on the CD image. This is the template file that needs to be imported into Configuration Server. TheWebAPIServer_850.xmltemplate file is located in the/templatesfolder 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.lmsto a directory accessible by the supported web application server process. Copy this location. Using either Genesys Administrator or Configuration Manager, navigate to thelogsection of the configuration options, create a newmessagefileoption if one does not exist, and set the value for this option to be the location you saved. Deploy
$UNZIP_DIRECTORY/webapias 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.yamlfile. Copy this file to a location that can be accessible by the supported web application server process. - Modify the
server-settings.yamlfile by adding the appropriatehostandportfor your Configuration Server and theAPPLICATION_NAMEyou noted in step 4. - Add this JVM parameter to tomcat:
-Dconfig.file=path_to/server-settings.yaml(replacepath_to/server-settings.yamlwith the file path to yourserver-settings.yamlfile). - 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!
