aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>2019-10-11 08:16:05 +0200
committerJoanna Jeremicz <joanna.jeremicz@nokia.com>2019-10-15 07:18:28 +0200
commit631161595acf32fd30721ef893d3266f809e6755 (patch)
treebbeddc1f6c6cd730f74489f4d0d69c2c89cf68a3
parent7fe8dbcfd53bd11bcb9b0b7fdb778af1b41aab1f (diff)
Add baseUrl parameter5.0.2-ONAPelalto
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. Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ia8d86c4dd3c20ffe7344799de9351d520aec0221
-rw-r--r--blueprints/k8s-prh.yaml-template6
1 files changed, 5 insertions, 1 deletions
diff --git a/blueprints/k8s-prh.yaml-template b/blueprints/k8s-prh.yaml-template
index 87a60f6..fe094da 100644
--- a/blueprints/k8s-prh.yaml-template
+++ b/blueprints/k8s-prh.yaml-template
@@ -27,6 +27,9 @@ inputs:
pnfUrl:
type: string
default: "https://aai.onap.svc.cluster.local:8443/aai/v12/network/pnfs/pnf"
+ baseUrl:
+ type: string
+ default: "https://aai.onap.svc.cluster.local:8443/aai/v12"
aaiEnrichmentHost:
type: string
default: aai.onap.svc.cluster.local
@@ -60,7 +63,7 @@ inputs:
default: "admin"
tag_version:
type: string
- default: "{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.services.prh.prh-app-server:1.2.2"
+ default: "{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.services.prh.prh-app-server:1.3.2"
replicas:
type: integer
description: number of instances
@@ -89,6 +92,7 @@ node_templates:
dmaap.dmaapUpdateProducerConfiguration.dmaapUserPassword: { get_input: dmaap_passwd }
dmaap.dmaapUpdateProducerConfiguration.dmaapContentType: "application/json"
aai.aaiClientConfiguration.pnfUrl: { get_input: pnfUrl }
+ aai.aaiClientConfiguration.baseUrl: { get_input: baseUrl }
aai.aaiClientConfiguration.aaiHost: { get_input: aaiEnrichmentHost }
aai.aaiClientConfiguration.aaiHostPortNumber: { get_input: aaiEnrichmentPort }
aai.aaiClientConfiguration.aaiProtocol: "https"