Hitachi

uCosminexus Service Platform Reference Guide


6.15.4 Command-adapter runtime-environment common properties file

Organization of this subsection

(1) Format

The format for describing the file is the same as for the command-adapter runtime-environment properties file. For details about the format, see 6.15.3 Command-adapter runtime-environment properties file.

(2) Function

Specifies the configuration information that is common to all command adapters.

To create a command-adapter runtime-environment common properties file:

  1. Define the command-adapter runtime-environment common properties file based on the following template file:

    service-platform-installation-directory\CSC\custom-adapter\Command\config\templates\serviceid.properties
  2. Rename the edited command-adapter runtime-environment common properties file as adpcmdcom.properties, and then store the file in the following directory:

    service-platform-installation-directory\CSC\custom-adapter\Command\config\common

(3) Specifiable properties

The specifiable properties are the same as those for the command-adapter runtime-environment properties file. For details, see 6.15.3 Command-adapter runtime-environment properties file.

Important note

If you specify a relative path for any of the following properties, the base directory is the directory in which the command-adapter runtime-environment common properties file is stored (service-platform-installation-directory\CSC\custom-adapter\Command\config\common):

  • adpcmd.config.command.allow-file-path

  • adpcmd.config.process-environment.variable-file-path

Assume that C:\Example is specified for service-platform-installation-directory and a command-execution permission definition file named acc.txt is created in C:\Example\CSC\custom-adapter\Command\config. In this case, the operation is the same no matter which of the following two examples you use:

Example of an absolute path specification

adpcmd.config.command.allow-file-path=C:\\Example\\CSC\\custom-adapter\\Command\\config\\acc.txt

Example of a relative path specification

adpcmd.config.command.allow-file-path=acc.txt