summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYulian Han <elaine.hanyulian@huawei.com>2018-09-20 11:50:07 +0800
committerYulian Han <elaine.hanyulian@huawei.com>2018-09-20 11:50:07 +0800
commit988ee757847742877c4ec2a9d5ba39d450b73fe0 (patch)
tree52eed2c68951e2405ac6a4e977a7990c8c0e2174
parente992debb39f00fb701ce8c116fafe9d40641ce40 (diff)
get e2e service process response bug fix
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa70000021 Issue-ID: SO-683 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/E2EServiceInstances.java2
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/e2eserviceinstancebeans/GetE2EServiceInstanceResponse.java14
2 files changed, 8 insertions, 8 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/E2EServiceInstances.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/E2EServiceInstances.java
index 50ae29b8e4..2a6764831d 100644
--- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/E2EServiceInstances.java
+++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/E2EServiceInstances.java
@@ -371,7 +371,7 @@ public class E2EServiceInstances {
}
- e2eServiceResponse.setOperationStatus(operationStatus);
+ e2eServiceResponse.setOperation(operationStatus);
return builder.buildResponse(HttpStatus.SC_OK, null, e2eServiceResponse, apiVersion);
}
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/e2eserviceinstancebeans/GetE2EServiceInstanceResponse.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/e2eserviceinstancebeans/GetE2EServiceInstanceResponse.java
index 45aa5e24db..5c958ad2a3 100644
--- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/e2eserviceinstancebeans/GetE2EServiceInstanceResponse.java
+++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/e2eserviceinstancebeans/GetE2EServiceInstanceResponse.java
@@ -30,13 +30,13 @@ public class GetE2EServiceInstanceResponse {
protected OperationStatus operation;
- public OperationStatus getOperationStatus() {
- return operation;
- }
-
- public void setOperationStatus(OperationStatus requestDB) {
- this.operation = requestDB;
- }
+// public OperationStatus getOperationStatus() {
+// return operation;
+// }
+//
+// public void setOperationStatus(OperationStatus requestDB) {
+// this.operation = requestDB;
+// }
public OperationStatus getOperation() {
return operation;