Resources

Connect Resources is a collection of schemas, documents, secrets, and tables that flow processors can depend on. For example, a restApi processor can use an OpenAPI specification to create REST endpoints.

You can read more about resources in the Resource Registry.

Manage Resources

You can manage resources in the Heartbeat Console. Select Resources from the left-hand navigation menu to view the resources currently deployed on the flow server. The page appears as shown in the following image:

The list of resources includes JSON schemas, lookup tables, OpenAPI specs, and secrets.

Select Create in the top-right corner to add a new resource. During creation, upload a file or enter the resource content directly in the code editor, as shown in the following image:

The form to create a new resource includes options to upload a file or write in a code editor.

Select an existing resource to view its contents. For example:

The selected resource displays its JSON contents with options to edit or delete it in the top-right corner.

When viewing an individual resource, use the options in the top-right corner to delete () or edit () the resource. After editing, select Update below the resource contents to save the change. Each edit creates a new revision.

Supported Data Types

The Resource Registry can hold more than just OpenAPI specs and WSDL documents. The following table highlights the different data types that are supported:

Type Description

Resources

Specifications for REST and SOAP endpoints, and validation schemas for JSON and XML.

Secrets

Sets of key/value pairs used to authenticate against other systems (e.g., databases, external REST APIs, etc.).

Dynamic Tables

Small-scale, user-defined data structures for storing common lookup values or cross-referenced IDs.

Secrets are persisted in a secure vault and, therefore, cannot be viewed or retrieved after they are deployed to the flow-server.