From 5808a7a9a9e07a2e294ba1ebd3c4794ce7c52f26 Mon Sep 17 00:00:00 2001 From: "Determe, Sebastien (sd378r)" Date: Tue, 6 Feb 2018 17:05:36 +0100 Subject: Add ACTION_SUBMITDCAE constant. Add ACTION_SUBMITDCAE constant or DCAE direct action Issue-ID: CLAMP-90 Change-Id: If5aca8e349ca1a4d9611874a189ff78a566a9d76 Signed-off-by: Determe, Sebastien (sd378r) --- src/main/java/org/onap/clamp/clds/model/CldsEvent.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main/java/org/onap/clamp/clds/model/CldsEvent.java b/src/main/java/org/onap/clamp/clds/model/CldsEvent.java index 3b9c1d21..f52a2956 100644 --- a/src/main/java/org/onap/clamp/clds/model/CldsEvent.java +++ b/src/main/java/org/onap/clamp/clds/model/CldsEvent.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP CLAMP * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights + * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights * reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -34,6 +34,8 @@ public class CldsEvent { public static final String ACTION_SUBMIT = "SUBMIT"; // an update before model is active public static final String ACTION_RESUBMIT = "RESUBMIT"; + // For simplified models + public static final String ACTION_SUBMITDCAE = "SUBMITDCAE"; // only from dcae public static final String ACTION_DISTRIBUTE = "DISTRIBUTE"; // only from dcae @@ -87,13 +89,14 @@ public class CldsEvent { * * @param cldsDao * @param model + * @param userId * @param actionCd * @param actionStateCd * @param processInstanceId * @return */ - public static CldsEvent insEvent(CldsDao cldsDao, CldsModel model, String userId, String actionCd, String actionStateCd, - String processInstanceId) { + public static CldsEvent insEvent(CldsDao cldsDao, CldsModel model, String userId, String actionCd, + String actionStateCd, String processInstanceId) { CldsEvent event = new CldsEvent(); event.setUserid(userId); event.setActionCd(actionCd); -- cgit 1.2.3-korg