Package org.apache.nifi.migration
Class ProxyServiceMigration
java.lang.Object
org.apache.nifi.migration.ProxyServiceMigration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidmigrateProxyProperties(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.static voidmigrateProxyProperties(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.private static voidmigrateProxyProperties(org.apache.nifi.migration.PropertyConfiguration config, org.apache.nifi.components.PropertyDescriptor proxyServiceProperty, Proxy.Type proxyType, String proxyHostProperty, String proxyPortProperty, String proxyUsernameProperty, String proxyPasswordProperty)
-
Field Details
-
PROXY_SERVICE_CLASSNAME
- See Also:
-
PROXY_SERVICE_TYPE
- See Also:
-
PROXY_SERVICE_HOST
- See Also:
-
PROXY_SERVICE_PORT
- See Also:
-
PROXY_SERVICE_USERNAME
- See Also:
-
PROXY_SERVICE_PASSWORD
- See Also:
-
-
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 migratedproxyServiceProperty- the component's property descriptor referencing ProxyConfigurationServiceproxyHostProperty- the name of the component level Proxy Host propertyproxyPortProperty- the name of the component level Proxy Port propertyproxyUsernameProperty- the name of the component level Proxy Username propertyproxyPasswordProperty- 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 migratedproxyServiceProperty- the component's property descriptor referencing ProxyConfigurationServiceproxyTypeProperty- the name of the component level Proxy Type propertyproxyHostProperty- the name of the component level Proxy Host propertyproxyPortProperty- the name of the component level Proxy Port propertyproxyUsernameProperty- the name of the component level Proxy Username propertyproxyPasswordProperty- 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)
-