Working with products and product templates
The following topic summarizes different actions you can take on a product or product template.
Export a product template from an installed product
About this task
You can export a product template from an installed product. This template can then be imported into PolicyCenter to create a visualized version of the product, which you can use to generate endpoints for the installed product.
Procedure
- Navigate to the Administration tab's Product Management screen.
- Click the Externally Managed tab.
- In the list of Installed Products, click the desired product.
- Click Extract APD Representation.
Results
PolicyCenter generates the template and stores it in your Downloads
directory.
Export a product template from a visualized product
About this task
During the endpoint generation process, you may need to make changes to the visualized version of the product. After doing this, Guidewire recommends that you export an updated version of the product template. This ensures that your product template file has all updates made to the visualized product itself.
Procedure
- Navigate to the Administration tab's Product Management screen.
- Click the APD Managed tab.
- In the list of products, click the desired product.
- Click Export Template.
Results
PolicyCenter generates the template and stores it in your Downloads
directory.
Disable a visualized product's endpoints
Procedure
- On the Product Management screen's APD Managed tab, select the product.
- Click Edit Product.
- In the Enabled for REST API field, select Disabled.
- Click Save.
Results
The change becomes effective immediately. You do not need to restart PolicyCenter.
If there is an installed version of the product with installed endpoints, the installed endpoints are used for incoming Cloud API calls for the product. If there is not an installed version of the product with installed endpoints, incoming Cloud API calls for the product will throw an error.
Remove a visualized product
About this task
You may want to remove a visualized product because it is no longer needed, or because you want to reimport an updated version of the product template.
Procedure
- Navigate to the Administration tab's Product Management screen.
- Click the APD Managed tab.
- In the list of products, click the existing visualized product.
- Click Remove Product.
Results
The product is removed from the list of visualized products.
Disable an installed product's endpoints
About this task
You can disable an installed product's endpoints, which prevents the product from being available through Cloud API.
Procedure
Removing an installed product's endpoints
You can remove an installed product's endpoints. This may be necessary when you need to regenerate the endpoints but the endpoint files have compilation errors that prevent PolicyCenter from starting.
To do this, search for and remove all files with the following in their names:
<productCode>_gen
<productCode>_ext
These files are place in the following directories in the
modules\configuration
directory:
config\integration\apis\ext\job\v1
config\integration\apis\ext\policy\v1
config\integration\apis\ext\policyperiod\v1
config\integration\mappings\ext\policyperiod\v1
config\integration\schemas\ext\policyperiod\v1
config\integration\updaters\ext\policyperiod\v1
Also, remove the following directory and its contents:
gsrc\gw\rest\ext\pc\policyperiod\<productCode>\v1