uCosminexus Service Platform, Basic Development Guide

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

7.1 Packaging and Defining Deployment

After you have defined a HCSC component, you package it or determine the cluster (or single HCSC server) in which to deploy it (deployment definition).

Before defining deployment, you must first import a repository. After deployment is defined, you export the repository to provide the system configuration definition containing deployment definition to the operating environment. The HCSC component is deployed from the operating environment to the cluster (or single HCSC server) in the execution environment according to the contents of the system configuration definition.

In the development environment, after the deployment is defined, you can reference the information about the HCSC component whose deployment was defined.

The following figure shows the flow from packaging to deployment definition.

Figure 7-1 Procedure from packaging to deployment definition

[Figure]

The contents defined in the development environment are deployed as HCSC components in the operating environment. The following figure shows the relationship between the definitions in the development environment and the HCSC components deployed in the operating environment:

Figure 7-2 Relationship between the definitions in the development environment and the HCSC components deployed in the operating environment

[Figure]

Note that the packaging and deployment definition of the HCSC components is performed in the development environment, and the HCSC components are deployed and started in the operating environment. In the development environment, you can also execute this series of processes in a batch. In the development environment, the tasks executed individually in the development environment or the operating environment are executed in a batch, and therefore the operation load can be reduced. However, you can perform the batch execution when developing a system or during the unit testing and the integration testing. For details, see 7.5 Batch execution of processes for deploying HCSC components on the HCSC Server and then starting and 7.6 Batch execution of processes for stopping HCSC components and deleting them from the HCSC server.

Note
  • When you import only partial information from a repository, you always need to package the HCSC components included in the imported repository information. For details about importing only partial information from a repository, see 3.2.3 Importing a Repository.
  • Do not implement operations such as packaging on HCSCTE, while the workspace is being built or cleaned.
  • When you change the operation name of the service, perform re-packaging of the business process that calls the concerned service.