aboutsummaryrefslogtreecommitdiffstats
path: root/models-interactions/model-impl/sdnc/src/main
diff options
context:
space:
mode:
authorVidyashree Rama <vidyashree.rama@huawei.com>2019-05-16 19:38:27 +0530
committerVidyashree Rama <vidyashree.rama@huawei.com>2019-05-16 19:38:27 +0530
commitfe226fad65b116c85f95f55e22cae72ba3e0a37b (patch)
treeee84eb6ff506fcee05f6442e2298a0c1cd183395 /models-interactions/model-impl/sdnc/src/main
parent89af78cfc39c9ecbab1a7d7a98f3930398a4ea49 (diff)
Vf module info is not present in SDNC request
Vf module info is not present in SDNC request Change-Id: I9a0c59ac40fcfe7028c55bc285006545d989c683 Issue-ID: POLICY-1774 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
Diffstat (limited to 'models-interactions/model-impl/sdnc/src/main')
-rw-r--r--models-interactions/model-impl/sdnc/src/main/java/org/onap/policy/sdnc/SdncHealRequest.java11
-rw-r--r--models-interactions/model-impl/sdnc/src/main/java/org/onap/policy/sdnc/SdncHealVfModuleInfo.java44
2 files changed, 55 insertions, 0 deletions
diff --git a/models-interactions/model-impl/sdnc/src/main/java/org/onap/policy/sdnc/SdncHealRequest.java b/models-interactions/model-impl/sdnc/src/main/java/org/onap/policy/sdnc/SdncHealRequest.java
index 70e81d89f..a490d0cd7 100644
--- a/models-interactions/model-impl/sdnc/src/main/java/org/onap/policy/sdnc/SdncHealRequest.java
+++ b/models-interactions/model-impl/sdnc/src/main/java/org/onap/policy/sdnc/SdncHealRequest.java
@@ -42,6 +42,9 @@ public class SdncHealRequest implements Serializable {
@SerializedName("vnf-information")
private SdncHealVnfInfo vnfInfo;
+ @SerializedName("vf-module-information")
+ private SdncHealVfModuleInfo vfModuleInfo;
+
@SerializedName("vf-module-request-input")
private SdncHealVfModuleRequestInput vfModuleRequestInput;
@@ -96,4 +99,12 @@ public class SdncHealRequest implements Serializable {
public void setVfModuleRequestInput(SdncHealVfModuleRequestInput input) {
this.vfModuleRequestInput = input;
}
+
+ public SdncHealVfModuleInfo getVfModuleInfo() {
+ return vfModuleInfo;
+ }
+
+ public void setVfModuleInfo(SdncHealVfModuleInfo vfModuleInfo) {
+ this.vfModuleInfo = vfModuleInfo;
+ }
}
diff --git a/models-interactions/model-impl/sdnc/src/main/java/org/onap/policy/sdnc/SdncHealVfModuleInfo.java b/models-interactions/model-impl/sdnc/src/main/java/org/onap/policy/sdnc/SdncHealVfModuleInfo.java
new file mode 100644
index 000000000..f70e57096
--- /dev/null
+++ b/models-interactions/model-impl/sdnc/src/main/java/org/onap/policy/sdnc/SdncHealVfModuleInfo.java
@@ -0,0 +1,44 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * Copyright (C) 2019 Huawei Technologies Co., Ltd. All rights reserved.
+ * Modifications Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.policy.sdnc;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.io.Serializable;
+
+public class SdncHealVfModuleInfo implements Serializable {
+
+ private static final long serialVersionUID = 3208673205100673119L;
+
+ @SerializedName("vf-module-id")
+ private String vfModuleId;
+
+ public SdncHealVfModuleInfo() {
+ // Default constructor for SdncHealVfModuleInfo
+ }
+
+ public String getVfModuleId() {
+ return vfModuleId;
+ }
+
+ public void setVfModuleId(String vfModuleId) {
+ this.vfModuleId = vfModuleId;
+ }
+}