Catalog alignment
[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 # 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 onboarding:
43     hostFe: <%= @fe_host_ip %>
44     <% if node[:disableHttp] -%>
45     protocolFe: https
46     portFe: <%= node['FE'][:https_port] %>
47     <% else %>
48     protocolFe: http
49     portFe: <%= node['FE'][:http_port] %>
50     <% end -%>
51     healthCheckUriFe: "/onboarding/v1.0/healthcheck"
52     hostBe: <%= node['ONBOARDING_BE_VIP'] %>
53     <% if node[:disableHttp] -%>
54     protocolBe: https
55     portBe: <%= node['ONBOARDING_BE'][:https_port] %>
56     <% else %>
57     protocolBe: http
58     portBe: <%= node['ONBOARDING_BE'][:http_port] %>
59     <% end -%>
60
61 dcae:
62     host: <%= @dcae_fe_vip %>
63     <% if node[:disableHttp] -%>
64     protocol: https
65     port: <%= node['DCAE']['FE'][:https_port] %>
66     <% else %>
67     protocol: http
68     port: <%= node['DCAE']['FE'][:http_port] %>
69     <% end -%>
70     healthCheckUri: "/dcaed/healthCheck"
71
72 identificationHeaderFields: 
73    -
74         - &HTTP_IV_USER HTTP_IV_USER
75         - &iv-user iv-user
76    -
77         - &USER_ID USER_ID
78         - &user-id user-id
79    -
80         - &HTTP_CSP_ATTUID HTTP_CSP_ATTUID
81         - &csp-attuid csp-attuid
82
83 optionalHeaderFields:
84    -
85         - &HTTP_CSP_FIRSTNAME HTTP_CSP_FIRSTNAME
86         - &csp-firstname csp-firstname
87    -
88         - &HTTP_CSP_LASTNAME HTTP_CSP_LASTNAME
89         - &csp-lastname csp-lastname
90    -
91         - &HTTP_IV_REMOTE_ADDRESS HTTP_IV_REMOTE_ADDRESS
92         - &iv-remote-address iv-remote-address
93    -
94         - &HTTP_CSP_EMAIL HTTP_CSP_EMAIL
95         - &csp-email csp-email
96
97 version: 1.0
98 released: 2012-11-30
99
100 # access restriction
101 authCookie:
102   cookieName: "AuthenticationCookie"
103   path: /
104   domain: ""
105   securityKey: <%= node['access_restriction_key'] %>
106
107
108 # Connection parameters
109 connection:
110     url: jdbc:mysql://localhost:3306/db
111     poolSize: 17
112
113 # Protocols
114 protocols:
115    - http
116    - https
117
118
119 systemMonitoring:
120     enabled: false
121     isProxy: true
122     probeIntervalInSeconds: 15
123
124
125 healthStatusExclude:
126    - DE
127    - DMAAP
128    - DCAE
129    - DMAAP_PRODUCER
130    - PORTAL