diff options
author | Lusheng Ji <lji@research.att.com> | 2017-10-15 16:37:33 -0400 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2017-10-15 18:58:12 -0400 |
commit | 1b2af345c84aa26ce9710319a30f2f1a1e2781e4 (patch) | |
tree | 82b0f0aaf9e8cfaba276b428da4b10499f42de3a /input-templates/phinputs.yaml | |
parent | b004cbc5f697c6c6f5011eab66115c584a732766 (diff) |
Add BP input templates
Issue-Id: DCAEGEN2-128
Change-Id: I0f7de519b6c327b421f4d47f8cf6ee6d819c618a
Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'input-templates/phinputs.yaml')
-rw-r--r-- | input-templates/phinputs.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/input-templates/phinputs.yaml b/input-templates/phinputs.yaml new file mode 100644 index 0000000..feb86f1 --- /dev/null +++ b/input-templates/phinputs.yaml @@ -0,0 +1,33 @@ +application_config: + policy_handler : + # parallelize the getConfig queries to policy-engine on each policy-update notification + thread_pool_size : 4 + + # parallelize requests to policy-engine and keep them alive + pool_connections : 20 + + # list of policyName prefixes (filters) that DCAE-Controller handles (=ignores any other policyName values) + scope_prefixes : ["DCAE.Config_"] + + # retry to getConfig from policy-engine on policy-update notification + policy_retry_count : 5 + policy_retry_sleep : 5 + + # policy-engine config + # These are the url of and the auth for the external system, namely the policy-engine (PDP). + # 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. + policy_engine : + url : "https://peawiv9nspd01.pedc.sbc.com:8081" + path_pdp : "/pdp/" + path_api : "/pdp/api/" + headers : + Accept : "application/json" + "Content-Type" : "application/json" + ClientAuth : "Basic bTAzOTQ5OnBvbGljeVIwY2sk" + Authorization : "Basic dGVzdHBkcDphbHBoYTEyMw==" + Environment : "TEST" + target_entity : "policy_engine" + # name of deployment-handler service in consul for policy-handler to direct the policy-updates to + deploy_handler : "deployment_handler" |