[
https://issues.apache.org/jira/browse/NIFI-14225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17924232#comment-17924232
]
Daniel Stieglitz commented on NIFI-14225:
-----------------------------------------
On line 58 in SmbDfsIT there is the following comment
{quote}
// DFS works only on the default SMB port (445). Not sure if it is a generic
DFS vs Samba DFS constraint, or an issue in the smbj client library.
{quote}
does that mean this would preclude the use of the GenericContainer
withExposedPorts method?
> Replace deprecated methods in testcontainers with suggested replacements
> ------------------------------------------------------------------------
>
> Key: NIFI-14225
> URL: https://issues.apache.org/jira/browse/NIFI-14225
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> There are many warnings when building regarding various test container
> deprecations as seen in the messages below. The aim of this ticket is to use
> the current API suggested replacements in order not to get these warnings.
> {code:java}
> [WARNING]
> nifi-2.2.0/nifi-extension-bundles/nifi-smb-bundle/nifi-smb-smbj-client/src/test/java/org/apache/nifi/s
> ervices/smb/SmbjClientServiceIT.java:[93,8] [deprecation] ContainerProxy in
> ToxiproxyContainer has been deprecated
> [WARNING]
> nifi-2.2.0/nifi-extension-bundles/nifi-smb-bundle/nifi-smb-smbj-client/src/test/java/org/apache/nifi/s
> ervices/smb/SmbjClientServiceIT.java:[93,45] [deprecation]
> getProxy(String,int) in ToxiproxyContainer has been deprecated
> [WARNING]
> nifi-2.2.0/nifi-extension-bundles/nifi-smb-bundle/nifi-smb-processors/src/test/java/org/apache/nifi/pr
> ocessors/smb/SmbDfsIT.java:[59,55] [deprecation]
> <SELF>FixedHostPortGenericContainer(String) in FixedHostPortGenericContainer
> has been deprecated
> [WARNING]
> nifi-2.2.0/nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-3-service/src/test/java/org/apache/nifi
> /kafka/service/Kafka3ConnectionServiceBaseIT.java:[137,12] [deprecation]
> KafkaContainer in org.testcontainers.containers has been deprecated
> [WARNING]
> nifi-2.2.0/nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-3-service/src/test/java/org/apache/nifi
> /kafka/service/Kafka3ConnectionServiceBaseIT.java:[164,29] [deprecation]
> KafkaContainer in org.testcontainers.containers has been deprecated
> [WARNING]
> nifi-2.2.0/nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-3-service/src/test/java/org/apache/nifi
> /kafka/service/KafkaConnectivityIT.java:[53,19] [deprecation] KafkaContainer
> in org.testcontainers.containers has been deprecated
> [WARNING]
> nifi-2.2.0/nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-3-service/src/test/java/org/apache/nifi
> /kafka/service/KafkaConnectivityIT.java:[57,20] [deprecation] KafkaContainer
> in org.testcontainers.containers has been deprecated
> [WARNING]
> nifi-2.2.0/nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-3-integration/src/test/java/org/apache/
> nifi/kafka/processors/AbstractKafkaBaseIT.java:[47,27] [deprecation]
> KafkaContainer in org.testcontainers.containers has been deprecated
> [WARNING]
> nifi-2.2.0/nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-3-integration/src/test/java/org/apache/
> nifi/kafka/processors/AbstractKafkaBaseIT.java:[51,29] [deprecation]
> KafkaContainer in org.testcontainers.containers has been deprecated
> [WARNING]
> nifi-2.2.0/nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-3-integration/src/test/java/org/apache/
> nifi/kafka/processors/PublishKafkaAuthSaslPlaintextIT.java:[64,19]
> [deprecation] KafkaContainer in org.testcontainers.containers has been
> deprecated
> [WARNING]
> nifi-2.2.0/nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-3-integration/src/test/java/org/apache/
> nifi/kafka/processors/PublishKafkaAuthSaslPlaintextIT.java:[68,20]
> [deprecation] KafkaContainer in org.testcontainers.containers has been
> deprecated
> nifi/nifi-extension-bundles/nifi-redis-bundle/nifi-redis-extensions/src/test/java/org/apache/
> nifi/redis/testcontainers/RedisContainer.java:[104,8] [deprecation]
> addFileSystemBind(String,String,BindMode) in Container has been
> deprecated{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)