Class ProxyServiceMigration

java.lang.Object
org.apache.nifi.migration.ProxyServiceMigration

public final class ProxyServiceMigration extends Object
  • Field Details

  • Constructor Details

    • ProxyServiceMigration

      private ProxyServiceMigration()
  • Method Details

    • migrateProxyProperties

      public static void migrateProxyProperties(org.apache.nifi.migration.PropertyConfiguration config, org.apache.nifi.components.PropertyDescriptor proxyServiceProperty, String proxyHostProperty, String proxyPortProperty, String proxyUsernameProperty, String proxyPasswordProperty)
      Migrates component level proxy properties to ProxyConfigurationService with HTTP proxy type.
      Parameters:
      config - the component's property config to be migrated
      proxyServiceProperty - the component's property descriptor referencing ProxyConfigurationService
      proxyHostProperty - the name of the component level Proxy Host property
      proxyPortProperty - the name of the component level Proxy Port property
      proxyUsernameProperty - the name of the component level Proxy Username property
      proxyPasswordProperty - the name of the component level Proxy Password property
    • migrateProxyProperties

      public static void migrateProxyProperties(org.apache.nifi.migration.PropertyConfiguration config, org.apache.nifi.components.PropertyDescriptor proxyServiceProperty, String proxyTypeProperty, String proxyHostProperty, String proxyPortProperty, String proxyUsernameProperty, String proxyPasswordProperty)
      Migrates component level proxy properties to ProxyConfigurationService with the specified proxy type.
      Parameters:
      config - the component's property config to be migrated
      proxyServiceProperty - the component's property descriptor referencing ProxyConfigurationService
      proxyTypeProperty - the name of the component level Proxy Type property
      proxyHostProperty - the name of the component level Proxy Host property
      proxyPortProperty - the name of the component level Proxy Port property
      proxyUsernameProperty - the name of the component level Proxy Username property
      proxyPasswordProperty - the name of the component level Proxy Password property
    • migrateProxyProperties

      private static void migrateProxyProperties(org.apache.nifi.migration.PropertyConfiguration config, org.apache.nifi.components.PropertyDescriptor proxyServiceProperty, Proxy.Type proxyType, String proxyHostProperty, String proxyPortProperty, String proxyUsernameProperty, String proxyPasswordProperty)