test command
The test command tests the connection to the Content Platform Engine server or LDAP server as specified in the respective configuration task. The command name is not case sensitive.
test command syntax
The following syntax includes line breaks to format the command for reading. Enter the command and options on a single line, without any line breaks.
configmgr_cl test -task task_name -profile myprofile
test command parameters
- -profile myprofile
- The -profile
myprofile parameter specifies the profile to use. The
myprofile value can be one of the following items:
- The name of the profile, such as CSGQLTestProfile. The profile must be located in the <csgql_installation_path>/csgraphQLtool/configure/profiles directory, where <csgql_installation_path> is the location where the CCX-GQL software is installed.
Remember: If the path includes a directory name with spaces, enclose the entire path in quotation marks. - -task task_type
- The -task
task_type parameter is indicates which task to run. You can omit the
-task
task_type parameter if you want to run all of the tasks or if you specify the
-taskfile
task_file_name parameter. The task_type value is not case
sensitive. The following table lists the valid task names, the associated configuration XML file,
and a description of the Content Cortex GraphQL
settings affected by the task.
Table 1. task_type values Option Configuration file Description omitted downloadcejars.xml
importltpakey.xml
configureldap.xml
deployapplication.xml
If you omit the -task task_type parameter and the -taskfile task_file_name parameter, then the command tests the connection to the application server. downloadcejars downloadcejars.xml
Tests the connection to Content Platform Engine for the Update IBM Content Cortex Client Connector Files task.
configureldap configureldap.xml
Tests the connection to the directory server for authenticating Content Cortex GraphQL users.
deployapplication deployapplication.xml
Tests the connection to the Content Platform Engine for the Deploy Application task.
test command examples
The following examples include line breaks to format the command for reading. Enter the command and options on a single line, without any line breaks.
- Test the connection to Content Platform Engine for the downloadcejars task:
-
configmgr_cl test -task downloadcejars -profile CSGQLTestProfile