skip to main content
Corticon Server: Integration & Deployment Guide : Inside Corticon Server : Dynamic discovery of new or changed Decision Services
 

Try Corticon Now

Dynamic discovery of new or changed Decision Services

The location of the Deployment Descriptor file(s) is identified using the loadFromCdd() or loadFromCddDir() API methods, which may be included in a deployment wrapper class (Servlet, EJB, and similar) or directly invoked from a client. See Telling the Server Where to find Deployment Descriptor Files for more details. A Deployment Descriptor file, in turn, contains the location of each available Decision Service. As new Decision Services are added, the Corticon Server periodically checks to see if the Deployment Descriptor files have changed or if new ones have been added. If so, the Corticon Server updates the pool for the new or modified Decision Service(s). The frequency of this check is controlled by Server property com.corticon.ccserver.serviceIntervals. The default value is 30 seconds. Alternatively, an API call to the Corticon Server can directly load new Decision Services (or sets of Decision Services).
The dynamic update monitor starts automatically by default but can be shut off by setting the Server propertycom.corticon.ccserver.dynamicupdatemonitor.autoactivate to false in your brms.properties override file.