0f11a3e6f1d2d0d12c96ff2028d17a2c0c995ad8
[sdc.git] / asdctool / sdc-cassandra-init / chef-repo / cookbooks / cassandra-actions / templates / default / configuration.yaml.erb
1 identificationHeaderFields:
2    - HTTP_IV_USER
3    - HTTP_CSP_FIRSTNAME
4    - HTTP_CSP_LASTNAME
5    - HTTP_IV_REMOTE_ADDRESS
6    - HTTP_CSP_WSTYPE
7
8
9 # catalog backend hostname
10 beFqdn: <%= @host_ip %>
11
12 # catalog backend http port
13 beHttpPort: <%= @catalog_port %>
14
15 # catalog backend http context
16 beContext: /sdc/rest/config/get
17
18 # catalog backend protocol
19 <% if node[:disableHttp] -%>
20 beProtocol: https
21 <% else %>
22 beProtocol: http
23 <% end -%>
24
25 # catalog backend ssl port
26 beSslPort: <%= @ssl_port %>
27 version: 1.0
28 released: 2012-11-30
29 toscaConformanceLevel: 11.0
30 minToscaConformanceLevel: 3.0
31
32 janusGraphCfgFile: <%= @janusgraph_Path %>/janusgraph.properties
33 janusGraphInMemoryGraph: false
34 janusGraphLockTimeout: 1800
35 # The interval to try and reconnect to JanusGraph DB when it is down during ASDC startup:
36 janusGraphReconnectIntervalInSeconds: 3
37
38 # The read timeout towards JanusGraph DB when health check is invoked:
39 janusGraphHealthCheckReadTimeout: 1
40
41 # The interval to try and reconnect to Elasticsearch when it is down during ASDC startup:
42
43
44 uebHealthCheckReconnectIntervalInSeconds: 15
45 uebHealthCheckReadTimeout: 4
46
47 # Protocols
48 protocols:
49    - http
50    - https
51
52 # Default imports
53 defaultImports:
54    - nodes:
55         file: nodes.yml
56    - datatypes:
57         file: data.yml
58    - capabilities:
59         file: capabilities.yml
60    - relationships:
61         file: relationships.yml
62    - groups:
63         file: groups.yml
64    - policies:
65         file: policies.yml
66
67 # Users
68 users:
69     tom: passwd
70     bob: passwd
71
72
73 cassandraConfig:
74     cassandraHosts: [<%= @cassandra_ip %>]
75     cassandraPort: <%= @cassandra_port %>
76     localDataCenter: <%= @DC_NAME %>
77     reconnectTimeout : 30000
78     socketReadTimeout: <%= @socket_read_timeout %>
79     socketConnectTimeout: <%= @socket_connect_timeout %>
80     authenticate: true
81     username: asdc_user
82     password: Aa1234%^!
83     ssl: false
84     truststorePath : /config/.truststore
85     truststorePassword : Aa123456
86     maxWaitSeconds: 120
87     keySpaces:
88         - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
89         - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
90         - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
91         - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
92         - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
93
94 licenseTypes:
95    - User
96    - Installation
97    - CPU
98
99 #Deployment artifacts placeHolder
100 resourceTypes: &allResourceTypes
101   - VFC
102   - CP
103   - VL
104   - VF
105   - VFCMT
106   - Abstract
107   - CVFC
108
109
110 deploymentResourceArtifacts:
111
112 deploymentResourceInstanceArtifacts:
113   heatEnv:
114       displayName: "HEAT ENV"
115       type: HEAT_ENV
116       description: "Auto-generated HEAT Environment deployment artifact"
117       fileExtension: "env"
118   VfHeatEnv:
119       displayName: "VF HEAT ENV"
120       type: HEAT_ENV
121       description: "VF Auto-generated HEAT Environment deployment artifact"
122       fileExtension: "env"
123
124 #tosca artifacts placeholders
125 toscaArtifacts:
126   assetToscaTemplate:
127       artifactName: -template.yml
128       displayName: Tosca Template
129       type: TOSCA_TEMPLATE
130       description: TOSCA representation of the asset
131   assetToscaCsar:
132       artifactName: -csar.csar
133       displayName: Tosca Model
134       type: TOSCA_CSAR
135       description: TOSCA definition package of the asset
136
137 #Informational artifacts placeHolder
138 excludeResourceCategory:
139   - Generic
140 excludeResourceType:
141   - PNF
142 informationalResourceArtifacts:
143   features:
144       displayName: Features
145       type: OTHER
146   capacity:
147       displayName: Capacity
148       type: OTHER
149   vendorTestResult:
150       displayName: Vendor Test Result
151       type: OTHER
152   testScripts:
153       displayName: Test Scripts
154       type: OTHER
155   CloudQuestionnaire:
156       displayName: Cloud Questionnaire (completed)
157       type: OTHER
158   HEATTemplateFromVendor:
159       displayName: HEAT Template from Vendor
160       type: HEAT
161   resourceSecurityTemplate:
162       displayName: Resource Security Template
163       type: OTHER
164
165 excludeServiceCategory:
166
167 informationalServiceArtifacts:
168   serviceArtifactPlan:
169       displayName: Service Artifact Plan
170       type: OTHER
171   summaryOfImpactsToECOMPElements:
172       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
173       type: OTHER
174   controlLoopFunctions:
175       displayName: Control Loop Functions
176       type: OTHER
177   dimensioningInfo:
178       displayName: Dimensioning Info
179       type: OTHER
180   affinityRules:
181       displayName: Affinity Rules
182       type: OTHER
183   operationalPolicies:
184       displayName: Operational Policies
185       type: OTHER
186   serviceSpecificPolicies:
187       displayName: Service-specific Policies
188       type: OTHER
189   engineeringRules:
190       displayName: Engineering Rules (ERD)
191       type: OTHER
192   distributionInstructions:
193       displayName: Distribution Instructions
194       type: OTHER
195   certificationTestResults:
196       displayName: TD Certification Test Results
197       type: OTHER
198   deploymentVotingRecord:
199       displayName: Deployment Voting Record
200       type: OTHER
201   serviceQuestionnaire:
202       displayName: Service Questionnaire
203       type: OTHER
204   serviceSecurityTemplate:
205       displayName: Service Security Template
206       type: OTHER
207
208 serviceApiArtifacts:
209   configuration:
210       displayName: Configuration
211       type: OTHER
212   instantiation:
213       displayName: Instantiation
214       type: OTHER
215   monitoring:
216       displayName: Monitoring
217       type: OTHER
218   reporting:
219       displayName: Reporting
220       type: OTHER
221   logging:
222       displayName: Logging
223       type: OTHER
224   testing:
225       displayName: Testing
226       type: OTHER
227
228 additionalInformationMaxNumberOfKeys: 50
229
230 systemMonitoring:
231     enabled: false
232     isProxy: false
233     probeIntervalInSeconds: 15
234
235 heatArtifactDeploymentTimeout:
236   defaultMinutes: 30
237   minMinutes: 1
238   maxMinutes: 120
239
240 unLoggedUrls:
241    - /sdc2/rest/healthCheck
242
243 cleanComponentsConfiguration:
244     cleanIntervalInMinutes: 1440
245     componentsToClean:
246        - Resource
247        - Service
248
249 artifactsIndex: resources
250
251 heatEnvArtifactHeader: ""
252 heatEnvArtifactFooter: ""
253
254 # #GSS IDNS
255 switchoverDetector:
256     gBeFqdn:
257     gFeFqdn:
258     beVip: 1.2.3.4
259     feVip: 1.2.3.4
260     beResolveAttempts: 3
261     feResolveAttempts: 3
262     enabled: false
263     interval: 60
264     changePriorityUser: ecompasdc
265     changePriorityPassword: ecompasdc123
266     publishNetworkUrl:
267     publishNetworkBody: '{"note":"comment"}'
268     groups:
269       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
270       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
271
272 applicationL1Cache:
273     datatypes:
274         enabled: true
275         firstRunDelay: 10
276         pollIntervalInSec: 60
277
278 applicationL2Cache:
279     enabled: false
280     catalogL1Cache:
281         enabled: false
282         resourcesSizeInCache: 300
283         servicesSizeInCache: 200
284         productsSizeInCache: 100
285     queue:
286         syncIntervalInSecondes: 43200
287         waitOnShutDownInMinutes: 10
288         numberOfCacheWorkers: 4
289
290 toscaValidators:
291     stringMaxLength: 2500
292
293 disableAudit: false
294 vfModuleProperties:
295     min_vf_module_instances:
296         forBaseModule: 1
297         forNonBaseModule: 0
298     max_vf_module_instances:
299         forBaseModule: 1
300         forNonBaseModule:
301     initial_count:
302         forBaseModule: 1
303         forNonBaseModule: 0
304     vf_module_type:
305         forBaseModule: Base
306         forNonBaseModule: Expansion
307
308 genericAssetNodeTypes:
309   VFC: org.openecomp.resource.abstract.nodes.VFC
310   CVFC: org.openecomp.resource.abstract.nodes.VFC
311   VF : org.openecomp.resource.abstract.nodes.VF
312   PNF: org.openecomp.resource.abstract.nodes.PNF
313   Service: org.openecomp.resource.abstract.nodes.service
314
315 workloadContext: Production
316
317 environmentContext:
318     defaultValue: General_Revenue-Bearing
319     validValues:
320        - Critical_Revenue-Bearing
321        - Vital_Revenue-Bearing
322        - Essential_Revenue-Bearing
323        - Important_Revenue-Bearing
324        - Needed_Revenue-Bearing
325        - Useful_Revenue-Bearing
326        - General_Revenue-Bearing
327        - Critical_Non-Revenue
328        - Vital_Non-Revenue
329        - Essential_Non-Revenue
330        - Important_Non-Revenue
331        - Needed_Non-Revenue
332        - Useful_Non-Revenue
333        - General_Non-Revenue
334
335 gabConfig:
336   - artifactType: 'VES_EVENTS'
337     pathsAndNamesDefinitions:
338       -
339         friendlyName: "Action"
340         path: "event.action[2]"
341         searchable: "true"
342       -
343         friendlyName: "Comment"
344         path: "event.comment"
345         searchable: "true"
346       -
347         friendlyName: "Alarm Additional Information"
348         path: "event.structure.faultFields.structure.alarmAdditionalInformation.comment"
349         searchable: "true"
350
351 dmaapConsumerConfiguration:
352     hosts: localhost:3905
353     consumerGroup: sdc
354     consumerId: mama
355     timeoutMs: 15000
356     limit: 1
357     pollingInterval: 2
358     topic: topic
359     latitude: 32.109333
360     longitude: 34.855499
361     version: 1.0
362     serviceName: localhost/events
363     environment: TEST
364     partner: BOT_R
365     routeOffer: MR1
366     protocol: https
367     contenttype: application/json
368     dme2TraceOn: true
369     aftEnvironment: AFTUAT
370     aftDme2ConnectionTimeoutMs: 15000
371     aftDme2RoundtripTimeoutMs: 240000
372     aftDme2ReadTimeoutMs: 50000
373     dme2preferredRouterFilePath: DME2preferredRouter.txt
374     timeLimitForNotificationHandleMs: 120000
375     credential:
376         username: user
377         password:
378
379
380
381 excludedPolicyTypesMapping:
382    # VF:
383     #  - a.b.c
384     #  - c.d.e
385     #CR:
386     #  - x.y.z
387
388 excludedGroupTypesMapping:
389     CR:
390        - org.openecomp.groups.VfModule
391        - org.openecomp.groups.heat.HeatStack
392        - tosca.groups.Root
393     VF:
394        - org.openecomp.groups.VfModule
395        - org.openecomp.groups.heat.HeatStack
396        - tosca.groups.Root
397     Service:
398        - org.openecomp.groups.VfModule
399        - org.openecomp.groups.heat.HeatStack
400        - tosca.groups.Root
401
402 healthStatusExclude:
403    - DE
404    - DMAPP
405    - DCAE