If you need to enable child protection information sharing (CP-IS) in your environment, follow the steps below. For hosted customers, we will do this for you, Please raise a case and reference the title of this article.
📌 Note: This is only applicable to live instances only.
Enable CP-IS
These instructions are intended for platform engineers who are familiar with installing Mosaic and Weblogic. You may need to pass these on to your internal IT team.
From Mosaic version 21.1+, you can enable or disable CP-IS in the Mosaic app server in the file mosaicconfig.json. If you omit this setting, it's the same as disabling CP-IS. The path to this file is defined in the Mosaic managed server start up parameters, in the arguments field in Weblogic as follows:
-Dconfig.file=<WL_DOMAIN>/config/mosaicconfig.json
Create, or edit, the configuration file in a text editor, using the UTF-8 encoding, as follows . Save the file as <WL_DOMAIN>/mosaic/config/mosaicconfig.json.
{
"mosaic": {
"cpis": {
"interfaceEnabled": true
}
}
}
If you’re editing an existing configuration file, you’ll need to merge in the CP-IS entry. For example:
{
"mosaic": {
"cmis": {
"useCmisStore": true,
"cmisAtomApiUrl": "http://localhost:8080/alfresco/cmisatom/",
"cmisUsername": "admin",
"cmisPassword": "admin",
"cmisDocumentDirectory": "MOSAIC_DOCUMENTS"
},
"caseHistory": {
"shouldPerformEventProcessing": true
},
"cpis": {
"interfaceEnabled": true
}
}
}In a cluster, set the managed server start parameters for each server to point to separate configuration files. This ensures that the CP-IS interface is enabled only on the live environments.
