Merge "Add constant PdpGroup.VERSION"
authorPamela Dragosh <pdragosh@research.att.com>
Thu, 11 Apr 2019 16:21:58 +0000 (16:21 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 11 Apr 2019 16:21:58 +0000 (16:21 +0000)
models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java

index 9665fd4..8805ae9 100644 (file)
@@ -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;