Skip to content

Application Sync Cloud Bridge

The application sync type Cloud Bridge is one of the IDaaS Cloud Bridges. It is used to establish a connection channel between BambooCloud IDaaS and enterprise internal applications, achieving data synchronization between IDaaS and enterprise internal applications.

This chapter guides you through deploying and using the Application Sync Cloud Bridge Agent on the IDaaS platform, and provides update records for the Application Sync Cloud Bridge installation package so you can choose the appropriate version according to project requirements. The following takes CentOS Linux release 8.0.1905 as an example for deploying the Application Sync Cloud Bridge Agent.

Prerequisites

  • You have administrator permissions for the IDaaS enterprise center platform.

  • You have internal network server operation permissions.

  • The server has net-tools, curl, jdk (OpenJDK 17 or above), and rng-tools installed. Installation steps are as follows:

    net-tools Installation

    • Verify whether net-tools is installed.
      bash
      rpm -q net-tools
      bash
      yum -y install net-tools-2.0-0.22.20131004git.el7.x86_64.rpm
      bash
      rpm -q net-tools
      bash
      curl --version
      bash
      yum -y install jdk-17.0.13_linux-x64_bin.rpm
      bash
      java -version
      bash
      yum install rng-tools
      bash
      cat /etc/sysconfig/rngd
      bash
      echo "OPTIONS=\"-r /dev/urandom\"" > /etc/sysconfig/rngd
      bash
      service rngd start   启动rng服务
      service rngd status   查看rng服务状态
    bash
    sha256sum -c cloudAgent-appProvision-{版本号}.zip.sha256
    sha256sum -c cloudAgent-appProvision-ldapConnector-{版本号}.zip.sha256
    sha256sum -c cloudAgent-appProvision-fanruan-bi_report-Connector-{版本号}.zip.sha256
    bash
    unzip -od {文件解压后的存放地址} cloudAgent-appProvision-{版本号}.zip
yaml
   ###UTF-8格式YAML配置标识头,勿删除###
   server:
    # 云桥启动端口
     port: 9081

   agent:
      # This is the connection address of the agent
      # exp: wss://domain/api/v1/ws
      # 云桥服务地址,domain为在IDaaS的租户域名xx.bccastle.com
      # 示例:wss://domain/api/v1/ws
      serverAddress:
      # This is the client ID of the agent
      # exp: 7jve68NwihfnjsD8SJToWxTU5Wg8hkl1
      # 云桥ClientID,在IDaaS创建的云桥的ClientID
      # 示例:7jve68NwihfnjsD8SJToWxTU5Wg8hkl1
      agentId:
      # This is the client secret of the agent
      # exp: LdfwryojYHLMaeNGVdr9fSh1iwyDCL0QuBx2wewrjxT5UOhUQVpAqwerfgj8pLNV1
      # 云桥ClientSecret,在IDaaS创建的云桥的ClientSecret
      # 示例:LdfwryojYHLMaeNGVdr9fSh1iwyDCL0QuBx2wewrjxT5UOhUQVpAqwerfgj8pLNV1
      agentSecret:

   # This is the Agent log level control configuration
   logging:
     level:
       com.bamboocloud.bcidaas.cloudbridge: INFO
     file:
       # The value of the attribute must have a unit, which can be KB or MB
       # 单个日志文件大小。默认值10MB,最大值10MB
       # default: 10MB
       # max-size: 10MB
       # The maximum number of days that log files are to be archived
       # 日志最长保留时间。默认值7天,最大值7天
       # default: 7 DAYS
       # max-history: 7
bash
unzip -od {文件解压后的存放地址} cloudAgent-appProvision-{连接器类型}-{版本号}.zip
bash
cp {连接器名称}.jar {云桥connector目录地址}
bash
cp {连接器名称}.yml {云桥config目录地址}
bash
   ./cloudBridge.sh start
bash
   ./agent.sh install
bash
    ./agent.sh uninstall
    ```

BambooCloud IDaaS Open Platform