From 82a0bc419b85276c4d83de5c3cdcdffaa5e5b484 Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Fri, 29 Mar 2019 08:39:12 -0400 Subject: 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 Issue-ID: DCAEGEN2-1128 --- blueprints/k8s-policy_handler.yaml-template | 2 +- blueprints/policy_handler.yaml-template | 2 +- input-templates/phinputs.yaml | 1 + 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 : -- cgit 1.2.3-korg