diff options
author | Jim Hahn <jrh3@att.com> | 2021-04-13 14:22:19 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-04-13 14:23:53 -0400 |
commit | 9496f31d3b2a1674f57a0395d050be0d9c6b87f0 (patch) | |
tree | 374fc3402a011573f75e87168d98ec31f2ab1013 /controlloop/common/controller-usecases/src/main/java | |
parent | 6a394bb781d6e6216cf6f9ac2d2d8d788f9691ad (diff) |
Make op history classes work with generic events
Issue-ID: POLICY-3198
Change-Id: I5b80d35fbb523094ae5464e9c058fd8f2c71ff50
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/common/controller-usecases/src/main/java')
-rw-r--r-- | controlloop/common/controller-usecases/src/main/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManager.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/controlloop/common/controller-usecases/src/main/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManager.java b/controlloop/common/controller-usecases/src/main/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManager.java index 0649f1882..d586240d9 100644 --- a/controlloop/common/controller-usecases/src/main/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManager.java +++ b/controlloop/common/controller-usecases/src/main/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManager.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP * ================================================================================ - * Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -550,7 +550,8 @@ public class UsecasesEventManager extends ControlLoopEventManager implements Ste public void storeInDataBase(OperationOutcome2 outcome) { String targetEntity = getProperty(OperationProperties.AAI_TARGET_ENTITY); - getDataManager().store(requestIdStr, event, targetEntity, outcome.getClOperation()); + getDataManager().store(requestIdStr, event.getClosedLoopControlName(), event, targetEntity, + outcome.getClOperation()); } /** |