Halaman ini belum tersedia dalam bahasa lokal Anda. Kami berusaha keras untuk menambahkan lebih banyak versi bahasa. Terima kasih atas dukungan Anda.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Importing and Exporting Rules

Updated on 2023-07-11 GMT+08:00

Overview

ROMA Connect supports rule import and export. You can export rules to a file to the local host or import a local rule file to ROMA Connect to migrate rule information in batches.

Prerequisites

  • Before importing a rule, ensure that the integration application to which the rule belongs has been created. Otherwise, create an integration application first.
  • Before importing a rule, ensure that the product to which the rule belongs has been created. Otherwise, create the product in advance.
  • Before importing a rule, ensure that the device to which the rule belongs has been created. Otherwise, Registering a Device in advance.
  • Before importing a rule, check whether a duplicate rule name exists in the instance to which the rule is to be imported. If there are duplicate rule names, the rule will fail to be imported.
  • Ensure that the quota of rules meets the requirements before importing the rules.
  • The files to be imported must be in CSV format and have been encoded using UTF-8 BOM.
  • When you use an exported file to import rules:
    • Create an import file and add the information about the new rules to the file.
      NOTE:

      Do not change the name and sequence of table headers in the template. For details about the table header names, see Description of Rule Import Files.

    • Open the import file and check whether any field value starting with Base64: exists. If there is no field value starting with Base64:, the file is exported from the instance of an earlier version.

      In this case, rename the file by adding -none-base64-prefix to the end of the file name. For example, if the original file name is import.csv, change it to import-none-base64-prefix.csv.

  • If you use Excel to edit the file to be imported, perform the following operations to save the file:
    1. Save the file as a CSV file by selecting Comma Delimited files (*.csv).
    2. Use a text editor to open the CSV file saved in 1. Save the file in UTF-8 with BOM.

Importing Rules

  1. Log in to the ROMA Connect console. On the Instances page, click View Console next to a specific instance.
  2. In the navigation pane on the left, choose LINK > Rule Engine. On the Rule Engine page, click Import.
  3. In the dialog box displayed, select a local rule file and import it.
  4. After the import is successful, you can view the imported rules in the rule list.

Exporting Rules

  1. Log in to the ROMA Connect console. On the Instances page, click View Console next to a specific instance.
  2. In the navigation pane on the left, choose LINK > Rule Engine.
  3. Export rules.
    • Exporting specified rules: Select the rules to be exported and click Export to export the rule file to the local PC.
    • Export all rules: Click Export All. The system will export all the rules to the local PC.

Description of Rule Import Files

Table 1 describes the requirements of a rule import file.
Table 1 Rule import file requirements

Column

Description

Remarks

Name

Rule name.

Mandatory. The complexity requirements are the same as those for rule creation on the console.

Remark

Rule description.

Optional.

Status

Status.

Mandatory. The options are 0 (enabled) and 1 (disabled).

DataParsingStatus

Data parsing status.

Mandatory. The options are 0 (enabled) and 1 (disabled).

SqlField

Query field.

Optional. You are advised to create query fields on the console.

SqlWhere

Query condition.

Optional. You are advised to create query conditions on the console.

AppName

Application name.

Mandatory. The application name should already exist.

Sources

Data source configuration.

Optional. You are advised to create data sources on the console.

Destinations

Data destination configuration.

Optional. You are advised to create data destinations on the console.

Kami menggunakan cookie untuk meningkatkan kualitas situs kami dan pengalaman Anda. Dengan melanjutkan penelusuran di situs kami berarti Anda menerima kebijakan cookie kami. Cari tahu selengkapnya

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback