Fix security bug in logs 10/130810/7
authorlukegleeson <luke.gleeson@est.tech>
Wed, 7 Sep 2022 13:21:36 +0000 (14:21 +0100)
committerlukegleeson <luke.gleeson@est.tech>
Tue, 27 Sep 2022 09:54:27 +0000 (10:54 +0100)
commitc9ec915d7d16b88f53493c85928d463d070df472
tree1c24d4f33f2e329ba1e45aa0a0a84947e289b1c1
parenta3f43505a0975b19814da8587a6f236193a8874d
Fix security bug in logs

When a method with signature containing "AuthPassword" is passed, the value returned is changed to *********** in logs
e.g...  Execution time of : DmiProperties.getAuthPassword() with argument[s] = *********** ...

Legacy code cleaning also included

Issue-ID: CPS-1226
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: Ic4914eae7e5ed6d361287413d17abfe50a3788ae
cps-service/src/main/java/org/onap/cps/aop/CpsLoggingAspectService.java
cps-service/src/test/groovy/org/onap/cps/aop/CpsLoggingAspectServiceSpec.groovy
docs/release-notes.rst