Merge "Mounting logback.xml file to champ MS"
[oom.git] / kubernetes / dcaegen2 / charts / dcae-bootstrap / resources / inputs / k8s-policy_handler-inputs.yaml
1 #============LICENSE_START========================================================
2 #=================================================================================
3 # Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
4 # Modifications Copyright © 2018 Amdocs, Bell Canada
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #     http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
18
19 {{ if .Values.componentImages.policy_handler }}
20 policy_handler_image: {{ include "common.repository" . }}/{{ .Values.componentImages.policy_handler }}
21 {{ end }}
22 application_config:
23   policy_handler :
24     # parallelize the getConfig queries to policy-engine on each policy-update notification
25     thread_pool_size : 4
26
27     # parallelize requests to policy-engine and keep them alive
28     pool_connections : 20
29
30     # list of policyName prefixes (filters) that DCAE-Controller handles (=ignores any other policyName values)
31     scope_prefixes : ["DCAE.Config_"]
32
33     # retry to getConfig from policy-engine on policy-update notification
34     policy_retry_count : 5
35     policy_retry_sleep : 5
36
37     # policy-engine config
38     # These are the url of and the auth for the external system, namely the policy-engine (PDP).
39     # We obtain that info manually from PDP folks at the moment.
40     # In long run we should figure out a way of bringing that info into consul record
41     #    related to policy-engine itself.
42     policy_engine :
43         url : "http://{{ .Values.config.address.policy_pdp }}.{{include "common.namespace" . }}:8081"
44         path_pdp : "/pdp/"
45         path_api : "/pdp/api/"
46         headers :
47             Accept : "application/json"
48             "Content-Type" : "application/json"
49             ClientAuth : "cHl0aG9uOnRlc3Q="
50             Authorization : "Basic dGVzdHBkcDphbHBoYTEyMw=="
51             Environment : "TEST"
52         target_entity : "policy_engine"
53     # name of deployment-handler service in consul for policy-handler to direct the policy-updates to
54     deploy_handler : "deployment_handler"