diff options
author | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-02-06 17:05:36 +0100 |
---|---|---|
committer | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-02-06 17:05:36 +0100 |
commit | 5808a7a9a9e07a2e294ba1ebd3c4794ce7c52f26 (patch) | |
tree | 133055320f33945a46965f4ce7aa3e00a6027300 /src/main/java/org | |
parent | 8520e52a00d52dc5db202268668ed88389b3bc0d (diff) |
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) <sd378r@intl.att.com>
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/onap/clamp/clds/model/CldsEvent.java | 9 |
1 files changed, 6 insertions, 3 deletions
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 3b9c1d21b..f52a29568 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); |