aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-09-17 15:38:14 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-09-17 16:37:11 +0200
commit610846c7e9e48806073e15ede8e502119c587ca3 (patch)
treeee1333498bce3f6c7210e71748812bbd8d86bdd9 /src/main/java
parent1bdae1172660c1c05c09c800d49ff8f46a4ccb72 (diff)
Update aai-common to 1.14.6 in graphadmin
- upgrade spring-boot (2.4.13 -> 2.5.15) - fix vulnerabilities - bump snapshot version to 1.14.7-SNAPSHOT Issue-ID: AAI-3994 Change-Id: Ie692eeb20d0a7e1e0d579134b109d0c2ecfd7840 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/onap/aai/dbgen/DynamicPayloadGenerator.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/main/java/org/onap/aai/dbgen/DynamicPayloadGenerator.java b/src/main/java/org/onap/aai/dbgen/DynamicPayloadGenerator.java
index edcb50d..63bdea1 100644
--- a/src/main/java/org/onap/aai/dbgen/DynamicPayloadGenerator.java
+++ b/src/main/java/org/onap/aai/dbgen/DynamicPayloadGenerator.java
@@ -21,15 +21,16 @@ package org.onap.aai.dbgen;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.Parameter;
+import com.fasterxml.jackson.core.type.TypeReference;
+import com.fasterxml.jackson.databind.JsonNode;
+import com.fasterxml.jackson.databind.ObjectMapper;
+import com.fasterxml.jackson.databind.node.ObjectNode;
+
import org.apache.tinkerpop.gremlin.process.traversal.P;
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal;
import org.apache.tinkerpop.gremlin.process.traversal.step.util.Tree;
import org.apache.tinkerpop.gremlin.structure.Element;
import org.apache.tinkerpop.gremlin.structure.Vertex;
-import org.codehaus.jackson.JsonNode;
-import org.codehaus.jackson.map.ObjectMapper;
-import org.codehaus.jackson.node.ObjectNode;
-import org.codehaus.jackson.type.TypeReference;
import org.onap.aai.restclient.PropertyPasswordConfiguration;
import org.onap.aai.db.props.AAIProperties;
import org.onap.aai.dbmap.InMemoryGraph;
@@ -280,7 +281,7 @@ public class DynamicPayloadGenerator {
JsonNode rootNode = mapper.readTree(jsonFile);
- Iterator<Entry<String, JsonNode>> nodeFields = rootNode.getFields();
+ Iterator<Entry<String, JsonNode>> nodeFields = rootNode.fields();
while (nodeFields.hasNext()) {
Entry<String, JsonNode> entry = nodeFields.next();
@@ -354,7 +355,7 @@ public class DynamicPayloadGenerator {
JsonNode rootNode = mapper.readTree(jsonFile);
- Iterator<Entry<String, JsonNode>> nodeFields = rootNode.getFields();
+ Iterator<Entry<String, JsonNode>> nodeFields = rootNode.fields();
while (nodeFields.hasNext()) {
Entry<String, JsonNode> entry = nodeFields.next();
@@ -390,7 +391,7 @@ public class DynamicPayloadGenerator {
JsonNode rootNode = mapper.readTree(jsonFile);
- Iterator<Entry<String, JsonNode>> nodeFields = rootNode.getFields();
+ Iterator<Entry<String, JsonNode>> nodeFields = rootNode.fields();
while (nodeFields.hasNext()) {
Entry<String, JsonNode> entry = nodeFields.next();