Create on boarding docker
[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     hostFe: <%= @fe_host_ip %>
36     <% if node[:disableHttp] -%>
37     protocolFe: https
38     portFe: <%= node['FE'][:https_port] %>
39     <% else %>
40     protocolFe: http
41     portFe: <%= node['FE'][:http_port] %>
42     <% end -%>
43     healthCheckUriFe: "/onboarding/v1.0/healthcheck"
44     hostBe: <%= node['ONBOARDING_BE_VIP'] %>
45     <% if node[:disableHttp] -%>
46     protocolBe: https
47     portBe: <%= node['ONBOARDING_BE'][:https_port] %>
48     <% else %>
49     protocolBe: http
50     portBe: <%= node['ONBOARDING_BE'][:http_port] %>
51     <% end -%>
52
53 dcae:
54     host: <%= @fe_host_ip %>
55     <% if node[:disableHttp] -%>
56     protocol: https
57     port: <%= node['FE'][:https_port] %> 
58     <% else %>
59     protocol: http
60     port: <%= node['FE'][:http_port] %> 
61     <% end -%>
62     healthCheckUri: "/dcae/healthCheck"
63
64 identificationHeaderFields: 
65    -
66         - &HTTP_IV_USER HTTP_IV_USER
67         - &iv-user iv-user
68    -
69         - &USER_ID USER_ID
70         - &user-id user-id
71    -
72         - &HTTP_CSP_ATTUID HTTP_CSP_ATTUID
73         - &csp-attuid csp-attuid
74
75 optionalHeaderFields:
76    -
77         - &HTTP_CSP_FIRSTNAME HTTP_CSP_FIRSTNAME
78         - &csp-firstname csp-firstname
79    -
80         - &HTTP_CSP_LASTNAME HTTP_CSP_LASTNAME
81         - &csp-lastname csp-lastname
82    -
83         - &HTTP_IV_REMOTE_ADDRESS HTTP_IV_REMOTE_ADDRESS
84         - &iv-remote-address iv-remote-address
85    -
86         - &HTTP_CSP_EMAIL HTTP_CSP_EMAIL
87         - &csp-email csp-email
88
89 version: 1.0
90 released: 2012-11-30
91
92 # Connection parameters
93 connection:
94     url: jdbc:mysql://localhost:3306/db
95     poolSize: 17
96
97 # Protocols
98 protocols:
99    - http
100    - https
101
102
103 systemMonitoring:
104     enabled: false
105     isProxy: true
106     probeIntervalInSeconds: 15
107
108 kibanaHost: <%= @kb_host_ip %>
109 kibanaPort: 5601
110 kibanaProtocol: http
111
112 healthStatusExclude:
113    - DE
114    - DMAPP
115    - DCAE