Remove the Policy Dep Snapshot 41/14641/2
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Fri, 22 Sep 2017 14:52:51 +0000 (16:52 +0200)
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Fri, 22 Sep 2017 15:06:07 +0000 (17:06 +0200)
The policy dependencies have been changed to refer to
non snapshot packages. Some java packages have been updated too.

Change-Id: Id70a0247b859368c642a73fa59bbda93bf9904ae
Issue-ID: CLAMP-55
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
pom.xml
src/main/java/org/onap/clamp/clds/client/req/OperationalPolicyReq.java
src/test/java/org/onap/clamp/clds/client/req/OperationalPolicyReqTest.java

diff --git a/pom.xml b/pom.xml
index 8d0b053..d1b17b7 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                </exclusion>
                        </exclusions>
                </dependency>
-               <dependency>
-                       <groupId>org.onap.policy.engine</groupId>
-                       <artifactId>ControlloopPolicy</artifactId>
-                       <version>1.1.0-SNAPSHOT</version>
-                       <exclusions>
-                               <exclusion>
-                                       <artifactId>log4j</artifactId>
-                                       <groupId>log4j</groupId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.slf4j</groupId>
-                                       <artifactId>slf4j-log4j12</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <artifactId>apache-log4j-extras</artifactId>
-                                       <groupId>log4j</groupId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
+
+    <dependency>
+      <groupId>org.onap.policy.drools-applications</groupId>
+      <artifactId>policy-yaml</artifactId>
+      <version>1.1.0</version>
+      <exclusions>
+        <exclusion>
+          <artifactId>log4j</artifactId>
+          <groupId>log4j</groupId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-log4j12</artifactId>
+        </exclusion>
+        <exclusion>
+          <artifactId>apache-log4j-extras</artifactId>
+          <groupId>log4j</groupId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+               <dependency>
+      <groupId>org.onap.policy.drools-applications</groupId>
+      <artifactId>sdc</artifactId>
+      <version>1.1.0</version>
+      <exclusions>
+        <exclusion>
+          <artifactId>log4j</artifactId>
+          <groupId>log4j</groupId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-log4j12</artifactId>
+        </exclusion>
+        <exclusion>
+          <artifactId>apache-log4j-extras</artifactId>
+          <groupId>log4j</groupId>
+        </exclusion>
+      </exclusions>
+    </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.core</groupId>
                        <artifactId>jackson-databind</artifactId>
 
                <!-- Remove the MYSQL connector and replace it by Mariadb -->
                <dependency>
-                        <groupId>org.mariadb.jdbc</groupId>
-                        <artifactId>mariadb-java-client</artifactId>
-                        <version>2.1.1</version>
+                       <groupId>org.mariadb.jdbc</groupId>
+                       <artifactId>mariadb-java-client</artifactId>
+                       <version>2.1.1</version>
                </dependency>
        </dependencies>
 
                                                        </buildArgs>
                                                </configuration>
                                        </execution>
-                                       
+
                                        <execution>
                                                <id>tag-image-latest-timestamp</id>
                                                <phase>package</phase>
index 4db09c3..1d345e9 100644 (file)
@@ -46,9 +46,9 @@ import org.onap.clamp.clds.model.prop.PolicyItem;
 import org.onap.clamp.clds.model.prop.Tca;
 import org.onap.clamp.clds.model.refprop.RefProp;
 import org.onap.policy.api.AttributeType;
-import org.onap.policy.asdc.Resource;
-import org.onap.policy.asdc.ResourceType;
-import org.onap.policy.asdc.Service;
+import org.onap.policy.sdc.Resource;
+import org.onap.policy.sdc.ResourceType;
+import org.onap.policy.sdc.Service;
 import org.onap.policy.controlloop.policy.OperationsAccumulateParams;
 import org.onap.policy.controlloop.policy.Policy;
 import org.onap.policy.controlloop.policy.PolicyResult;
index cf1fc98..d458443 100644 (file)
@@ -31,8 +31,8 @@ import java.util.ArrayList;
 import java.util.List;
 
 import org.junit.Test;
-import org.onap.policy.asdc.Resource;
-import org.onap.policy.asdc.ResourceType;
+import org.onap.policy.sdc.Resource;
+import org.onap.policy.sdc.ResourceType;
 import org.onap.policy.controlloop.policy.PolicyResult;
 
 public class OperationalPolicyReqTest {