Fix build error in drools-apps related to services 86/121186/2
authorJim Hahn <jrh3@att.com>
Fri, 7 May 2021 13:50:59 +0000 (09:50 -0400)
committerJim Hahn <jrh3@att.com>
Fri, 7 May 2021 14:18:58 +0000 (10:18 -0400)
commit2faa81d80569ce38a014e2a2ab404b1ea9f6899e
tree8be64fa1bd4795e5a0fe83bfd59fa926e0633cd0
parentd304f7d3a058b024ab413374e1a6065411903e3c
Fix build error in drools-apps related to services

Apparently, creating the event services in the rule file has broken the
junit test of the rules.  It appears that the http clients are not yet
loaded into the drools-pdp engine by the time the first rule fires, thus
the event manager is unable to initialize all of its actors.

Modified the junit to not start the rules until after the http clients
have been started.

Issue-ID: POLICY-3260
Change-Id: I83fe4ea9fa7ca24396019c18f0d77352fbe86db4
Signed-off-by: Jim Hahn <jrh3@att.com>
controlloop/common/controller-usecases/src/test/java/org/onap/policy/controlloop/UsecasesTest.java