summaryrefslogtreecommitdiffstats
path: root/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/configuration.yaml.erb
blob: 838a32334818f7daf171693996955ba7d02c5a7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
catalogNotificationsConfig:
    # catalog backend protocol
    <% if node[:disableHttp] -%>
    catalogBeProtocol: https
    <% else %>
    catalogBeProtocol: http
    <% end -%>
    catalogBeHttpPort: <%= @catalog_be_http_port %>
    catalogBeSslPort: <%= @catalog_be_ssl_port %>
    catalogBeFqdn: <%= @catalog_be_fqdn %>
    # do not remove the "" from catalog_notification_url. it is escaping % characters coming from AUTO.json
    catalogNotificationUrl: "<%= @catalog_notification_url %>"

notifications:
    pollingIntervalMsec: 2000
    selectionSize: 100
    beHost: <%= @onboard_ip %>
    beHttpPort: <%= @onboard_port %>

cassandraConfig:
    cassandraHosts: [<%= @cassandra_ip %>]
    localDataCenter: <%= @DC_NAME %>
    reconnectTimeout : 30000
    socketReadTimeout: <%= @socket_read_timeout %>
    socketConnectTimeout: <%= @socket_connect_timeout %>
    authenticate: true
    username: <%= @cassandra_usr %>
    password: <%= @cassandra_pwd %>
    ssl: <%= @cassandra_ssl_enabled %>
    truststorePath: /var/lib/jetty/etc/truststore
    truststorePassword: <%= @cassandra_truststore_password %>

# access restriction
authCookie:
  securityKey: MlB1WHFpSHNVTWdJZU1PcQ==
  maxSessionTimeOut: 86400000
  sessionIdleTimeOut: 3600000
  cookieName: "AuthenticationCookie"
  path: /
  domain: ""
  isHttpOnly: true
  # redirect variable name from portal.properties file
  redirectURL: "redirect_url"
  excludedUrls: ['/.*']
  onboardingExcludedUrls: ['/.*']