From 6ce8eb0b4cf2b5e082f1506067bb40173c0f4180 Mon Sep 17 00:00:00 2001 From: "Plummer, Brittany" Date: Sun, 9 Jun 2019 10:38:07 -0400 Subject: Switched name and id, and updated tests Switched name and id, and updated tests Change-Id: Ica8251be71d2fd9362e4f209755d80bc36ccbf66 Issue-ID: SO-2000 Signed-off-by: Benjamin, Max (mb388a) --- .../src/main/java/org/onap/so/openstack/utils/StackStatusHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'adapters/mso-adapter-utils/src/main/java') diff --git a/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/StackStatusHandler.java b/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/StackStatusHandler.java index df173c002d..625b584257 100644 --- a/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/StackStatusHandler.java +++ b/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/StackStatusHandler.java @@ -28,8 +28,8 @@ public class StackStatusHandler { String requestId = MDC.get(ONAPLogConstants.MDCs.REQUEST_ID); String stackStatus = mapper.writeValueAsString(stack); RequestProcessingData requestProcessingData = - requestDBClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(requestId, stack.getId(), - stack.getStackName()); + requestDBClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(requestId, + stack.getStackName(), stack.getId()); if (requestProcessingData == null) { requestProcessingData = new RequestProcessingData(); requestProcessingData.setGroupingId(stack.getId()); -- cgit 1.2.3-korg