aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-04-11 16:21:58 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-11 16:21:58 +0000
commitd8e1cd3c7e76e70a2f72fa170d860f95073ca59c (patch)
treebeb94fef537031f9ceb4e10ed7ffbb7fb932b96c
parentad6135a4855f4daddc67af36bb5a77819b1bb592 (diff)
parent5fb11a142d8310d9d9ed62b58fe6701f6ce4d6b7 (diff)
Merge "Add constant PdpGroup.VERSION"
-rw-r--r--models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java
index 9665fd472..8805ae9ba 100644
--- a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java
+++ b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java
@@ -41,6 +41,12 @@ import org.onap.policy.models.pdp.enums.PdpState;
@Data
@NoArgsConstructor
public class PdpGroup implements PfNameVersion, Comparable<PdpGroup> {
+ /**
+ * In the future, we'll eliminate the "version" field. Until then, the version of
+ * every group should always be this fixed value.
+ */
+ public static final String VERSION = "1.0.0";
+
private String name;
private String version;
private String description;