Hitachi

uCosminexus Service Platform Setup and Operation Guide


4.7 Updating the repository

After the repository has been imported into the operating environment, if you change HCSC component definitions in the development environment, you must update the repository by using the following procedure:

  1. Export the repository.

    Export the repository that stores the edited definitions.

    Note that you export the repository in the development environment.

    For details, see 3.2.2 Exporting a Repository in the Service Platform Basic Development Guide.

  2. Execute the cscrepdiff command, and then check the differences in the repository information.

    This step is optional. To update the repository more easily, we recommend that you create an HCSC component-specification file by using the cscrepdiff command.

    For details, see cscrepdiff (Displaying the differences in the repository information) in the Service Platform Reference Guide.

  3. Execute the csccompostop command to stop the HCSC components.

    For details, see csccompostop (Stopping HCSC components) in the Service Platform Reference Guide.

  4. Execute the csccompoundeploy command to delete the HCSC components that have been deployed.

    For details, see csccompoundeploy (Deleting the deployed HCSC components) in the Service Platform Reference Guide.

  5. Execute the csccmctl command to delete the definition files from the operating environment.

    Skip this step if you will continue to use the definition files that have been set in the operating environment.

    For details, see 3.1.11 Deleting the HCSC component definition files from the operating environment.

  6. Execute the cscsvcctl command to delete the service information that has been changed in the operating environment.

    Skip this step if you will continue to use the service information that has been changed in the operating environment.

    For details, see 3.1.6 Changing the service information.

  7. Import the repository.

    Prepare the repository that was exported from the development environment, and then import the repository to the operating environment.

    For details about how to import the repository, see 4.3 Importing a repository.