diff options
author | zm330 <zhangminyj@chinamobile.com> | 2020-03-09 13:58:06 +0800 |
---|---|---|
committer | Zhang Min <zhangminyj@chinamobile.com> | 2020-03-10 05:12:00 +0000 |
commit | a66c2e4aa0742e368393317bdbad48377d82113d (patch) | |
tree | 7e21c4f76c7b43e455be0342bab96e889ad09989 /bpmn/MSOCommonBPMN/src/main/groovy/org | |
parent | adca35fd311b5c20a101c1fd6659b6f16e708e63 (diff) |
Add test for scritp util
Issue-ID: SO-2368
Signed-off-by: zm330 <zhangminyj@chinamobile.com>
Change-Id: I1102a6ca9ba4d22b2ab58b45111e401ac67ac2e7
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/main/groovy/org')
-rw-r--r-- | bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/RequestDBUtil.groovy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/RequestDBUtil.groovy b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/RequestDBUtil.groovy index ce474fa713..b35042e3c0 100644 --- a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/RequestDBUtil.groovy +++ b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/RequestDBUtil.groovy @@ -49,8 +49,8 @@ class RequestDBUtil { String operationType = operationStatus.getOperation() String result = operationStatus.getResult() String progress = operationStatus.getProgress() - String operationContent = operationStatus.getOperationContent() - String reason = operationStatus.getReason() + String operationContent = operationStatus.getOperationContent()?: "" + String reason = operationStatus.getReason()?: "" String payload = """<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" |