Handle plugin in deployed pipeline with missing "useConnection" field

Description

In certain upgrade scenarios, pipelines may be exist that have no “useConnection” property set. They work fine, but the UI does not display the connection fields (e.g. project ID, service account information for GCP plugins). This is confusing to users.

Steps to reproduce:

  1. Create an instance of CDAP from before connection management

  2. Create and deploy a pipeline with a source or sink that will receive connection supprot

  3. Upgrade the instance and the pipelines

  4. View the pipeline and open the properties for the source/sink

Expected behavior

Use Connection is set to “No” and the properties required to configure the connection are shown

Actual behavior

Use Connection is set to “No” but the properties required to configure the connection are NOT shown

Release Notes

Fixed an issue that occurred in certain upgrade scenarios, where pipelines that didn’t have the Use Connection property set, but the plugin the connection properties (such as Project ID and Service account information) were not displayed in the plugin UI.

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Triaged

Yes

Components

Fix versions

Due date

Priority

Created February 16, 2023 at 11:37 PM
Updated February 22, 2023 at 1:46 PM
Resolved February 17, 2023 at 10:20 PM