diff options
author | Joanna Jeremicz <joanna.jeremicz@nokia.com> | 2019-10-10 15:26:50 +0200 |
---|---|---|
committer | Joanna Jeremicz <joanna.jeremicz@nokia.com> | 2019-10-10 16:24:38 +0200 |
commit | fb245c467048eb70b0b9f944c1a64f6f7b55bd4a (patch) | |
tree | e770af655567bbe7d95424fe05707ee5551c2aec /prh-app-server/src/main/java | |
parent | 95030378257af92a2f56e3d08e6a7c0ab61b8a8b (diff) |
Add baseUrl support
Add support for baseUrl usage. It is needed for handling objects other than pnfs from the inventory.
BaseUrl is necessary for fixing the existing bug, where pnf path is used to get service-instance from AAI.
Change-Id: I6ab95f54316ae4d57867e1bc29fefcf6ff698ee3
Issue-ID: INT-1181
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Diffstat (limited to 'prh-app-server/src/main/java')
-rw-r--r-- | prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsContentParser.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsContentParser.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsContentParser.java index 85b4c035..ebb29f36 100644 --- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsContentParser.java +++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsContentParser.java @@ -113,6 +113,7 @@ class CbsContentParser { AaiClientConfiguration getAaiClientConfig() { return new ImmutableAaiClientConfiguration.Builder() .pnfUrl(jsonObject.get("aai.aaiClientConfiguration.pnfUrl").getAsString()) + .baseUrl(jsonObject.get("aai.aaiClientConfiguration.baseUrl").getAsString()) .aaiUserName(jsonObject.get("aai.aaiClientConfiguration.aaiUserName").getAsString()) .aaiServiceInstancePath(jsonObject.get("aai.aaiClientConfiguration.aaiServiceInstancePath").getAsString()) .aaiIgnoreSslCertificateErrors( |