Regenerating LOB-specific endpoints
Regenerate LOB-specific endpoints after you resolve compilation errors in the files generated for the LOB-specific endpoints.
PolicyCenter will not automatically regenerate endpoints for the installed product if the only change you have made is to the codegen config file. Also, LOB-specific endpoints that are no longer needed after an update are not removed until you remove the previously generated files.
Regenerate endpoints by first removing the template
You can trigger endpoint regeneration by removing and re-importing the product template, and then generating the endpoints. You can only use this method when PolicyCenter is running.
Before you begin
Procedure
Regenerating endpoints by first removing the generated files
You can trigger endpoint regeneration by removing the generated LOB-specific endpoint files, updating the template, and then generating the endpoints. This method does not require PolicyCenter to be running.
If you generate LOB-specific endpoints with compile errors, and then you stop PolicyCenter, PolicyCenter will not restart until the compile errors are fixed or removed. At this point, the easiest option is usually to remove the generated files.
- Search for and remove all files with the following in their names:
<productCode>_gen<productCode>_ext
These files exist in the following directories under themodules\configurationdirectory:config\integration\apis\ext\job\v1config\integration\apis\ext\policy\v1config\integration\apis\ext\policyperiod\v1config\integration\mappings\ext\policyperiod\v1config\integration\schemas\ext\policyperiod\v1config\integration\updaters\ext\policyperiod\v1
- Remove the following directory and its contents:
gsrc\gw\rest\ext\pc\policyperiod\<productCode>\v1
- Restart PolicyCenter.
- Verify that the PolicyCenter Product Design Mode is set to Developer. To view or set the product design mode, go to .
- On the Product Management screen, select the product.
- Select .
- On the Load Product screen, select Browse and select the template file. Then, select Update.
- On the Product Management screen, select Generate Product Code.
- In the Generate Options section of the Review Product Elements screen, choose to generate System APIs - Code.
- Select Complete Generation.