Add pnfUrl field 48/84348/1
authorgrabinsk <maciej.grabinski@nokia.com>
Fri, 5 Apr 2019 13:13:18 +0000 (15:13 +0200)
committergrabinsk <maciej.grabinski@nokia.com>
Fri, 5 Apr 2019 13:13:18 +0000 (15:13 +0200)
commit2abfecad9aeb88ba95d62d718376535fb6e00325
tree58d92becb52f8882207c948975ef0fcc36c2b669
parentd7fa23e2912dd4a4a28b79bdfbb92c9b33b55f49
Add pnfUrl field

Due to changes in the aai client configuration json old parameters aaiHost, aaiProtocol, aaiPort, aaiBasePath, aaiPnfPath will be replaced by pnfUrl

Change-Id: Ifd8841f8a80d743a95e3b0ea7d868eda923febca
Issue-ID: DCAEGEN2-1398
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/AppConfig.java
prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CloudConfigParser.java
prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/TestAppConfiguration.java
prh-app-server/src/test/resources/correct_config.json
prh-app-server/src/test/resources/flattened_configuration.json
prh-app-server/src/test/resources/incorrect_config.json