Skip to main content

Enable CP-IS

In this article, we cover how to enable CP-IS, troubleshoot post-upgrade issues, and clarify when activation is needed on servers.

Y
Written by Yusef Abulaynain
Updated over 5 months ago

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 new case online 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.

Did this answer your question?