aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-distribution-engine-configuration.yaml.erb
blob: 0fa6936f74b3a2edbc1285b7e7a2ca1c4499462b (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
71
72
73
74
75
76
77
78
79
80
81
82
uebServers:
    <% node['UEB']['fqdn'].each do |conn| -%>
        - <%= conn %>
    <% end -%>

uebPublicKey: <%= node['UEB']['PublicKey'] %>
uebSecretKey: <%= node['UEB']['SecretKey'] %>

distributionNotifTopicName: SDC-DISTR-NOTIF-TOPIC
distributionStatusTopicName: SDC-DISTR-STATUS-TOPIC

initRetryIntervalSec: 5
initMaxIntervalSec: 60

distribNotifServiceArtifactTypes:
  info:
      - MURANO-PKG

distribNotifResourceArtifactTypes:
  lifecycle:
      - HEAT
      - DG-XML

environments:
   - <%= node.chef_environment %>

distributionStatusTopic:
   pollingIntervalSec: 60
   fetchTimeSec: 15
   consumerGroup: sdc-<%= node.chef_environment %>
   consumerId: sdc-<%= node.chef_environment %>1


distributionNotificationTopic:
   minThreadPoolSize: 0
   maxThreadPoolSize: 10
   maxWaitingAfterSendingSeconds: 5

createTopic:
   partitionCount: 1
   replicationCount: 1

startDistributionEngine: true

#This is false by default, since ONAP Dmaap currently doesn't support https
useHttpsWithDmaap: false
opEnvRecoveryIntervalSec: 180
allowedTimeBeforeStaleSec: 300

aaiConfig:
   httpRequestConfig:
      serverRootUrl: https://localhost:8443
      resourceNamespaces:
         operationalEnvironments: /aai/v12/cloud-infrastructure/operational-environments

   httpClientConfig:
      timeouts:
         readTimeoutMs: 5000
         connectTimeoutMs: 1000
      clientCertificate:
         keyStore: /var/lib/jetty/base/be/etc/non-prod.jks
         keyStorePassword: hmXYcznAljMSisdy8zgcag==
      headers:
         X-FromAppId: asdc
      numOfRetries: 3

msoConfig:
   httpRequestConfig:
      serverRootUrl: http://127.0.0.1:8080/onap/mso/infra/modelDistributions/v1
      resourceNamespaces:
         distributions: /distributions

   httpClientConfig:
       timeouts:
          readTimeoutMs: 2000
          connectTimeoutMs: 500
       basicAuthorization:
          userName: asdc
          password: OTLEp5lfVhYdyw5EAtTUBQ==
       numOfRetries: 3
       
currentArtifactInstallationTimeout: 120