Hitachi

JP1 Version 13 JP1/Integrated Management 3 - Manager Command, Definition File and API Reference


[Figure]Definition file properties file (imdd_file_properties.json)

Organization of this page

Format

{
  "filelist":[
    {
      "filename": "filename",
      "filepath": "full-path-of-file",
      "updateaction": "manipulation-for-definition-import",
      "message": "message"
    }, ...
  ]
}

Files

imdd_file_properties.json

Storage directory

Place the definition file that you want to work with in the get or refresh functions of the definition file into the compressed zip file.

Description

This file describes file name, file path, and file import operations for the definition file that are to be manipulated by the acquisition or update functions of the definition file.

When the definitions are applied

None

Information that is specified

Item name

Description

filename

Indicates File.

filepath

Destination of file is written in absolute path.

If file path (absolute path including File name) exceeds 200 characters, it becomes error.

updateaction

For Windows, describe the action (command-line) to execute when the definition file is updated at the file destination directory that is the relative path from one layer upper from installed directory.

For Linux, describe the action (command-line) to execute when the definition file is updated at the relative path from /opt/.

For details, see the section ■Description of updateaction in User-created definition file list definition file (imdd_user_deffile_list.json).

message

Returns the error message ID and its message body. If it succeeds, omit this item.

Character code

UTF-8 (If file has a BOM, load it ignoring BOM)

Example definition

{
  "filelist":[
    {
      "filename": "file_def.conf",
      "filepath": "C:\\Program Files (x86)\\Hitachi\\JP1IMM\\conf\\imdd\\user",
      "updateaction": "JP1Cons\\bin\\jco_spmd_reload.exe"
    }
  ]
}