diff options
author | Alex Shatov <alexs@att.com> | 2018-03-20 11:44:19 -0400 |
---|---|---|
committer | Alex Shatov <alexs@att.com> | 2018-03-20 11:44:19 -0400 |
commit | 4dcedf5f1dbf8ec2725c4c92618279fc2291adae (patch) | |
tree | 0215eb0afe7d2c91f2373fefe1c72371dd8c1e83 | |
parent | 642257167b5239debb9196935048f9be96fd7fc2 (diff) |
blueprint for policy-handler 2.4.0
- 2.4.0 policy-handler uses dns based discovery of
deployment-handler - driven by config
- new data structure for deploy_handler section of config
-- changed from string "deployment_handler" in 2.3.1
to structure in 2.4.0
Change-Id: I7d3b6cf1f1111acc492eaf16c40e3e917918cebe
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-404
-rw-r--r-- | blueprints/policy_handler.yaml-template | 2 | ||||
-rw-r--r-- | blueprints/policy_handler_sample_app_config.yaml | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/blueprints/policy_handler.yaml-template b/blueprints/policy_handler.yaml-template index 6b53a4a..f066108 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:v2.3.1' + default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:v2.4.0' application_config: description: policy handler application configuration - requires info on policy-engine diff --git a/blueprints/policy_handler_sample_app_config.yaml b/blueprints/policy_handler_sample_app_config.yaml index 268df6f..928aea9 100644 --- a/blueprints/policy_handler_sample_app_config.yaml +++ b/blueprints/policy_handler_sample_app_config.yaml @@ -66,5 +66,12 @@ application_config: Authorization : "Basic {{ YOUR_POLICY_ENGINE_AUTHORIZATION }}" Environment : "{{ YOUR_POLICY_ENGINE_ENVIRONMENT }}" target_entity : "policy_engine" - # name of deployment-handler service in consul for policy-handler to direct the policy-updates to - deploy_handler : "deployment_handler" + + # deploy_handler config + # changed from string "deployment_handler" in 2.3.1 to structure in 2.4.0 + deploy_handler : + # name of deployment-handler service used by policy-handler for logging + target_entity : "deployment_handler" + # url of the deployment-handler service for policy-handler to direct the policy-updates to + # - expecting dns to resolve the name deployment_handler to ip address + url : "http://deployment_handler:8188" |