aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-04-11 17:04:54 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-11 17:04:54 +0000
commita265448dd211ea6ff1e2f7f51574f0c1c0c078ed (patch)
tree7138cbe4c32ded5807b61bb0f423c103e05a606f
parentd8e1cd3c7e76e70a2f72fa170d860f95073ca59c (diff)
parentfe7053726fbbf5e6c4b0ef2844aceb8a8757117c (diff)
Merge "Use policy-id instead of name"
-rw-r--r--models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaPolicyIdentifierOptVersion.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaPolicyIdentifierOptVersion.java b/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaPolicyIdentifierOptVersion.java
index 9350d1738..9296780d5 100644
--- a/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaPolicyIdentifierOptVersion.java
+++ b/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaPolicyIdentifierOptVersion.java
@@ -20,6 +20,7 @@
package org.onap.policy.models.tosca.authorative.concepts;
+import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
@@ -32,8 +33,10 @@ import lombok.NonNull;
public class ToscaPolicyIdentifierOptVersion {
@NonNull
+ @SerializedName("policy-id")
private String name;
+ @SerializedName("policy-version")
private String version;