uCosminexus Service Platform, Setup and Operation Guide

[Contents][Glossary][Index][Back][Next]

4.5 Referencing difference information of repositories

You can check the difference between the current repository information of the operating environment and the specified repository information using the cscrepdiff command. You can check the information of the business process or the service adapter, which is added, changed, and deleted.

Organization of this section
(1) Preconditions
(2) Display method
(3) Display contents of the difference

(1) Preconditions

The following conditions must be met to display the difference in the repository information:

Note#
Even if the setting related to the option of whether to use the database and Reliable Messaging is different in the current repository information and the repository information whose difference is to be displayed, difference in the repository information can be displayed for some cases. The following table describes the settings to be performed when the difference in the repository information can be displayed and when it cannot be displayed:

Table 4-3 TableSettings to be performed when the difference in the repository information can be displayed and when it cannot be displayed

Settings to be performed in the current repository information of the operating environment Settings to be performed in the repository information whose difference is to be displayed
Use database as well as Reliable Messaging Use database and do not use Reliable Messaging Do not use database as well as Reliable Messaging
Use database as well as Reliable Messaging Y N N
Use database and do not use Reliable Messaging Y Y Y
Do not use database as well as Reliable Messaging Y Y N

Legend:
Y: The difference can be displayed.
N: The difference cannot be displayed.

(2) Display method

Execute the cscrepdiff command and display the difference information of repositories. Execution format of the command is as follows:

For details on the cscrepdiff command, see "cscrepdiff (displaying the difference in the repository information)" in "Service Platform Reference Guide".

(3) Display contents of the difference

The display contents of the difference in the repository information differ in standard import and component import. The following table describes the display contents in each case:

Table 4-4 TableDisplay contents of the difference (at the time of standard import)

Repository in the operating environment Repository ZIP file
With HCSC components Without HCSC components
With change Without change
With HCSC components change no change# delete
Without HCSC components add - N

Legend:
N: The contents are not displayed.
-: The contents are not displayed since the corresponding condition does not occur.

Note#
The contents are displayed only when -allinfo option is specified. If -allinfo option is not specified, the contents are not displayed.

Table 4-5 TableDisplay contents of the difference (at the time of component import)

Repository in the operating environment Repository ZIP file
With HCSC components Without HCSC components#1
With change Without change
With HCSC components change no change#2 no change#2
Without HCSC components add - N

Legend:
N: The contents are not displayed.
-: The contents are not displayed since the corresponding condition does not occur.

Note#1
An error occurs, if the HCSC component of the service ID specified in -name option of the cscrepdiff command does not exist in the repository ZIP file.

Note#2
The contents are displayed only when -allinfo option is specified. If -allinfo option is not specified, the contents are not displayed.

An example of display contents of the difference is as follows:

Status of import source and import destination
Contents of the repository ZIP file to be imported
  • Business process 1 (bp1): With change
  • Business process 2 (bp2): Without change
  • Business process 4 (bp4): Other than import target
Contents of the repository of the operating environment to be imported
  • Business process 1 (bp1)
  • Business process 2 (bp2)
  • Business process 3 (bp3)