Sync Integ to Master
[sdc.git] / catalog-fe / sdc-frontend / chef-repo / cookbooks / sdc-catalog-fe / templates / default / FE-configuration.yaml.erb
1 # Needed for logging purposes. To be populated by DevOps - currently dummy
2 feFqdn: <%= @fe_host_ip %>
3
4 # catalog backend hostname
5 beHost: <%= @be_host_ip %>
6
7 # catalog backend http port
8 beHttpPort: <%= @catalog_port %>
9
10 # catalog backend http context
11 beContext: /sdc2/rest/v1/catalog/upload/resources
12
13 # catalog backend protocol
14 <% if node[:disableHttp] -%>
15 beProtocol: https
16 <% else %>
17 beProtocol: http
18 <% end -%>
19
20 # catalog backend ssl port
21 beSslPort: <%= @ssl_port %>
22
23 # threadpool size for handling requests
24 threadpoolSize: 50
25
26 # request processing timeout (seconds)
27 requestTimeout: 10
28
29 # Determines the health check read timeout when invoking health check towards the LB (or BE whatever is configured):
30 healthCheckSocketTimeoutInMs: 5000
31
32 healthCheckIntervalInSeconds: 5
33
34 onboarding:
35     host: <%= @fe_host_ip %>
36     <% if node[:disableHttp] -%>
37     protocol: https
38     port: <%= node['FE'][:https_port] %> 
39     <% else %>
40     protocol: http
41     port: <%= node['FE'][:http_port] %> 
42     <% end -%>
43     healthCheckUri: "/onboarding/v1.0/healthcheck"
44
45 dcae:
46     host: <%= @fe_host_ip %>
47     <% if node[:disableHttp] -%>
48     protocol: https
49     port: <%= node['FE'][:https_port] %> 
50     <% else %>
51     protocol: http
52     port: <%= node['FE'][:http_port] %> 
53     <% end -%>
54     healthCheckUri: "/dcae/healthCheck"
55
56 dcae:
57     protocol: http
58     host: localhost
59     port: 8181
60     healthCheckUri: "/dcae/healthCheck"
61
62 identificationHeaderFields: 
63    -
64         - &HTTP_IV_USER HTTP_IV_USER
65         - &iv-user iv-user
66    -
67         - &USER_ID USER_ID
68         - &user-id user-id
69    -
70         - &HTTP_CSP_ATTUID HTTP_CSP_ATTUID
71         - &csp-attuid csp-attuid
72
73 optionalHeaderFields:
74    -
75         - &HTTP_CSP_FIRSTNAME HTTP_CSP_FIRSTNAME
76         - &csp-firstname csp-firstname
77    -
78         - &HTTP_CSP_LASTNAME HTTP_CSP_LASTNAME
79         - &csp-lastname csp-lastname
80    -
81         - &HTTP_IV_REMOTE_ADDRESS HTTP_IV_REMOTE_ADDRESS
82         - &iv-remote-address iv-remote-address
83    -
84         - &HTTP_CSP_EMAIL HTTP_CSP_EMAIL
85         - &csp-email csp-email
86
87 version: 1.0
88 released: 2012-11-30
89
90 # Connection parameters
91 connection:
92     url: jdbc:mysql://localhost:3306/db
93     poolSize: 17
94
95 # Protocols
96 protocols:
97    - http
98    - https
99
100
101 systemMonitoring:
102     enabled: false
103     isProxy: true
104     probeIntervalInSeconds: 15
105
106 kibanaHost: <%= @kb_host_ip %>
107 kibanaPort: 5601
108 kibanaProtocol: http
109
110 healthStatusExclude:
111    - DE
112    - ES
113    - DMAAP