From 6084c6dcf5bf061f33204e01116573160bf39fa6 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Mon, 23 Mar 2020 15:49:28 -0400 Subject: Enable guards in junit tests Flipped the flag(s) to enable guard checks in the various junit tests for the Usecases and Frankfurt controllers. Note: the guard checks use the guard simulator. Modified new actor code to not include operation history on first "guard denied" report (i.e., make it work like usecases does). Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn Change-Id: I2897da4a0c8fb76fa00cb0f6cf8562c0703005d3 --- .../src/main/feature/config/event-manager.properties | 3 +++ 1 file changed, 3 insertions(+) (limited to 'controlloop/common/feature-controlloop-management') diff --git a/controlloop/common/feature-controlloop-management/src/main/feature/config/event-manager.properties b/controlloop/common/feature-controlloop-management/src/main/feature/config/event-manager.properties index 7c90703ae..21476847f 100644 --- a/controlloop/common/feature-controlloop-management/src/main/feature/config/event-manager.properties +++ b/controlloop/common/feature-controlloop-management/src/main/feature/config/event-manager.properties @@ -32,6 +32,9 @@ operation.history.password=${env:SQL_PASSWORD} actor.service.GUARD.disabled=${envd:GUARD_DISABLED:false} actor.service.GUARD.clientName=GUARD +actor.service.GUARD.onapName=Policy +actor.service.GUARD.onapComponent=Drools PDP +actor.service.GUARD.onapInstance=Frankfurt actor.service.GUARD.operations.Decision.path=decision actor.service.AAI.clientName=AAI -- cgit 1.2.3-korg