diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-04-28 11:38:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-28 11:38:03 +0000 |
commit | 99e77f7cc95157e5df1fb1e7f640c8bba1f4f71c (patch) | |
tree | 4811e978c35aafec33ba76c9d48f83cf3b10ebe3 /common | |
parent | 2479d5fde271fd1296fd4e1ae58a8608991496f8 (diff) | |
parent | dd233a2aafcdb092535af1eca5a49a090c570394 (diff) |
Merge "Add correlationId to ServiceInstancesRequest"
Diffstat (limited to 'common')
-rw-r--r-- | common/src/main/java/org/openecomp/mso/serviceinstancebeans/ServiceInstancesRequest.java | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/common/src/main/java/org/openecomp/mso/serviceinstancebeans/ServiceInstancesRequest.java b/common/src/main/java/org/openecomp/mso/serviceinstancebeans/ServiceInstancesRequest.java index a894ffca16..d06c532f88 100644 --- a/common/src/main/java/org/openecomp/mso/serviceinstancebeans/ServiceInstancesRequest.java +++ b/common/src/main/java/org/openecomp/mso/serviceinstancebeans/ServiceInstancesRequest.java @@ -41,6 +41,8 @@ public class ServiceInstancesRequest implements Serializable { private String vfModuleInstanceId; @JsonProperty("configurationId") private String configurationId; + @JsonProperty("correlationId") + private String correlationId; public RequestDetails getRequestDetails() { return requestDetails; @@ -98,15 +100,26 @@ public class ServiceInstancesRequest implements Serializable { this.configurationId = configurationId; } + public String getCorrelationId() { + return correlationId; + } + + public void setCorrelationId(String correlationId) { + this.correlationId = correlationId; + } + @Override public String toString() { - return "ServiceInstancesRequest [requestDetails=" + requestDetails - + ", serviceInstanceId=" + serviceInstanceId - + ", vnfInstanceId=" + vnfInstanceId + ", networkInstanceId=" - + networkInstanceId + ", volumeGroupInstanceId=" - + volumeGroupInstanceId + ", vfModuleInstanceId=" - + vfModuleInstanceId + ", configurationId=" - + configurationId + ",]"; + final StringBuilder sb = new StringBuilder("ServiceInstancesRequest{"); + sb.append("requestDetails=").append(requestDetails); + sb.append(", serviceInstanceId='").append(serviceInstanceId).append('\''); + sb.append(", vnfInstanceId='").append(vnfInstanceId).append('\''); + sb.append(", networkInstanceId='").append(networkInstanceId).append('\''); + sb.append(", volumeGroupInstanceId='").append(volumeGroupInstanceId).append('\''); + sb.append(", vfModuleInstanceId='").append(vfModuleInstanceId).append('\''); + sb.append(", configurationId='").append(configurationId).append('\''); + sb.append(", correlationId='").append(correlationId).append('\''); + sb.append('}'); + return sb.toString(); } - } |