Fix Sonar vulnerabilities and Bugs

Issue-ID: DMAAP-824
Change-Id: I0ed2982158f717436ddf2e7c919fa0aa6df37b15
Signed-off-by: sunil unnava <sunil.unnava@att.com>
7 files changed