Fix the submit due to artifact name wrong in the Sdc controller case
Issue-ID: CLAMP-151
Change-Id: Ied788eda40a7b6f63106be5b662fbc00f363da4b
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
// SDC artifact case
logger.info("Skipping DCAE inventory call as closed loop has been created from SDC notification");
DcaeEvent dcaeEvent = new DcaeEvent();
- dcaeEvent.setArtifactName("SDC artifact-" + retrievedModel.getName());
+ dcaeEvent.setArtifactName(retrievedModel.getName() + ".yml");
dcaeEvent.setEvent(DcaeEvent.EVENT_DISTRIBUTION);
CldsEvent.insEvent(cldsDao, dcaeEvent.getControlName(), userId, dcaeEvent.getCldsActionCd(),
CldsEvent.ACTION_STATE_RECEIVED, null);