Merge "[devops] setup configuration.yaml to support CASSANDRA healthCheck of 1710"
[sdc.git] / sdc-os-chef / sdc-backend / chef-repo / cookbooks / sdc-catalog-be / templates / default / BE-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 beProtocol: http
20
21 # catalog backend ssl port
22 beSslPort: <%= @ssl_port %>
23 version: 1.0
24 released: 2012-11-30
25 toscaConformanceLevel: 4.0
26 minToscaConformanceLevel: 3.0
27
28 titanCfgFile: /var/lib/jetty/config/catalog-be/titan.properties
29 titanInMemoryGraph: false
30 titanLockTimeout: 1800
31 # The interval to try and reconnect to titan DB when it is down during ASDC startup:
32 titanReconnectIntervalInSeconds: 3
33
34 # The read timeout towards Titan DB when health check is invoked:
35 titanHealthCheckReadTimeout: 1
36
37 # The interval to try and reconnect to Elasticsearch when it is down during ASDC startup:
38
39 esReconnectIntervalInSeconds: 3
40 uebHealthCheckReconnectIntervalInSeconds: 15
41 uebHealthCheckReadTimeout: 4
42
43 # Protocols
44 protocols:
45    - http
46    - https
47
48 # Default imports
49 defaultImports:
50    - nodes:
51         file: nodes.yml
52    - datatypes:
53         file: data.yml
54    - capabilities:
55         file: capabilities.yml
56    - relationships:
57         file: relationships.yml
58    - groups:
59         file: groups.yml
60    - policies:
61         file: policies.yml
62 # Users
63 users:
64     tom: passwd
65     bob: passwd
66
67
68 cassandraConfig:
69     cassandraHosts: [<%= @cassandra_ip %>]
70     localDataCenter: <%= @DC_NAME %>
71     reconnectTimeout : 30000
72     authenticate: true
73     username: asdc_user
74     password: Aa1234%^!
75     ssl: false
76     truststorePath : /config/.truststore
77     truststorePassword : Aa123456
78     keySpaces:
79         - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
80         - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
81         - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
82         - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
83         - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
84
85 #Application-specific settings of ES
86 elasticSearch:
87     # Mapping of index prefix to time-based frame. For example, if below is configured:
88     #
89     # - indexPrefix: auditingevents
90     #    creationPeriod: minute
91     #
92     # then ES object of type which is mapped to "auditingevents-*" template, and created on 2015-12-23 13:24:54, will enter "auditingevents-2015-12-23-13-24" index.
93     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
94     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
95     #
96     # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
97     #
98     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
99     #
100     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
101
102     indicesTimeFrequency:
103       - indexPrefix: auditingevents
104         creationPeriod: month
105       - indexPrefix: monitoring_events
106         creationPeriod: month
107 artifactTypes:
108    - CHEF
109    - PUPPET
110    - SHELL
111    - YANG
112    - YANG_XML
113    - HEAT
114    - BPEL
115    - DG_XML
116    - MURANO_PKG
117    - WORKFLOW
118    - NETWORK_CALL_FLOW
119    - TOSCA_TEMPLATE
120    - TOSCA_CSAR
121    - AAI_SERVICE_MODEL
122    - AAI_VF_MODEL
123    - AAI_VF_MODULE_MODEL
124    - AAI_VF_INSTANCE_MODEL
125    - OTHER
126    - SNMP_POLL
127    - SNMP_TRAP
128    - GUIDE
129
130
131 licenseTypes:
132    - User
133    - Installation
134    - CPU
135
136 #Deployment artifacts placeHolder
137 resourceTypes: &allResourceTypes
138   - VFC
139   - CP
140   - VL
141   - VF
142   - VFCMT
143   - Abstract
144
145 # validForResourceTypes usage
146 #     validForResourceTypes:
147 #        - VF
148 #        - VL
149 deploymentResourceArtifacts:
150
151
152 deploymentResourceInstanceArtifacts:
153   heatEnv:
154       displayName: "HEAT ENV"
155       type: HEAT_ENV
156       description: "Auto-generated HEAT Environment deployment artifact"
157       fileExtension: "env"
158   VfHeatEnv:
159       displayName: "VF HEAT ENV"
160       type: HEAT_ENV
161       description: "VF Auto-generated HEAT Environment deployment artifact"
162       fileExtension: "env"
163
164 #tosca artifacts placeholders
165 toscaArtifacts:
166   assetToscaTemplate:
167       artifactName: -template.yml
168       displayName: Tosca Template
169       type: TOSCA_TEMPLATE
170       description: TOSCA representation of the asset
171   assetToscaCsar:
172       artifactName: -csar.csar
173       displayName: Tosca Model
174       type: TOSCA_CSAR
175       description: TOSCA definition package of the asset
176
177 #Informational artifacts placeHolder
178 excludeResourceCategory:
179   - Generic
180 informationalResourceArtifacts:
181   features:
182       displayName: Features
183       type: OTHER
184   capacity:
185       displayName: Capacity
186       type: OTHER
187   vendorTestResult:
188       displayName: Vendor Test Result
189       type: OTHER
190   testScripts:
191       displayName: Test Scripts
192       type: OTHER
193   CloudQuestionnaire:
194       displayName: Cloud Questionnaire (completed)
195       type: OTHER
196   HEATTemplateFromVendor:
197       displayName: HEAT Template from Vendor
198       type: HEAT
199   resourceSecurityTemplate:
200       displayName: Resource Security Template
201       type: OTHER
202
203 excludeServiceCategory:
204
205 informationalServiceArtifacts:
206   serviceArtifactPlan:
207       displayName: Service Artifact Plan
208       type: OTHER
209   summaryOfImpactsToECOMPElements:
210       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
211       type: OTHER
212   controlLoopFunctions:
213       displayName: Control Loop Functions
214       type: OTHER
215   dimensioningInfo:
216       displayName: Dimensioning Info
217       type: OTHER
218   affinityRules:
219       displayName: Affinity Rules
220       type: OTHER
221   operationalPolicies:
222       displayName: Operational Policies
223       type: OTHER
224   serviceSpecificPolicies:
225       displayName: Service-specific Policies
226       type: OTHER
227   engineeringRules:
228       displayName: Engineering Rules (ERD)
229       type: OTHER
230   distributionInstructions:
231       displayName: Distribution Instructions
232       type: OTHER
233   certificationTestResults:
234       displayName: TD Certification Test Results
235       type: OTHER
236   deploymentVotingRecord:
237       displayName: Deployment Voting Record
238       type: OTHER
239   serviceQuestionnaire:
240       displayName: Service Questionnaire
241       type: OTHER
242   serviceSecurityTemplate:
243       displayName: Service Security Template
244       type: OTHER
245
246 serviceApiArtifacts:
247   configuration:
248       displayName: Configuration
249       type: OTHER
250   instantiation:
251       displayName: Instantiation
252       type: OTHER
253   monitoring:
254       displayName: Monitoring
255       type: OTHER
256   reporting:
257       displayName: Reporting
258       type: OTHER
259   logging:
260       displayName: Logging
261       type: OTHER
262   testing:
263       displayName: Testing
264       type: OTHER
265
266
267 additionalInformationMaxNumberOfKeys: 50
268
269 systemMonitoring:
270     enabled: true
271     isProxy: false
272     probeIntervalInSeconds: 15
273 defaultHeatArtifactTimeoutMinutes: 60
274
275 serviceDeploymentArtifacts:
276     YANG_XML:
277         acceptedTypes:
278             - xml
279     VNF_CATALOG:
280         acceptedTypes:
281             - xml
282     MODEL_INVENTORY_PROFILE:
283         acceptedTypes:
284             - xml
285     MODEL_QUERY_SPEC:
286         acceptedTypes:
287             - xml
288     AAI_SERVICE_MODEL:
289         acceptedTypes:
290             - xml
291     UCPE_LAYER_2_CONFIGURATION:
292         acceptedTypes:
293             - xml
294     AAI_VF_MODULE_MODEL:
295         acceptedTypes:
296             - xml
297     AAI_VF_INSTANCE_MODEL:
298         acceptedTypes:
299             - xml
300     OTHER:
301         acceptedTypes:
302
303
304 resourceDeploymentArtifacts:
305     HEAT:
306         acceptedTypes:
307             - yaml
308             - yml
309         validForResourceTypes: *allResourceTypes
310     HEAT_VOL:
311         acceptedTypes:
312             - yaml
313             - yml
314         validForResourceTypes: *allResourceTypes
315     HEAT_NET:
316         acceptedTypes:
317             - yaml
318             - yml
319         validForResourceTypes: *allResourceTypes
320     HEAT_NESTED:
321         acceptedTypes:
322             - yaml
323             - yml
324         validForResourceTypes: *allResourceTypes
325     HEAT_ARTIFACT:
326         acceptedTypes:
327         validForResourceTypes: *allResourceTypes
328     YANG_XML:
329         acceptedTypes:
330             - xml
331         validForResourceTypes: *allResourceTypes
332     VNF_CATALOG:
333         acceptedTypes:
334             - xml
335         validForResourceTypes: *allResourceTypes
336     VF_LICENSE:
337         acceptedTypes:
338             - xml
339         validForResourceTypes: *allResourceTypes
340     VENDOR_LICENSE:
341         acceptedTypes:
342             - xml
343         validForResourceTypes: *allResourceTypes
344     MODEL_INVENTORY_PROFILE:
345         acceptedTypes:
346             - xml
347         validForResourceTypes: *allResourceTypes
348     MODEL_QUERY_SPEC:
349         acceptedTypes:
350             - xml
351         validForResourceTypes: *allResourceTypes
352     LIFECYCLE_OPERATIONS:
353         acceptedTypes:
354             - yaml
355             - yml
356         validForResourceTypes:
357             - VF
358             - VFC
359     VES_EVENTS:
360         acceptedTypes:
361             - yaml
362             - yml
363         validForResourceTypes: *allResourceTypes
364     PERFORMANCE_COUNTER:
365         acceptedTypes:
366             - csv
367         validForResourceTypes: *allResourceTypes
368     APPC_CONFIG:
369         acceptedTypes:
370         validForResourceTypes:
371             - VF
372     #DCAE Artifacts
373     DCAE_TOSCA:
374         acceptedTypes:
375             - yml
376             - yaml
377         validForResourceTypes:
378             - VF
379             - VFCMT
380     DCAE_JSON:
381         acceptedTypes:
382             - json
383         validForResourceTypes:
384             - VF
385             - VFCMT
386     DCAE_POLICY:
387         acceptedTypes:
388             - emf
389         validForResourceTypes:
390             - VF
391             - VFCMT
392     DCAE_DOC:
393         acceptedTypes:
394         validForResourceTypes:
395             - VF
396             - VFCMT
397     DCAE_EVENT:
398         acceptedTypes:
399         validForResourceTypes:
400             - VF
401             - VFCMT
402 #AAI Artifacts
403     AAI_VF_MODEL:
404         acceptedTypes:
405             - xml
406         validForResourceTypes:
407             - VF
408     AAI_VF_MODULE_MODEL:
409         acceptedTypes:
410             - xml
411         validForResourceTypes:
412             - VF
413     OTHER:
414         acceptedTypes:
415         validForResourceTypes: *allResourceTypes
416     SNMP_POLL:
417         acceptedTypes:
418         validForResourceTypes: *allResourceTypes
419     SNMP_TRAP:
420         acceptedTypes:
421         validForResourceTypes: *allResourceTypes
422
423 resourceInstanceDeploymentArtifacts:
424     HEAT_ENV:
425         acceptedTypes:
426             - env
427     VF_MODULES_METADATA:
428         acceptedTypes:
429             - json
430     VES_EVENTS:
431         acceptedTypes:
432             - yaml
433             - yml
434     PERFORMANCE_COUNTER:
435         acceptedTypes:
436             - csv
437 #DCAE_VF Instance Artifacts
438     DCAE_INVENTORY_TOSCA:
439         acceptedTypes:
440             - yml
441             - yaml
442     DCAE_INVENTORY_JSON:
443         acceptedTypes:
444             - json
445     DCAE_INVENTORY_POLICY:
446       acceptedTypes:
447             - emf
448     DCAE_INVENTORY_DOC:
449       acceptedTypes:
450     DCAE_INVENTORY_BLUEPRINT:
451       acceptedTypes:
452     DCAE_INVENTORY_EVENT:
453       acceptedTypes:
454     SNMP_POLL:
455         acceptedTypes:
456         validForResourceTypes: *allResourceTypes
457     SNMP_TRAP:
458         acceptedTypes:
459         validForResourceTypes: *allResourceTypes
460
461 resourceInformationalArtifacts:
462     CHEF:
463         acceptedTypes:
464         validForResourceTypes: *allResourceTypes
465     PUPPET:
466         acceptedTypes:
467         validForResourceTypes: *allResourceTypes
468     SHELL:
469         acceptedTypes:
470         validForResourceTypes: *allResourceTypes
471     YANG:
472         acceptedTypes:
473         validForResourceTypes: *allResourceTypes
474     YANG_XML:
475         acceptedTypes:
476         validForResourceTypes: *allResourceTypes
477     HEAT:
478         acceptedTypes:
479         validForResourceTypes: *allResourceTypes
480     BPEL:
481         acceptedTypes:
482         validForResourceTypes: *allResourceTypes
483     DG_XML:
484         acceptedTypes:
485         validForResourceTypes: *allResourceTypes
486     MURANO_PKG:
487         acceptedTypes:
488         validForResourceTypes: *allResourceTypes
489     OTHER:
490         acceptedTypes:
491         validForResourceTypes: *allResourceTypes
492     SNMP_POLL:
493         acceptedTypes:
494         validForResourceTypes: *allResourceTypes
495     SNMP_TRAP:
496         acceptedTypes:
497         validForResourceTypes: *allResourceTypes
498     GUIDE:
499         acceptedTypes:
500         validForResourceTypes:
501             - VF
502             - VFC
503
504 resourceInformationalDeployedArtifacts:
505
506
507 requirementsToFulfillBeforeCert:
508
509 capabilitiesToConsumeBeforeCert:
510
511 unLoggedUrls:
512    - /sdc2/rest/healthCheck
513
514 cleanComponentsConfiguration:
515     cleanIntervalInMinutes: 1440
516     componentsToClean:
517        - Resource
518        - Service
519
520 artifactsIndex: resources
521
522 heatEnvArtifactHeader:
523     ""
524 heatEnvArtifactFooter:
525     ""
526
527 onboarding:
528     protocol: http
529     host: <%= @host_ip %>
530     port: <%= @catalog_port %>
531     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
532     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
533
534
535 # #GSS IDNS
536 switchoverDetector:
537     gBeFqdn:
538     gFeFqdn:
539     beVip: 1.2.3.4
540     feVip: 1.2.3.4
541     beResolveAttempts: 3
542     feResolveAttempts: 3
543     enabled: false
544     interval: 60
545     changePriorityUser: ecompasdc
546     changePriorityPassword: ecompasdc123
547     publishNetworkUrl:
548     publishNetworkBody: '{"note":"comment"}'
549     groups:
550       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
551       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
552
553 applicationL1Cache:
554     datatypes:
555         enabled: true
556         firstRunDelay: 10
557         pollIntervalInSec: 60
558
559 applicationL2Cache:
560     enabled: true
561     catalogL1Cache:
562         enabled: true
563         resourcesSizeInCache: 300
564         servicesSizeInCache: 200
565         productsSizeInCache: 100
566     queue:
567         syncIntervalInSecondes: 43200
568         waitOnShutDownInMinutes: 10
569         numberOfCacheWorkers: 4
570
571 toscaValidators:
572     stringMaxLength: 2500
573
574 disableAudit: false
575
576 vfModuleProperties:
577     min_vf_module_instances:
578         forBaseModule: 1
579         forNonBaseModule: 0
580     max_vf_module_instances:
581         forBaseModule: 1
582         forNonBaseModule:
583     initial_count:
584         forBaseModule: 1
585         forNonBaseModule: 0
586     vf_module_type:
587         forBaseModule: Base
588         forNonBaseModule: Expansion
589
590 genericAssetNodeTypes:
591   VFC: org.openecomp.resource.abstract.nodes.VFC
592   VF : org.openecomp.resource.abstract.nodes.VF
593   Service: org.openecomp.resource.abstract.nodes.service