summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2019-03-29 08:39:12 -0400
committerAlex Shatov <alexs@att.com>2019-03-29 08:39:12 -0400
commit82a0bc419b85276c4d83de5c3cdcdffaa5e5b484 (patch)
tree6e6a39b4473837468dab5e48188ed68a579a453f
parenta514280e2833b24db673fd58269f6fff1b8458a0 (diff)
blueprint for 5.0.0 policy-handler new PDP API
- in R4 Dublin the policy-engine introduced a totally new API - policy-handler now has a startup option to either use = the new PDP API (default) = or the old PDP API that was created-updated before the end of 2018 - to use the old PDP API requires changing either the etc/config.json or setting up a non-empty env var PDP_API_VERSION on startup: export PDP_API_VERSION=2018 docker run ... -e PDP_API_VERSION ... Change-Id: I92941e908849baa94454ae6b094754965a37d470 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-1128
-rw-r--r--blueprints/k8s-policy_handler.yaml-template2
-rw-r--r--blueprints/policy_handler.yaml-template2
-rw-r--r--input-templates/phinputs.yaml1
3 files changed, 3 insertions, 2 deletions
diff --git a/blueprints/k8s-policy_handler.yaml-template b/blueprints/k8s-policy_handler.yaml-template
index 6667390..3b2e071 100644
--- a/blueprints/k8s-policy_handler.yaml-template
+++ b/blueprints/k8s-policy_handler.yaml-template
@@ -32,7 +32,7 @@ inputs:
policy_handler_image:
description: Docker image for policy_handler
- default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:4.6.0'
+ default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:5.0.0'
application_config:
description: policy handler application configuration - requires info on policy-engine
diff --git a/blueprints/policy_handler.yaml-template b/blueprints/policy_handler.yaml-template
index 51976a0..29e66e6 100644
--- a/blueprints/policy_handler.yaml-template
+++ b/blueprints/policy_handler.yaml-template
@@ -39,7 +39,7 @@ inputs:
policy_handler_image:
description: Docker image for policy_handler
- default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:4.6.0'
+ default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:5.0.0'
application_config:
description: policy handler application configuration - requires info on policy-engine
diff --git a/input-templates/phinputs.yaml b/input-templates/phinputs.yaml
index 4078208..bbdab63 100644
--- a/input-templates/phinputs.yaml
+++ b/input-templates/phinputs.yaml
@@ -53,6 +53,7 @@ application_config:
# related to policy-engine itself.
policy_engine :
url : "http://{{ policy_ip_addr }}:8081"
+ path_decision : "/decision/v1"
path_notifications : "/pdp/notifications"
path_api : "/pdp/api/"
headers :