GRPC Invoke

The gRPC Invoke Activity is an implementation of a gRPC client. Use this Activity to make outbound gRPC calls.

Settings

Field Description
Host URL URL used to connect to the gRPC server. The name or IP address of the host on which your .proto file resides. Be sure to append the port number on which the service is running.
Secure Connection By default, it is set to False. If you set this field to True, you can create a secure endpoint by providing Server Key and CA or Server Certificate.

Server Key - A PEM encoded private key file.

CA or Server Certificate - A PEM encoded CA or self-signed server certificate file.

Proto File A file with .proto extension that contains the methods and services definition that Flogo Enterprise uses to create the flows. Each flow corresponds to one method in the .proto file. Currently, importing a .proto file into another .proto file is not supported.
Note:
  • The gRPC activity do not support options in the .proto file. If your .proto file contains any options, be sure to remove the options in the .proto file before using it.
  • You must not use the same gRPC .proto file for the gRPC activities in the same app. The package names for the gRPC activities must be unique.
Service Name Name of the service you want to invoke. The service is defined in the .proto file that you have selected.
Method Name of RPC method in the selected .proto file. Each method in the .proto file is a gRPC request which is represented by a separate flow.

Input

Field Description
Activity Input The Input tab lists the parameters for the method that you chose on the Settings tab so that you can either enter or map their values in the mapper.

Output

The Output tab displays a read-only schema of the Activity output (the response that is configured for the selected method).

Iterator

For details on using the iterator, see the "Using the Iterator in an Activity" section in the TIBCO Flogo® Enterprise User Guide.