aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/configuration.yaml.erb
blob: 3b0211433456fa991c68c59e7e8fd71e53fd2cbe (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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 %> ]
  cassandraPort: <%= @cassandra_port %>
  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: <%= node['jetty']['truststore_path'] %>
  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: [ '/.*' ]

basicAuth:
  enabled: <%= @basic_auth_enabled %>
  userName: <%= @basic_auth_username %>
  userPass: <%= @basic_auth_password %>
  excludedUrls: "/v1.0/healthcheck"

zipValidation:
  ignoreManifest: false

externalCsarStore:
  storageType: NONE # NONE, MINIO
  endpoint:
    host: 127.0.0.1
    port: 9000
    secure: false
  credentials:
    accessKey: "login"
    secretKey: "password"
  foldersToStrip:
    - Files/images
  sizeLimit: 10000000
  thresholdEntries: 10000
  tempPath: "/home/onap/temp/"