diff options
author | Jim Hahn <jrh3@att.com> | 2019-03-23 23:42:34 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-03-23 23:42:34 -0400 |
commit | 9854c6462dc16d53fbea809220637e320b1dc969 (patch) | |
tree | fb0cd79df8830aa14c040dfb5f682f63c01c5780 /models-pap | |
parent | 28b1dc09f468259ef6c55d11c94b6693465a41d5 (diff) |
Use enums from models-pdp in models-pap
Modified models-pap to use enums from models-pdp instead of
from pdp-common.
Change-Id: I3bc296358c672dff9c218c734583a135e5503e4c
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-pap')
5 files changed, 9 insertions, 9 deletions
diff --git a/models-pap/pom.xml b/models-pap/pom.xml index 9257b9bda..edb8ee703 100644 --- a/models-pap/pom.xml +++ b/models-pap/pom.xml @@ -33,9 +33,9 @@ <description>The models for Policy Administration (PAP) REST API's.</description> <dependencies> <dependency> - <groupId>org.onap.policy.common</groupId> - <artifactId>pdp-common</artifactId> - <version>${policy.common.version}</version> + <groupId>org.onap.policy.models</groupId> + <artifactId>models-pdp</artifactId> + <version>${project.version}</version> </dependency> <dependency> <groupId>org.onap.policy.models</groupId> diff --git a/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroup.java b/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroup.java index a42ac21bd..d5e4191a2 100644 --- a/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroup.java +++ b/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroup.java @@ -29,7 +29,7 @@ import lombok.NonNull; import lombok.Setter; import lombok.ToString; import org.onap.policy.models.base.PfUtils; -import org.onap.policy.pdp.common.enums.PdpState; +import org.onap.policy.models.pdp.enums.PdpState; /** * Class to represent a PDPGroup, which groups multiple PDPSubGroup entities together for a particular domain. diff --git a/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpInstanceDetails.java b/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpInstanceDetails.java index 4f9041c7f..c214c7409 100644 --- a/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpInstanceDetails.java +++ b/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpInstanceDetails.java @@ -25,8 +25,8 @@ import lombok.Getter; import lombok.NonNull; import lombok.Setter; import lombok.ToString; -import org.onap.policy.pdp.common.enums.PdpHealthStatus; -import org.onap.policy.pdp.common.enums.PdpState; +import org.onap.policy.models.pdp.enums.PdpHealthStatus; +import org.onap.policy.models.pdp.enums.PdpState; /** * Class to represent details of a running instance of PDP. diff --git a/models-pap/src/test/java/org/onap/policy/models/pap/concepts/TestPdpGroup.java b/models-pap/src/test/java/org/onap/policy/models/pap/concepts/TestPdpGroup.java index 3dc3c24b2..ee52d82fb 100644 --- a/models-pap/src/test/java/org/onap/policy/models/pap/concepts/TestPdpGroup.java +++ b/models-pap/src/test/java/org/onap/policy/models/pap/concepts/TestPdpGroup.java @@ -27,7 +27,7 @@ import java.util.Arrays; import java.util.Map; import java.util.TreeMap; import org.junit.Test; -import org.onap.policy.pdp.common.enums.PdpState; +import org.onap.policy.models.pdp.enums.PdpState; /** * Test the copy constructor, as {@link TestModels} tests the other methods. diff --git a/models-pap/src/test/java/org/onap/policy/models/pap/concepts/TestPdpInstanceDetails.java b/models-pap/src/test/java/org/onap/policy/models/pap/concepts/TestPdpInstanceDetails.java index 9e48480f4..65fbef612 100644 --- a/models-pap/src/test/java/org/onap/policy/models/pap/concepts/TestPdpInstanceDetails.java +++ b/models-pap/src/test/java/org/onap/policy/models/pap/concepts/TestPdpInstanceDetails.java @@ -24,8 +24,8 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.junit.Assert.assertEquals; import org.junit.Test; -import org.onap.policy.pdp.common.enums.PdpHealthStatus; -import org.onap.policy.pdp.common.enums.PdpState; +import org.onap.policy.models.pdp.enums.PdpHealthStatus; +import org.onap.policy.models.pdp.enums.PdpState; /** * Test the copy constructor, as {@link TestModels} tests the other methods. |