Jump to: navigation, search


The Integration view is also the Integration Hub (commonly referred to as iHub) interface, in which you create the necessary processes and configuration to integrate GAAP with third-party resources, connecting the GAAP callflow engine to a customer’s back-end web services and databases.

Before iHub, custom-defined web service wrappers were used to bridge the gap between GAAP and the user's system. These wrappers took considerable time and knowledge, and created separate code artifacts that needed to be supported and maintained throughout the lifetime of the project. iHub provides the interface for a user to easily create these wrappers, while looking after internal details itself.

This section provides an overall description of iHub and its integration capabilities, and the terminology used with it. To use iHub to integrate GAAP and its customers, refer to Integrating GAAP and Customer Environments.

Benefits of iHub

iHub provides the following benefits when integrating systems:

  • An easy-to-use interface for an Author to create web service wrappers for GAAP with minimal effort.
  • Frees the Author from operational concerns with the deployment and maintenance of integration components.
  • Frees the Author from essential cross-cutting concerns, such as logging, performance, security, and so on.
  • Enables integration with the rest of the GAAP product family.


iHub does have the following limitations:

  • HTTP(S) connection pools apply to the whole environment, and are not configurable on a per-Process basis. You can designate a pool to be used only by one Process, but that pool is not officially linked to the Process. That is, there is nothing other than your good intentions preventing the pool from being used by another Process.
  • There is no access to integration server log files from the iHub interface.
  • There are no built-in editors for REST, SOAP, or SQL queries.
  • There are no SQL connection pools.
  • There are no prewritten (public) processes or templates.
  • No specific reports are created for Integration Processes.
  • There is no debugging available for Integration Processes.
  • Users cannot import JAR files.
  • Integration Scripts cannot use SNMP for alerts.


In addition to the terminology used throughout GAAP, the following terms are used when discussing integration and iHub:


An Author is someone who uses iHub to integrate GAAP with the customer's back-end. It could be a member of the Genesys Professional Services team, or it could be a software developer in the customer’s enterprise. The Author must know how to write software code. The Author must also understand data contracts for GAAP products, and for the customer's own back-end and downstream databases, web services, and so on.


An Integration Process is essentially a script that is executed upon receiving an HTTP(s) request from the GAAP VUI and eventually returns an XML response.

Integration Script

What an Integration Script does is entirely up to the Author. It might send a request to a downstream web service to get a list of accounts; perform some business logic; find a customer record in a database; send an email; or all of the above. Authors can write the Scripts in Groovy or JavaScript. As with callflow Script Blocks, this piece of code will run within the constraints of a Java Security Manager to limit its influence on the rest of the process/server.

iHub provides an API of helper methods to expose useful functionality such as:

  • HTTP requests (including raw SOAP XML)
  • Logging
  • Formatting for dates and currency amounts
  • Escaping functions (XML/JS/URL)
  • Parsing JSON and XML
  • Getting/setting variables
  • Accessing request body
  • Selecting a response XML template
  • Caching arbitrary data

For a list of the helper methods, see Scripting Commands.

Response Template

When the Script has finished executing, the resulting variables are placed into an XML (or JSON) Response Template, and the resulting text is sent back to the VUI that originally called the Process. A Process can have only one Script, but multiple Response Templates. The Response Template looks after correctly escaping any values (a common error when coding manually), and can include logic (such as looping and conditional items), if required.

Process Endpoint

A Process can be triggered by an external force (for example, a VUI callflow Script block) by making a request to a Process Endpoint. If the iHub server is already known, the Process Endpoint will take the form of an HTTP or HTTPS URL, with server hostnames and port number specified in the URL. For example:


If the iHub server is not known (for example, when storing details of a Process Endpoint within a callflow block), the Process Endpoint could instead take the form of:


In this case, the ihub:// protocol notation is replaced at runtime by https:// protocol, as above, complete with server hostnames and port numbers.


The Library is a set of reusable components and scripts that are made available to all Processes in a Company. The main component of a Library is a shared Script for each language, created using the Groovy editor and/or JavaScript.


In iHub, the term Environment refers to the environment that you are integrating, that is, a single GAAP Company and its own iHub setup with its own pool of HTTP(S) connections and Environment settings. It represents Company-specific configuration information that is expected to be used with a given GAAP callflow engine installation. This would typically include HTTP connection pool settings (including security settings such as client-side certificates), and any other configuration settings generic to the Company.

You cannot export environment settings.

This page was last edited on April 9, 2020, at 09:14.
Comments or questions about this documentation? Contact us for support!