summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-05-02 14:35:37 +0200
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-05-02 14:35:37 +0200
commitc1a1b175f3bd831303a54d87f20ad046f42cb085 (patch)
treee2f3f7112bd5a5ac84b854582635862ff26ebe82
parent81f07356b46b66037ddabda3d23eef0f5e4aa60f (diff)
Fix the Submit
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>
-rw-r--r--src/main/java/org/onap/clamp/clds/service/CldsService.java2
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 4d14590d7..cbed0c853 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("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);