aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-08-04 16:06:59 +0300
committerEylon Malin <eylon.malin@intl.att.com>2019-08-04 16:17:35 +0300
commite8e72260254d2399279a1497c14abafc06018037 (patch)
treec1ece8b58f7b7c8787fd2f5cf2a2e5b34d1c74b8 /vid-app-common
parent1ada8b67511f29e7d530073e1a612e568ba99c90 (diff)
align backend get aicZone response fields name with the frontend expectation
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ib43b5c75ce0c841aec6e4c42bef78354ddf30493 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Diffstat (limited to 'vid-app-common')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetAicZone/AicZones.java1
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetAicZone/Zone.java2
2 files changed, 3 insertions, 0 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetAicZone/AicZones.java b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetAicZone/AicZones.java
index 77553a687..07bb191a9 100644
--- a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetAicZone/AicZones.java
+++ b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetAicZone/AicZones.java
@@ -36,6 +36,7 @@ public final class AicZones {
this.zones = Collections.unmodifiableList(zones);
}
+ @JsonProperty("zone")
public List<Zone> getZones() {
return zones;
}
diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetAicZone/Zone.java b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetAicZone/Zone.java
index c36618024..df4fd6495 100644
--- a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetAicZone/Zone.java
+++ b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetAicZone/Zone.java
@@ -37,10 +37,12 @@ public final class Zone {
this.zoneName = zoneName;
}
+ @JsonProperty("zone-id")
public String getZoneId() {
return zoneId;
}
+ @JsonProperty("zone-name")
public String getZoneName() {
return zoneName;
}