inputs for 4.3.1 policy-handler - pdp hostname 51/67751/1
authorAlex Shatov <alexs@att.com>
Wed, 19 Sep 2018 14:40:28 +0000 (10:40 -0400)
committerAlex Shatov <alexs@att.com>
Wed, 19 Sep 2018 14:40:28 +0000 (10:40 -0400)
- k8s specific routing to policy-engine by hostname "pdp"
- relying on dns to resolve hostname "pdp" to ip address
- expecting to find "pdp" as the hostname in server cert from pdp

  policy_engine :
      url : "https://pdp:8081"

Change-Id: Ib6b7acfdf1faf26a6e2c86cf8a4f004bbbfd4121
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-611

input-templates/phinputs.yaml

index e252a9e..5643193 100644 (file)
@@ -45,8 +45,11 @@ application_config:
     # We obtain that info manually from PDP folks at the moment.
     # In long run we should figure out a way of bringing that info into consul record
     #    related to policy-engine itself.
+    # - k8s specific routing to policy-engine by hostname "pdp"
+    # - relying on dns to resolve hostname "pdp" to ip address
+    # - expecing to find "pdp" as the hostname in server cert from policy-engine
     policy_engine :
-        url : "https://{{ policy_ip_addr }}:8081"
+        url : "https://pdp:8081"
         path_notifications : "/pdp/notifications"
         path_api : "/pdp/api/"
         headers :