aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-requests-db/src/main/java/org
diff options
context:
space:
mode:
authorBenjamin, Max (mb388a) <mb388a@us.att.com>2018-11-10 12:29:48 -0500
committerRob Daugherty <rd472p@att.com>2018-11-14 20:55:18 +0000
commit7feaa94e569653066c7ebff3dda3218869797f39 (patch)
treefc0416b5485c10bb9d87e2996a774090753bf116 /mso-api-handlers/mso-requests-db/src/main/java/org
parentbe24ada950e9f41a6034b472fc5502b285a510d5 (diff)
Added groupInstanceId and groupInstanceName column
Updated schema.sql to include new columns Added groupInstanceId and groupInstanceName columns Change-Id: I6dab9acea9bb4954c8b113034d70f01bbd9437db Issue-ID: SO-1206 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Diffstat (limited to 'mso-api-handlers/mso-requests-db/src/main/java/org')
-rw-r--r--mso-api-handlers/mso-requests-db/src/main/java/org/onap/so/db/request/beans/InfraRequests.java23
1 files changed, 22 insertions, 1 deletions
diff --git a/mso-api-handlers/mso-requests-db/src/main/java/org/onap/so/db/request/beans/InfraRequests.java b/mso-api-handlers/mso-requests-db/src/main/java/org/onap/so/db/request/beans/InfraRequests.java
index a3743cc371..0959cf61d4 100644
--- a/mso-api-handlers/mso-requests-db/src/main/java/org/onap/so/db/request/beans/InfraRequests.java
+++ b/mso-api-handlers/mso-requests-db/src/main/java/org/onap/so/db/request/beans/InfraRequests.java
@@ -143,6 +143,10 @@ public abstract class InfraRequests implements java.io.Serializable {
private String operationalEnvId;
@Column(name = "OPERATIONAL_ENV_NAME", length = 200)
private String operationalEnvName;
+ @Column(name = "INSTANCE_GROUP_ID", length = 45)
+ private String instanceGroupId;
+ @Column(name = "INSTANCE_GROUP_NAME", length = 200)
+ private String instanceGroupName;
@Column(name = "REQUEST_URL", length = 500)
private String requestUrl;
@@ -525,7 +529,23 @@ public abstract class InfraRequests implements java.io.Serializable {
this.operationalEnvName = operationalEnvName;
}
- public String getRequestUrl() {
+ public String getInstanceGroupId() {
+ return instanceGroupId;
+ }
+
+ public void setInstanceGroupId(String instanceGroupId) {
+ this.instanceGroupId = instanceGroupId;
+ }
+
+ public String getInstanceGroupName() {
+ return instanceGroupName;
+ }
+
+ public void setInstanceGroupName(String instanceGroupName) {
+ this.instanceGroupName = instanceGroupName;
+ }
+
+ public String getRequestUrl() {
return this.requestUrl;
}
@@ -593,6 +613,7 @@ public abstract class InfraRequests implements java.io.Serializable {
.append("requestorId", getRequestorId()).append("configurationId", getConfigurationId())
.append("configurationName", getConfigurationName()).append("operationalEnvId", getOperationalEnvId())
.append("operationalEnvName", getOperationalEnvName())
+ .append("instanceGroupId", getInstanceGroupId()).append("instanceGroupName", getInstanceGroupName())
.append("requestUrl", getRequestUrl()).toString();
}
}