Updated on 2022-11-16 GMT+08:00

Usage Description

This section describes the process of low-code development. To use this function, contact technical support to obtain the tool package BCS-BPMN.zip and the license.

  1. Deploy the backend service.

    1. Log in to the CCE console.
    2. Create a CCE cluster. Buy an Ubuntu VM with 16-core CPU and 32 GB memory.
    3. Select a cluster node, bind an EIP to the node, set security group rules for the node, add an inbound rule for TCP port 9096, and enable the Kubernetes service port. Set the port number to a value ranging from 1 to 32767.
    4. Save the license file to the / directory on the VM, decompress the tool package BCS-BPMN.zip to the /root directory, and run the one-click deployment script /root/BCS-BPMN/.build_config/one_step_deploy.sh.

  2. Decompress the BCS-BPMN.zip tool package in Windows.
  3. Install the tool package.

    Start the VScode, click the expansion box on the left, click the three dots in the upper right, click Install from VSIX, and select BCS-BPMN\extension\BDB-Modeling-0.1.0.vsix.

  4. Configure the extension.

    Click Extension Settings to set the Remote Compiler URL (http://{Tenant VM EIP}:30301), UserName, and Password.

  5. Import the demo.

    Choose EXPLORER > BDB MODELING > Import Folder, and select BCS-BPMN\demo\projects\democc\modeller-workspace\proj_democc.

  6. Compile a BPMN diagram to generate a contract.

    You can draw a BPMN diagram that meets your service requirements by referring to the example. After that, click Compile, wait for a few seconds until a message is displayed in the lower right, indicating that the compilation is successful.

  7. Install and instantiate the contract.

    Log in to the management page by visiting http://{Tenant VM EIP}:30300. Click Package Management, and sign, install, and instantiate the contract in sequence.

  8. Set roles, groups, and users on the User Management page.

    Each role can be assigned fine-grained permissions to perform manual tasks. Each group can contain multiple roles. Each user can be added to multiple groups.

    Enhanced Hyperledger Fabric blockchains do not support fine-grained authorization.

  9. Monitor the services.

    On this page, you can graphically check the service progress and direction, and use the status flags to check the service status.

  10. Access services using APIs.

    BCS provides Java SDKs (now available) and RESTful APIs (coming soon) to easily call smart contracts and access the blockchain system.