Fix some dependencies flagged in scans 46/131546/1
authorliamfallon <liam.fallon@est.tech>
Wed, 19 Oct 2022 08:28:07 +0000 (09:28 +0100)
committerliamfallon <liam.fallon@est.tech>
Wed, 19 Oct 2022 08:28:12 +0000 (09:28 +0100)
Issue-ID: POLICY-4393
Change-Id: I8ba3b906336d5200326e71d649a05363c43d79f0
Signed-off-by: liamfallon <liam.fallon@est.tech>
models-interactions/model-impl/aai/pom.xml
models-interactions/model-simulators/src/test/java/org/onap/policy/simulators/CdsSimulatorTest.java

index d56a880..3100d25 100644 (file)
                     <groupId>com.google.code.javaparser</groupId>
                     <artifactId>javaparser</artifactId>
                 </exclusion>
+                <exclusion>
+                    <groupId>com.googlecode.json-simple</groupId>
+                    <artifactId>json-simple</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
     </dependencies>
index 21d766f..6c71940 100644 (file)
@@ -24,6 +24,7 @@ package org.onap.policy.simulators;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
+import com.google.protobuf.TextFormat.ParseException;
 import com.google.protobuf.util.JsonFormat;
 import io.grpc.ManagedChannel;
 import io.grpc.netty.NettyChannelBuilder;
@@ -34,7 +35,6 @@ import java.util.concurrent.CompletableFuture;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 import org.apache.commons.io.IOUtils;
-import org.json.simple.parser.ParseException;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;