diff options
author | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-04-30 14:48:52 +0200 |
---|---|---|
committer | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-04-30 14:48:52 +0200 |
commit | 880a4ae41cfb06d43fa0a0d0b86f358c965534b7 (patch) | |
tree | 1e07069cb016acd53aa3d3b33061b50571d32ab9 | |
parent | 8b4d54436b3283580d2776b0d48eab3c381d0419 (diff) |
Fix bug in submit
Fix the field used to check that the dcae call has already been made
Issue-ID: CLAMP-151
Change-Id: Iad32477aaebe05d93dbd046c02c0e0980db10be8
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
-rw-r--r-- | src/main/java/org/onap/clamp/clds/service/CldsService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/clamp/clds/service/CldsService.java b/src/main/java/org/onap/clamp/clds/service/CldsService.java index 6da3cb641..aebe2177b 100644 --- a/src/main/java/org/onap/clamp/clds/service/CldsService.java +++ b/src/main/java/org/onap/clamp/clds/service/CldsService.java @@ -489,7 +489,7 @@ public class CldsService extends SecureServiceBase { if (!isTest && (actionCd.equalsIgnoreCase(CldsEvent.ACTION_SUBMIT) || actionCd.equalsIgnoreCase(CldsEvent.ACTION_RESUBMIT) || actionCd.equalsIgnoreCase(CldsEvent.ACTION_SUBMITDCAE))) { - if (retrievedModel.getDeploymentId() == null) { + if (retrievedModel.getTypeId() == null) { // This should be done only when the call to DCAE // has not yet been done. When CL comes from SDC // this is not required as the DCAE inventory call is done |