Skip putting non-primitive values from CBS config into PRH app environment 83/90283/1
authorgrabinsk <maciej.grabinski@nokia.com>
Fri, 21 Jun 2019 07:10:03 +0000 (09:10 +0200)
committergrabinsk <maciej.grabinski@nokia.com>
Fri, 21 Jun 2019 07:10:03 +0000 (09:10 +0200)
commit5763275d59e628eabcc08eae2aa1d32120d4c072
treea0519e11dde5f99f95c83355a267168413e69880
parentffe51aaf7b04f7f8be60b3b4c2e9cedb011439fe
Skip putting non-primitive values from CBS config into PRH app environment

Non-primitive properties are currently not used by app and cause serialization failure on 'actuator/env' endpoint.
The serialization issue is caused by fact, that swagger enforces switch to jackson and there are no proper gson's JsonObject serializers registered.

Change-Id: Id5cfb743282aeec7db88434f06815ae5cc9057a6
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsJsonToPropertyMapConverter.java
prh-app-server/src/test/java/org/onap/dcaegen2/services/bootstrap/CbsJsonToPropertyMapConverterTest.java