public class SpecificationUpgradeUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
getConnectorProperties(ConnectionType connectionType,
Map<String,String> properties)
Method to retrieve the spec that is known to connector/source, this is needed because the connection type handlers
sometimes use a different config name for property, need to have this method to generate the connector properties
in order for the new connection to use.
|
static String |
getPath(ConnectionType connectionType,
Workspace workspace)
Get a connector path from the v1 workspace
|
public static Map<String,String> getConnectorProperties(ConnectionType connectionType, Map<String,String> properties)
connectionType - the connection type to checkproperties - properties to retrieve connector/source properties@Nullable public static String getPath(ConnectionType connectionType, Workspace workspace)
connectionType - connectionType of the workspaceworkspace - the v1 workspace informationCopyright © 2023 CDAP Licensed under the Apache License, Version 2.0.