# Overview

The interface management function is used to define the underlying RPC interface information. The defined interface information can be referenced and used in the service orchestration interface. Unifiedly add underlying RPC interface information through interface management, avoiding repeated addition when the service orchestration interface uses RPC interfaces. The interface management functions are introduced below.

# Interface management list

Menu location: RPC Management > Interface Management. Click the menu to enter the interface management list page, as shown in the figure.

manager_rpc_service_method_query

# Add interface management

Click the Add button to pop up the new window, as shown in the figure.

manager_rpc_service_method_add_1

manager_rpc_service_method_add_2

Service information: the service to which the interface belongs, required;

When the service type selected in Service Information is Dubbo:

Interface name: Dubbo interface name, the interface name is a custom name, such as: Obtain user information interface, required;

Method name: Dubbo method name, such as: getUserInfo, required;

Parameter type: Enter the parameter type list of the method. Multiple parameters are separated by commas. For example: getUserInfo(int age, String name, Depart depart) then enter int,java.lang.String,com.abc.pojo.Depart;

Remarks: Remarks information of the interface.

manager_rpc_service_method_add_3

When the Service Information selected Service Service Type is gRPC:

Interface name: gRPC interface name, the interface name is a custom name, such as: Obtain user information interface, required;

Method name: gRPC method name, such as: getUserInfo, required;

Remarks: Remarks information of the interface.

# Edit interface management

Click the Edit button to pop up the editing window, as shown in the figure.

manager_rpc_service_method_edit_1

manager_rpc_service_method_edit_2

# Delete interface management

Click the Delete button to pop up the deletion confirmation window, as shown in the figure.

manager_rpc_service_method_delete_1

manager_rpc_service_method_delete_2

# Interface management reference

Dubbo interface management reference in the service orchestration interface, as shown in the figure.

manager_rpc_service_method_reference_dubbo

The gRPC interface management reference in the service orchestration interface is as shown in the figure.

manager_rpc_service_method_reference_grpc