[SDC] rebase 1710 code
[sdc.git] / sdc-os-chef / sdc-cassandra / 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 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: <%= @titan_Path %>/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
63 # Users
64 users:
65     tom: passwd
66     bob: passwd
67
68
69 cassandraConfig:
70     cassandraHosts: [<%= @cassandra_ip %>]
71     localDataCenter:
72     reconnectTimeout : 30000
73     authenticate: true
74     username: asdc_user
75     password: Aa1234%^!
76     ssl: false
77     truststorePath : /config/.truststore
78     truststorePassword : Aa123456
79     keySpaces:
80         - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
81         - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
82         - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
83         - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
84         - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @dc1 %>','<%= @rep_factor %>']}
85
86 #Application-specific settings of ES
87 elasticSearch:
88     # Mapping of index prefix to time-based frame. For example, if below is configured:
89     #
90     # - indexPrefix: auditingevents
91     #    creationPeriod: minute
92     #
93     # 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.
94     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
95     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
96     #
97     # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
98     #
99     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
100     #
101     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
102
103     indicesTimeFrequency:
104       - indexPrefix: auditingevents
105         creationPeriod: month
106       - indexPrefix: monitoring_events
107         creationPeriod: month
108 artifactTypes:
109    - CHEF
110    - PUPPET
111    - SHELL
112    - YANG
113    - YANG_XML
114    - HEAT
115    - BPEL
116    - DG_XML
117    - MURANO_PKG
118    - WORKFLOW
119    - NETWORK_CALL_FLOW
120    - TOSCA_TEMPLATE
121    - TOSCA_CSAR
122    - AAI_SERVICE_MODEL
123    - AAI_VF_MODEL
124    - AAI_VF_MODULE_MODEL
125    - AAI_VF_INSTANCE_MODEL
126    - OTHER
127    - SNMP_POLL
128    - SNMP_TRAP
129    - GUIDE
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     AAI_VF_MODULE_MODEL:
292         acceptedTypes:
293             - xml
294     AAI_VF_INSTANCE_MODEL:
295         acceptedTypes:
296             - xml
297     OTHER:
298         acceptedTypes:
299
300
301 resourceDeploymentArtifacts:
302     HEAT:
303         acceptedTypes:
304             - yaml
305             - yml
306         validForResourceTypes: *allResourceTypes
307     HEAT_VOL:
308         acceptedTypes:
309             - yaml
310             - yml
311         validForResourceTypes: *allResourceTypes
312     HEAT_NET:
313         acceptedTypes:
314             - yaml
315             - yml
316         validForResourceTypes: *allResourceTypes
317     HEAT_NESTED:
318         acceptedTypes:
319             - yaml
320             - yml
321         validForResourceTypes: *allResourceTypes
322     HEAT_ARTIFACT:
323         acceptedTypes:
324         validForResourceTypes: *allResourceTypes
325     YANG_XML:
326         acceptedTypes:
327             - xml
328         validForResourceTypes: *allResourceTypes
329     VNF_CATALOG:
330         acceptedTypes:
331             - xml
332         validForResourceTypes: *allResourceTypes
333     VF_LICENSE:
334         acceptedTypes:
335             - xml
336         validForResourceTypes: *allResourceTypes
337     VENDOR_LICENSE:
338         acceptedTypes:
339             - xml
340         validForResourceTypes: *allResourceTypes
341     MODEL_INVENTORY_PROFILE:
342         acceptedTypes:
343             - xml
344         validForResourceTypes: *allResourceTypes
345     MODEL_QUERY_SPEC:
346         acceptedTypes:
347             - xml
348         validForResourceTypes: *allResourceTypes
349     LIFECYCLE_OPERATIONS:
350         acceptedTypes:
351             - yaml
352             - yml
353         validForResourceTypes:
354             - VF
355             - VFC
356     VES_EVENTS:
357         acceptedTypes:
358             - yaml
359             - yml
360         validForResourceTypes: *allResourceTypes
361     PERFORMANCE_COUNTER:
362         acceptedTypes:
363             - csv
364         validForResourceTypes: *allResourceTypes
365     APPC_CONFIG:
366         acceptedTypes:
367         validForResourceTypes:
368             - VF
369     DCAE_TOSCA:
370         acceptedTypes:
371             - yml
372             - yaml
373         validForResourceTypes:
374             - VF
375             - VFCMT
376     DCAE_JSON:
377         acceptedTypes:
378             - json
379         validForResourceTypes:
380             - VF
381             - VFCMT
382     DCAE_POLICY:
383         acceptedTypes:
384             - emf
385         validForResourceTypes:
386             - VF
387             - VFCMT
388     DCAE_DOC:
389         acceptedTypes:
390         validForResourceTypes:
391             - VF 
392             - VFCMT       
393     DCAE_EVENT:
394         acceptedTypes:
395         validForResourceTypes:
396             - VF
397             - VFCMT
398     AAI_VF_MODEL:
399         acceptedTypes:
400             - xml
401         validForResourceTypes:
402             - VF
403     AAI_VF_MODULE_MODEL:
404         acceptedTypes:
405             - xml
406         validForResourceTypes:
407             - VF
408     OTHER:
409         acceptedTypes:
410         validForResourceTypes: *allResourceTypes
411     SNMP_POLL:
412         acceptedTypes:
413         validForResourceTypes: *allResourceTypes
414     SNMP_TRAP:
415         acceptedTypes:
416         validForResourceTypes: *allResourceTypes
417
418 resourceInstanceDeploymentArtifacts:
419     HEAT_ENV:
420         acceptedTypes:
421             - env
422     VF_MODULES_METADATA:
423         acceptedTypes:
424             - json
425     VES_EVENTS:
426         acceptedTypes:
427             - yaml
428             - yml
429     PERFORMANCE_COUNTER:
430         acceptedTypes:
431             - csv
432     DCAE_INVENTORY_TOSCA:
433         acceptedTypes:
434             - yml
435             - yaml
436     DCAE_INVENTORY_JSON:
437         acceptedTypes:
438             - json
439     DCAE_INVENTORY_POLICY:
440       acceptedTypes:
441             - emf
442     DCAE_INVENTORY_DOC:
443       acceptedTypes:
444     DCAE_INVENTORY_BLUEPRINT:
445       acceptedTypes:
446     DCAE_INVENTORY_EVENT:
447       acceptedTypes:
448     SNMP_POLL:
449         acceptedTypes:
450         validForResourceTypes: *allResourceTypes
451     SNMP_TRAP:
452         acceptedTypes:
453         validForResourceTypes: *allResourceTypes
454
455 resourceInformationalArtifacts:
456     CHEF:
457         acceptedTypes:
458         validForResourceTypes: *allResourceTypes
459     PUPPET:
460         acceptedTypes:
461         validForResourceTypes: *allResourceTypes
462     SHELL:
463         acceptedTypes:
464         validForResourceTypes: *allResourceTypes
465     YANG:
466         acceptedTypes:
467         validForResourceTypes: *allResourceTypes
468     YANG_XML:
469         acceptedTypes:
470         validForResourceTypes: *allResourceTypes
471     HEAT:
472         acceptedTypes:
473         validForResourceTypes: *allResourceTypes
474     BPEL:
475         acceptedTypes:
476         validForResourceTypes: *allResourceTypes
477     DG_XML:
478         acceptedTypes:
479         validForResourceTypes: *allResourceTypes
480     MURANO_PKG:
481         acceptedTypes:
482         validForResourceTypes: *allResourceTypes
483     OTHER:
484         acceptedTypes:
485         validForResourceTypes: *allResourceTypes
486     SNMP_POLL:
487         acceptedTypes:
488         validForResourceTypes: *allResourceTypes
489     SNMP_TRAP:
490         acceptedTypes:
491         validForResourceTypes: *allResourceTypes
492     GUIDE:
493         acceptedTypes:
494         validForResourceTypes:
495             - VF
496             - VFC
497
498 resourceInformationalDeployedArtifacts:
499
500
501 requirementsToFulfillBeforeCert:
502
503 capabilitiesToConsumeBeforeCert:
504
505 unLoggedUrls:
506    - /sdc2/rest/healthCheck
507
508 cleanComponentsConfiguration:
509     cleanIntervalInMinutes: 1440
510     componentsToClean:
511        - Resource
512        - Service
513
514 artifactsIndex: resources
515
516 heatEnvArtifactHeader: ""
517 heatEnvArtifactFooter: ""
518
519 onboarding:
520     protocol: http
521     host: <%= @host_ip %>
522     port: <%= @catalog_port %>
523     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
524     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
525
526
527 # #GSS IDNS
528 switchoverDetector:
529     gBeFqdn: 
530     gFeFqdn: 
531     beVip: 1.2.3.4
532     feVip: 1.2.3.4
533     beResolveAttempts: 3
534     feResolveAttempts: 3
535     enabled: false
536     interval: 60
537     changePriorityUser: ecompasdc
538     changePriorityPassword: ecompasdc123
539     publishNetworkUrl: 
540     publishNetworkBody: '{"note":"comment"}'
541     groups:
542       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
543       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
544
545 applicationL1Cache:
546     datatypes:
547         enabled: true
548         firstRunDelay: 10
549         pollIntervalInSec: 60
550
551 applicationL2Cache:
552     enabled: true
553     catalogL1Cache:
554         enabled: true
555         resourcesSizeInCache: 300
556         servicesSizeInCache: 200
557         productsSizeInCache: 100
558     queue:
559         syncIntervalInSecondes: 43200
560         waitOnShutDownInMinutes: 10
561         numberOfCacheWorkers: 4
562
563 toscaValidators:
564     stringMaxLength: 2500
565
566 disableAudit: false
567 vfModuleProperties:
568     min_vf_module_instances:
569         forBaseModule: 1
570         forNonBaseModule: 0
571     max_vf_module_instances:
572         forBaseModule: 1
573         forNonBaseModule:
574     initial_count:
575         forBaseModule: 1
576         forNonBaseModule: 0
577     vf_module_type:
578         forBaseModule: Base
579         forNonBaseModule: Expansion
580
581 genericAssetNodeTypes:
582   VFC: org.openecomp.resource.abstract.nodes.VFC
583   VF : org.openecomp.resource.abstract.nodes.VF
584   Service: org.openecomp.resource.abstract.nodes.service