uCosminexus Service Platform, Setup and Operation Guide

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

4.6 Adding, updating, and deleting a repository using component as a unit

By using component import functionality, you can edit the HCSC components within the repository developed in multiple development environments using the cscrepctl command in the repository of the operating environment.

The HCSC components, which do not exist in the repository ZIP file to be imported, are to be deleted from the repository of the operating environment in standard import. By using the component import functionality, you can add and update only the specific HCSC components within the repository ZIP file without deleting them from the repository of the operating environment.

The following activities can be performed using the component import functionality:

Activity name Activity contents Option to be specified in the cscrepctl command
Adding HCSC components You can add a new HCSC component while keeping the HCSC components present in the repository of the operating environment as are. -import
Updating HCSC components The HCSC component present in the repository of the operating environment is replaced. -import, -overwrite
Deleting HCSC components You can delete the HCSC component present in the repository of the operating environment. -delete

The possibility of execution of the component import functionality differs as per the conditions mentioned in the following table:

Table 4-6 TablePossibility of execution of the component import functionality

Condition Adding HCSC components (Specify the -import option) Updating HCSC components (Specify the -import, -overwrite options) Deleting HCSC components (Specify the -delete option)
When the version of the repositories is same Y Y -
If there is 1 cluster in the repository Y Y Y
If the HCSC component whose either of the following information is matching, does not exist:
  • Service ID
  • Service name
  • Reception ID
Y - -
If the HCSC component whose context root is not matching, does not exist Y Y -
If the HCSC component whose entire following information is matching, exist:
  • Service ID
  • Service name
  • Component type
  • Service adapter type
- Y -
If the HCSC component to be imported in the operating environment releases a service in the development environment Y Y -
If the target HCSC component is not deployed - Y Y

Legend:
Y: Can be executed.
-: Cannot be executed.

Organization of this section
4.6.1 Adding and updating a repository using component as a unit
4.6.2 Deleting a repository using component as a unit