diff options
author | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-05-02 15:26:19 +0200 |
---|---|---|
committer | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-05-02 15:26:19 +0200 |
commit | a8fac9076df4cd037dc2896bd738245a1e8b6cfd (patch) | |
tree | accd6e680ea155e241baafeab783b576f67cd56c /src/main/java/org | |
parent | c1a1b175f3bd831303a54d87f20ad046f42cb085 (diff) |
Fix control name too big
Fix the sdc controller case in submit, use controlname instead of model
name
Issue-ID: CLAMP-151
Change-Id: I15181daee49b052f191db8af4368983261b3bcbf
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'src/main/java/org')
-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 cbed0c853..1b7606705 100644 --- a/src/main/java/org/onap/clamp/clds/service/CldsService.java +++ b/src/main/java/org/onap/clamp/clds/service/CldsService.java @@ -494,7 +494,7 @@ public class CldsService extends SecureServiceBase { // SDC artifact case logger.info("Skipping DCAE inventory call as closed loop has been created from SDC notification"); DcaeEvent dcaeEvent = new DcaeEvent(); - dcaeEvent.setArtifactName(retrievedModel.getName() + ".yml"); + dcaeEvent.setArtifactName(retrievedModel.getControlName() + ".yml"); dcaeEvent.setEvent(DcaeEvent.EVENT_DISTRIBUTION); CldsEvent.insEvent(cldsDao, dcaeEvent.getControlName(), userId, dcaeEvent.getCldsActionCd(), CldsEvent.ACTION_STATE_RECEIVED, null); |