Skip to content

Commit

Permalink
NIFI-13943: Upgrade Dropbox, Salesforce, SNMP, and QuestDB depdendencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyb149 committed Oct 28, 2024
1 parent 852f3a2 commit 6e3cf50
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion nifi-extension-bundles/nifi-dropbox-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<packaging>pom</packaging>

<properties>
<dropbox.client.version>5.4.6</dropbox.client.version>
<dropbox.client.version>7.0.0</dropbox.client.version>
</properties>

<modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-salesforce</artifactId>
<version>3.14.10</version>
<version>3.22.2</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ language governing permissions and limitations under the License. -->
<packaging>jar</packaging>

<properties>
<snmp4j.version>2.8.18</snmp4j.version>
<snmp4j-agent.version>2.7.9</snmp4j-agent.version>
<snmp4j.version>3.8.2</snmp4j.version>
<snmp4j-agent.version>3.8.1</snmp4j-agent.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public SNMPTrapReceiverHandler(final SNMPConfiguration configuration, final List
}

public int getListeningPort() {
final Collection<TransportMapping> transportMappings = snmpManager.getMessageDispatcher().getTransportMappings();
final Collection<TransportMapping<? extends Address>> transportMappings = snmpManager.getMessageDispatcher().getTransportMappings();
if (transportMappings == null || transportMappings.isEmpty()) {
return 0;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import java.util.Vector;
import java.util.regex.Pattern;
import java.util.stream.Collectors;

Expand Down Expand Up @@ -118,7 +117,7 @@ private SNMPUtils() {
}

public static Map<String, String> getPduAttributeMap(final PDU response) {
final Vector<? extends VariableBinding> variableBindings = response.getVariableBindings();
final List<? extends VariableBinding> variableBindings = response.getVariableBindings();
final Map<String, String> attributes = variableBindings.stream()
.collect(Collectors.toMap(k -> String.format(OID_PROP_PATTERN, k.getOid(), k.getSyntax()),
v -> v.getVariable().toString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
import java.time.Instant;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.Vector;
import java.util.stream.Collectors;
import java.util.stream.Stream;

Expand All @@ -46,7 +46,7 @@ void testCreateV2TrapPdu() {

final PDU pdu = v2TrapPduFactory.get(v2TrapConfiguration);

final Vector<? extends VariableBinding> variableBindings = pdu.getVariableBindings();
final List<? extends VariableBinding> variableBindings = pdu.getVariableBindings();

Set<String> expected = new HashSet<>(Arrays.asList(SnmpConstants.snmpTrapOID.toString(), TRAP_OID));
Set<String> actual = variableBindings.stream()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<dependency>
<groupId>org.questdb</groupId>
<artifactId>questdb</artifactId>
<version>7.4.2</version>
<version>8.1.4</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
Expand Down

0 comments on commit 6e3cf50

Please sign in to comment.