summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap
diff options
context:
space:
mode:
authorRachelF <rachel.fishbein@intl.att.com>2019-08-01 11:06:24 +0300
committerIttay Stern <ittay.stern@att.com>2019-08-04 08:27:34 +0000
commit1ee6b52b2053204601f3c50464f4c5b4b758e811 (patch)
tree3bbce6994c80127c842808703394adcc8b668b50 /vid-app-common/src/main/java/org/onap
parent6126ea252a460c22e89bc8ad5ab68ec62e45fbe5 (diff)
Resolving testAssociatePnf
Issue-ID: VID-543 Change-Id: Ib7d12d648f399096bf8d71b98249ff4994a156fc Signed-off-by: RachelF <rachel.fishbein@intl.att.com>
Diffstat (limited to 'vid-app-common/src/main/java/org/onap')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetPnfs/Pnf.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetPnfs/Pnf.java b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetPnfs/Pnf.java
index 2d5456311..92f9b4edf 100644
--- a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetPnfs/Pnf.java
+++ b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetPnfs/Pnf.java
@@ -21,9 +21,9 @@
package org.onap.vid.aai.model.AaiGetPnfs;
-import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import com.fasterxml.jackson.annotation.JsonProperty;
import org.onap.vid.aai.model.AaiRelationResponse;
@JsonIgnoreProperties(ignoreUnknown = true)
@@ -39,10 +39,10 @@ public final class Pnf extends AaiRelationResponse {
@JsonCreator
public Pnf(
- @JsonAlias("pnf-id") String pnfId, @JsonAlias("pnf-name") String pnfName,
- @JsonAlias("pnf-name2") String pnfName2, @JsonAlias("pnf-name2-source") String pnfName2Source,
- @JsonAlias("equip-type") String equipType, @JsonAlias("equip-vendor") String equipVendor,
- @JsonAlias("equip-model") String equipModel) {
+ @JsonProperty("pnf-id") String pnfId, @JsonProperty("pnf-name") String pnfName,
+ @JsonProperty("pnf-name2") String pnfName2, @JsonProperty("pnf-name2-source") String pnfName2Source,
+ @JsonProperty("equip-type") String equipType, @JsonProperty("equip-vendor") String equipVendor,
+ @JsonProperty("equip-model") String equipModel) {
this.pnfId = pnfId;
this.pnfName = pnfName;