Add basic auth header
[sdc.git] / openecomp-be / dist / sdc-onboard-backend-docker / artifacts / chef-repo / cookbooks / sdc-onboard-backend / templates / default / configuration.yaml.erb
1 catalogNotificationsConfig:
2     # catalog backend protocol
3     <% if node[:disableHttp] -%>
4     catalogBeProtocol: https
5     <% else %>
6     catalogBeProtocol: http
7     <% end -%>
8     catalogBeHttpPort: <%= @catalog_be_http_port %>
9     catalogBeSslPort: <%= @catalog_be_ssl_port %>
10     catalogBeFqdn: <%= @catalog_be_fqdn %>
11     # do not remove the "" from catalog_notification_url. it is escaping % characters coming from AUTO.json
12     catalogNotificationUrl: "<%= @catalog_notification_url %>"
13
14 notifications:
15     pollingIntervalMsec: 2000
16     selectionSize: 100
17     beHost: <%= @onboard_ip %>
18     beHttpPort: <%= @onboard_port %>
19
20 cassandraConfig:
21     cassandraHosts: [<%= @cassandra_ip %>]
22     cassandraPort: <%= @cassandra_port %>
23     localDataCenter: <%= @DC_NAME %>
24     reconnectTimeout : 30000
25     socketReadTimeout: <%= @socket_read_timeout %>
26     socketConnectTimeout: <%= @socket_connect_timeout %>
27     authenticate: true
28     username: <%= @cassandra_usr %>
29     password: <%= @cassandra_pwd %>
30     ssl: <%= @cassandra_ssl_enabled %>
31     truststorePath: /var/lib/jetty/etc/truststore
32     truststorePassword: <%= @cassandra_truststore_password %>
33
34 # access restriction
35 authCookie:
36   securityKey: MlB1WHFpSHNVTWdJZU1PcQ==
37   maxSessionTimeOut: 86400000
38   sessionIdleTimeOut: 3600000
39   cookieName: "AuthenticationCookie"
40   path: /
41   domain: ""
42   isHttpOnly: true
43   # redirect variable name from portal.properties file
44   redirectURL: "redirect_url"
45   excludedUrls: ['/.*']
46   onboardingExcludedUrls: ['/.*']
47
48 basicAuth:
49   enabled: <%= @basic_auth_enabled %>
50   userName: <%= @basic_auth_username %>
51   userPass: <%= @basic_auth_password %>
52   excludedUrls: "/v1.0/healthcheck"