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>
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