ActorService constructor should be public 37/102437/1
authorJim Hahn <jrh3@att.com>
Wed, 26 Feb 2020 18:37:21 +0000 (13:37 -0500)
committerJim Hahn <jrh3@att.com>
Wed, 26 Feb 2020 18:37:21 +0000 (13:37 -0500)
commit7cf4ed6d9a5701be62f50facb4661461a5b15f09
tree05f87a0a71fcbd9f6b607907ed900859c1a27c7f
parentaa2e18733fbaa2a0910091eca9677c076c53f454
ActorService constructor should be public

Now that ActorService is no longer a singleton, the constructor
should be public so other classes can create an instance.
Also added a test to verify that each ActorService instance gets
its own instances of the actors.

Issue-ID: POLICY-1625
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I78cabecc0ca6b355696a5d27489a4e59b6e7c012
models-interactions/model-actors/actorServiceProvider/src/main/java/org/onap/policy/controlloop/actorserviceprovider/ActorService.java
models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/ActorServiceProviderTest.java