Remove actor and recipe checks from ControlLoopCompiler.java 64/96764/3
authordg5762 <dg5762@att.com>
Tue, 8 Oct 2019 21:04:55 +0000 (16:04 -0500)
committerdg5762 <dg5762@att.com>
Tue, 15 Oct 2019 15:56:22 +0000 (10:56 -0500)
commitbd1e928680cbd46365d7a863c85f5274882a2a51
treed2b6960b03544172de8437e6a98061291381dfe9
parent0ee2ca49f61f75179f3118cbadd2406f7c72cfb3
Remove actor and recipe checks from ControlLoopCompiler.java

Remove actor and recipe checks from ControlLoopCompiler.java
and adjusted associated JUNIT tests for the changes that were
implented. Removed some redundant variables, replaced null check
in actor/recipe with blank string, which checks for null as
well as empty/blank strings. drools-applications still builds
correctly.

Issue-ID: POLICY-2128
Change-Id: I83d9e3b1152d87c9c8d2c90586300aebdd53b8e2
Signed-off-by: dg5762 <dg5762@att.com>
models-interactions/model-yaml/src/main/java/org/onap/policy/controlloop/compiler/ControlLoopCompiler.java
models-interactions/model-yaml/src/test/java/org/onap/policy/controlloop/compiler/ControlLoopCompilerTest.java
models-interactions/model-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopPolicyBuilderTest.java