Fix RestManager test issue 54/69554/1
authorJim Hahn <jrh3@att.com>
Sat, 29 Sep 2018 14:06:26 +0000 (10:06 -0400)
committerJim Hahn <jrh3@att.com>
Sat, 29 Sep 2018 14:09:26 +0000 (10:09 -0400)
commit01badaecbe2fbbfd0494e15b9684cc3236dee8f9
tree478911bbd45d16bfef1d85dfb33aa09adc7e2d5d
parent53f06d93dc2c4d292ea1c7dad24df0d72cc01dc5
Fix RestManager test issue

Apparently drools-pdp code depends on Dmaap topic factories throwing
IllegalArgumentException instead of IllegalStateException (which is what
the other topic factories throw) when an unknown topic name is requested.
Therefore, the change to make them consistent has been backed out.

Change-Id: Ia3d7e26a61027977eb626c9ddad6369982eae002
Issue-ID: POLICY-1148
Signed-off-by: Jim Hahn <jrh3@att.com>
policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/DmaapTopicSinkFactory.java
policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/DmaapTopicSourceFactory.java
policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/DmaapTopicFactoryTestBase.java