Populator plugin deprecated

In PolicyCenter 8.0, the populator plugin interface (PopulatorPlugin) is deprecated. PolicyCenter no longer calls this plugin in the default configuration. If you implemented or modified the built-in implementation plugin, be aware that PolicyCenter does not call it unless you added your own code to call the plugin.

In PolicyCenter 7.0, the web service implementation classes for PolicyRenewalAPI, SubmissionAPI, and ImportPolicyAPI called the populator plugin. In version 8.0, those web services now directly include lines that duplicate the code in the plugin default implementation class ExamplePopulatorPlugin.

The ExamplePopulatorPlugin plugin implementation first parsed String data that contained XML using the Guidewire XML model (GX model) definition. Next, the plugin implementation called the populatePolicyPeriod method on the XML object, which is implemented as a Gosu enhancement method.

If you re-implemented the PopulatorPlugin plugin interface or modified the ExamplePopulatorPlugin code, you now need to modify the behavior of PolicyRenewalAPI and SubmissionAPI directly.

If you need similar behavior of the plugin for other code contexts, copy the code from the ExamplePopulatorPlugin.gs implementation. Optionally, copy the main populator code that is in the populatePolicyPeriod enhancement methods on the XML objects. There are two implementations of this enhancement method, corresponding to either the legacy 7.0 version of the GX Model or the newer 8.0 version. For example:

  • The number in the package of the web service implementation class gw.webservice.pc.pc700.SubmissionAPI indicates the 7.0 version of the web service.
  • The 7.0 version of the web service uses the 7.0 version of the GX Model, which is gw.webservice.pc.pc700.gxmodel.policyperiodmodel
  • The 7.0 version of the GX Model uses the enhancement method at the path gw.webservice.pc.pc700.gxmodel.PolicyPeriodModelEnhancement

Change the pc700 in the packages to pc800 if you want to use the 8.0 versions.

You might want to add additional logic to the import process, such as populate and validate line-specific data. You can make that change to the populatePolicyPeriod method in the PolicyPeriodModelEnhancement file.