Implement improved MinIo client
[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: 1200
28
29 # catalog ms (the host-port values need to be changed once it is deployed)
30 catalogFacadeMs:
31   protocol: http
32   host: <%= node['FACADE_VIP'] %>
33   port: <%= @facade_port %>
34   healthCheckUri: "/healthCheck"
35   path: "/uicache"
36
37 # Determines the health check read timeout when invoking health check towards the LB (or BE whatever is configured):
38 healthCheckSocketTimeoutInMs: 5000
39
40 healthCheckIntervalInSeconds: 5
41
42 basicAuth:
43   enabled: <%= @basic_auth_flag %>
44   userName: <%= @user_name %>
45   userPass: <%= @user_pass %>
46
47 onboarding:
48     hostFe: <%= @fe_host_ip %>
49     <% if node[:disableHttp] -%>
50     protocolFe: https
51     portFe: <%= node['FE'][:https_port] %>
52     <% else %>
53     protocolFe: http
54     portFe: <%= node['FE'][:http_port] %>
55     <% end -%>
56     healthCheckUriFe: "/onboarding/v1.0/healthcheck"
57     hostBe: <%= node['ONBOARDING_BE_VIP'] %>
58     <% if node[:disableHttp] -%>
59     protocolBe: https
60     portBe: <%= node['ONBOARDING_BE'][:https_port] %>
61     <% else %>
62     protocolBe: http
63     portBe: <%= node['ONBOARDING_BE'][:http_port] %>
64     <% end -%>
65
66 identificationHeaderFields:
67    -
68         - &HTTP_IV_USER HTTP_IV_USER
69         - &iv-user iv-user
70    -
71         - &USER_ID USER_ID
72         - &user-id user-id
73    -
74         - &HTTP_CSP_ATTUID HTTP_CSP_ATTUID
75         - &csp-attuid csp-attuid
76
77 optionalHeaderFields:
78    -
79         - &HTTP_CSP_FIRSTNAME HTTP_CSP_FIRSTNAME
80         - &csp-firstname csp-firstname
81    -
82         - &HTTP_CSP_LASTNAME HTTP_CSP_LASTNAME
83         - &csp-lastname csp-lastname
84    -
85         - &HTTP_IV_REMOTE_ADDRESS HTTP_IV_REMOTE_ADDRESS
86         - &iv-remote-address iv-remote-address
87    -
88         - &HTTP_CSP_EMAIL HTTP_CSP_EMAIL
89         - &csp-email csp-email
90
91 version: 1.0
92 released: 2012-11-30
93
94 # access restriction
95 authCookie:
96   cookieName: "AuthenticationCookie"
97   path: /
98   domain: ""
99   securityKey: <%= node['access_restriction_key'] %>
100
101
102 # Connection parameters
103 connection:
104     url: jdbc:mysql://localhost:3306/db
105     poolSize: 17
106
107 # Protocols
108 protocols:
109    - http
110    - https
111
112
113 systemMonitoring:
114     enabled: false
115     isProxy: true
116     probeIntervalInSeconds: 15
117
118
119 healthStatusExclude:
120    - DE
121    - DMAAP
122    - DCAE
123    - DMAAP_PRODUCER
124    - PORTAL
125    - CATALOG_FACADE_MS
126    - External API