Stop referencing unused properties 16/75416/2
authordglFromAtt <dgl@research.att.com>
Mon, 7 Jan 2019 20:58:44 +0000 (15:58 -0500)
committerdglFromAtt <dgl@research.att.com>
Mon, 7 Jan 2019 21:32:39 +0000 (16:32 -0500)
commit2941d6a78d2eec8c6fb87d44e14f512b314e31f0
tree76a68e3a83e36ab9efd3449b396599a8415dc29f
parent536c6aabdfd2bcdc493501a9498fb8a97d208c0b
Stop referencing unused properties

A few fields for dmaap object were still being set assuming that values
came from properties file.  Furthermore, a private variable in the
DmaapService class was not set to  new value from request.
Result was that lack of property caused topicNsRoot field to be null,
and then the null was used to compose AAF action/instance values incorrectly.

Also fixed some test code to initialize properly.

Change-Id: Iffabf5728fdfb2f9496c7eb248cb1ed9e1cc1536
Signed-off-by: dglFromAtt <dgl@research.att.com>
Issue-ID: DMAAP-933
Signed-off-by: dglFromAtt <dgl@research.att.com>
src/main/java/org/onap/dmaap/dbcapi/database/DatabaseClass.java
src/main/java/org/onap/dmaap/dbcapi/service/DmaapService.java
src/test/java/org/onap/dmaap/dbcapi/resources/DR_SubResourceTest.java