blueprint for 5.0.0 policy-handler new PDP API 21/83721/1
authorAlex Shatov <alexs@att.com>
Fri, 29 Mar 2019 12:39:12 +0000 (08:39 -0400)
committerAlex Shatov <alexs@att.com>
Fri, 29 Mar 2019 12:39:12 +0000 (08:39 -0400)
- 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

blueprints/k8s-policy_handler.yaml-template
blueprints/policy_handler.yaml-template
input-templates/phinputs.yaml

index 6667390..3b2e071 100644 (file)
@@ -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
index 51976a0..29e66e6 100644 (file)
@@ -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
index 4078208..bbdab63 100644 (file)
@@ -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 :