Overview

更新时间:
复制 MD 格式

Integration operations are a key feature of the Mobi Platform. This topic describes their core functions to help you develop and use them efficiently.

What is an integration

An integration is a key feature of the Mobi Platform. Developers can create multiple integrations for a resource to connect seamlessly with various external systems. These integrations can include SQL data queries, SQL data updates, Alibaba Cloud Model Studio Large Language Model (LLM) interactions, and Alibaba Cloud Model Studio application interactions. This approach simplifies interactions between complex systems, improves development efficiency, and reduces errors and maintenance costs. An integration consists of an integration resource and an integration operation. The integration resource stores the configuration information for connecting to an external system. The integration operation passes parameters to call the external system. For example, for a MySQL integration, the integration resource requires the Host, Port, Database Name, Username, and Password. The integration operation then sends a request to the database to execute an SQL statement.

What is an integration resource

An integration resource is part of an integration. On the Resources page, you can select Integration to list all integration resources in the space. You can manage the integration resources on this page. The System-Built-in Integrations folder at the top of the list contains built-in integration resources. You cannot create or delete these resources.

To add an integration, click Create Integration. First, select the integration type. Then, click Next and enter the required configuration items. For five types of integration resources—MySQL, PostgreSQL, HTTP Integration, Alibaba Cloud OSS, and Custom LLM—you can test resource connectivity. To do this, click Connection Test on the configuration page for the integration resource.

Note

For MySQL and PostgreSQL integration resources, the connection test attempts to connect to the configured database to verify the connection. For HTTP Integration and Custom LLM integration resources, the connection test sends an ICMP echo request to the domain name of the specified URL to verify DNS parsing and server responsiveness. This test does not verify HTTP authentication. For Alibaba Cloud OSS integration resources, the connection test uses the configured AccessKey pair to authenticate the Region and Bucket Name to verify the connection.

What is an integration operation

An integration operation is part of an integration. In your application, you can select Code to manage integration operations. You can click an integration operation to view its details. Each integration operation must be linked to an integration resource. The relationship between integration resources and integration operations is one-to-many. You can create multiple integration operations for each integration resource.

You can configure required and optional parameters in an integration operation. Parameters are referenced using the {{}} format. For example, if you define a parameter named parameter in the optional parameters section, you can reference it in an SQL statement as {{parameter}}.

Features

  • Flexible configuration. Integration operations allow you to interact with various external systems and services, such as RESTful APIs, Alibaba Cloud Model Studio applications, Alibaba Cloud Model Studio LLMs, databases, third-party services, and custom backend systems.

  • Easy to use. The graphical interface allows users to easily create and configure integration operations without writing low-level code. This allows non-technical users to set up and manage integrations.

  • Real-time data. Integration operations provide real-time data access. This ensures that your application promptly reflects data changes in external systems.

  • Error handling. Integration operations include mechanisms for handling errors and exceptions. Developers can define backoff policies for failures, such as retries, log records, or user notifications.

  • Event-driven. You can attach success or failure handling events to integration operations. This lets you implement complex business logic and response chains.

Scenarios

  • Deep integration with Alibaba Cloud Model Studio. You can use Resource Management to easily integrate capabilities such as Alibaba Cloud Model Studio agent applications and models. These agent applications are suitable for various intelligent scenarios, such as smart customer service, data analytics, and speech recognition. You can configure the parameters and authentication information for the agent applications and integrate them into your application to provide intelligent features and services.

  • Database management. You can use Resource Management to easily configure and manage database connection information for databases such as MySQL and PostgreSQL. You can set connection parameters and authentication information. You can also monitor the database status and performance in real time to ensure the stability and security of data access.