[SDC] rebase 1710 code
[sdc.git] / sdc-os-chef / sdc-os-common / 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: <%= @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 # Users
63 users:
64     tom: passwd
65     bob: passwd
66
67
68 cassandraConfig:
69     cassandraHosts: [<%= @cassandra_ip %>]
70     localDataCenter: <%= @dc1 %>
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: ['<%= @dc1 %>', '<%= @rep_factor %>']}
84         - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @dc1 %>', '<%= @rep_factor %>', '<%= @dc2 %>', '<%= @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
132 licenseTypes:
133    - User
134    - Installation
135    - CPU
136
137 #Deployment artifacts placeHolder
138 resourceTypes: &allResourceTypes
139   - VFC
140   - CP
141   - VL
142   - VF
143   - VFCMT
144   - Abstract
145   - CVFC
146
147 # validForResourceTypes usage
148 #     validForResourceTypes:
149 #        - VF
150 #        - VL
151 deploymentResourceArtifacts:
152
153
154 deploymentResourceInstanceArtifacts:
155   heatEnv:
156       displayName: "HEAT ENV"
157       type: HEAT_ENV
158       description: "Auto-generated HEAT Environment deployment artifact"
159       fileExtension: "env"
160   VfHeatEnv:
161       displayName: "VF HEAT ENV"
162       type: HEAT_ENV
163       description: "VF Auto-generated HEAT Environment deployment artifact"
164       fileExtension: "env"
165
166 #tosca artifacts placeholders
167 toscaArtifacts:
168   assetToscaTemplate:
169       artifactName: -template.yml
170       displayName: Tosca Template
171       type: TOSCA_TEMPLATE
172       description: TOSCA representation of the asset
173   assetToscaCsar:
174       artifactName: -csar.csar
175       displayName: Tosca Model
176       type: TOSCA_CSAR
177       description: TOSCA definition package of the asset
178
179 #Informational artifacts placeHolder
180 excludeResourceCategory:
181   - Generic
182 excludeResourceType:
183   - PNF
184 informationalResourceArtifacts:
185   features:
186       displayName: Features
187       type: OTHER
188   capacity:
189       displayName: Capacity
190       type: OTHER
191   vendorTestResult:
192       displayName: Vendor Test Result
193       type: OTHER
194   testScripts:
195       displayName: Test Scripts
196       type: OTHER
197   CloudQuestionnaire:
198       displayName: Cloud Questionnaire (completed)
199       type: OTHER
200   HEATTemplateFromVendor:
201       displayName: HEAT Template from Vendor
202       type: HEAT
203   resourceSecurityTemplate:
204       displayName: Resource Security Template
205       type: OTHER
206
207 excludeServiceCategory:
208
209 informationalServiceArtifacts:
210   serviceArtifactPlan:
211       displayName: Service Artifact Plan
212       type: OTHER
213   summaryOfImpactsToECOMPElements:
214       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
215       type: OTHER
216   controlLoopFunctions:
217       displayName: Control Loop Functions
218       type: OTHER
219   dimensioningInfo:
220       displayName: Dimensioning Info
221       type: OTHER
222   affinityRules:
223       displayName: Affinity Rules
224       type: OTHER
225   operationalPolicies:
226       displayName: Operational Policies
227       type: OTHER
228   serviceSpecificPolicies:
229       displayName: Service-specific Policies
230       type: OTHER
231   engineeringRules:
232       displayName: Engineering Rules (ERD)
233       type: OTHER
234   distributionInstructions:
235       displayName: Distribution Instructions
236       type: OTHER
237   certificationTestResults:
238       displayName: TD Certification Test Results
239       type: OTHER
240   deploymentVotingRecord:
241       displayName: Deployment Voting Record
242       type: OTHER
243   serviceQuestionnaire:
244       displayName: Service Questionnaire
245       type: OTHER
246   serviceSecurityTemplate:
247       displayName: Service Security Template
248       type: OTHER
249
250 serviceApiArtifacts:
251   configuration:
252       displayName: Configuration
253       type: OTHER
254   instantiation:
255       displayName: Instantiation
256       type: OTHER
257   monitoring:
258       displayName: Monitoring
259       type: OTHER
260   reporting:
261       displayName: Reporting
262       type: OTHER
263   logging:
264       displayName: Logging
265       type: OTHER
266   testing:
267       displayName: Testing
268       type: OTHER
269
270
271 additionalInformationMaxNumberOfKeys: 50
272
273 systemMonitoring:
274     enabled: true
275     isProxy: false
276     probeIntervalInSeconds: 15
277 defaultHeatArtifactTimeoutMinutes: 60
278
279 serviceDeploymentArtifacts:
280     YANG_XML:
281         acceptedTypes:
282             - xml
283     VNF_CATALOG:
284         acceptedTypes:
285             - xml
286     MODEL_INVENTORY_PROFILE:
287         acceptedTypes:
288             - xml
289     MODEL_QUERY_SPEC:
290         acceptedTypes:
291             - xml
292     AAI_SERVICE_MODEL:
293         acceptedTypes:
294             - xml
295     AAI_VF_MODULE_MODEL:
296         acceptedTypes:
297             - xml
298     AAI_VF_INSTANCE_MODEL:
299         acceptedTypes:
300             - xml
301     OTHER:
302         acceptedTypes:
303
304
305 resourceDeploymentArtifacts:
306     HEAT:
307         acceptedTypes:
308             - yaml
309             - yml
310         validForResourceTypes: *allResourceTypes
311     HEAT_VOL:
312         acceptedTypes:
313             - yaml
314             - yml
315         validForResourceTypes: *allResourceTypes
316     HEAT_NET:
317         acceptedTypes:
318             - yaml
319             - yml
320         validForResourceTypes: *allResourceTypes
321     HEAT_NESTED:
322         acceptedTypes:
323             - yaml
324             - yml
325         validForResourceTypes: *allResourceTypes
326     HEAT_ARTIFACT:
327         acceptedTypes:
328         validForResourceTypes: *allResourceTypes
329     YANG_XML:
330         acceptedTypes:
331             - xml
332         validForResourceTypes: *allResourceTypes
333     VNF_CATALOG:
334         acceptedTypes:
335             - xml
336         validForResourceTypes: *allResourceTypes
337     VF_LICENSE:
338         acceptedTypes:
339             - xml
340         validForResourceTypes: *allResourceTypes
341     VENDOR_LICENSE:
342         acceptedTypes:
343             - xml
344         validForResourceTypes: *allResourceTypes
345     MODEL_INVENTORY_PROFILE:
346         acceptedTypes:
347             - xml
348         validForResourceTypes: *allResourceTypes
349     MODEL_QUERY_SPEC:
350         acceptedTypes:
351             - xml
352         validForResourceTypes: *allResourceTypes
353     LIFECYCLE_OPERATIONS:
354         acceptedTypes:
355             - yaml
356             - yml
357         validForResourceTypes:
358             - VF
359             - VFC
360     VES_EVENTS:
361         acceptedTypes:
362             - yaml
363             - yml
364         validForResourceTypes: *allResourceTypes
365     PERFORMANCE_COUNTER:
366         acceptedTypes:
367             - csv
368         validForResourceTypes: *allResourceTypes
369     APPC_CONFIG:
370         acceptedTypes:
371         validForResourceTypes:
372             - VF
373     #DCAE Artifacts
374     DCAE_TOSCA:
375         acceptedTypes:
376             - yml
377             - yaml
378         validForResourceTypes:
379             - VF
380             - VFCMT
381     DCAE_JSON:
382         acceptedTypes:
383             - json
384         validForResourceTypes:
385             - VF
386             - VFCMT
387     DCAE_POLICY:
388         acceptedTypes:
389             - emf
390         validForResourceTypes:
391             - VF
392             - VFCMT
393     DCAE_DOC:
394         acceptedTypes:
395         validForResourceTypes:
396             - VF
397             - VFCMT
398     DCAE_EVENT:
399         acceptedTypes:
400         validForResourceTypes:
401             - VF
402             - VFCMT
403 #AAI Artifacts
404     AAI_VF_MODEL:
405         acceptedTypes:
406             - xml
407         validForResourceTypes:
408             - VF
409     AAI_VF_MODULE_MODEL:
410         acceptedTypes:
411             - xml
412         validForResourceTypes:
413             - VF
414     OTHER:
415         acceptedTypes:
416         validForResourceTypes: *allResourceTypes
417     SNMP_POLL:
418         acceptedTypes:
419         validForResourceTypes: *allResourceTypes
420     SNMP_TRAP:
421         acceptedTypes:
422         validForResourceTypes: *allResourceTypes
423
424 resourceInstanceDeploymentArtifacts:
425     HEAT_ENV:
426         acceptedTypes:
427             - env
428     VF_MODULES_METADATA:
429         acceptedTypes:
430             - json
431     VES_EVENTS:
432         acceptedTypes:
433             - yaml
434             - yml
435     PERFORMANCE_COUNTER:
436         acceptedTypes:
437             - csv
438 #DCAE_VF Instance Artifacts
439     DCAE_INVENTORY_TOSCA:
440         acceptedTypes:
441             - yml
442             - yaml
443     DCAE_INVENTORY_JSON:
444         acceptedTypes:
445             - json
446     DCAE_INVENTORY_POLICY:
447       acceptedTypes:
448             - emf
449     DCAE_INVENTORY_DOC:
450       acceptedTypes:
451     DCAE_INVENTORY_BLUEPRINT:
452       acceptedTypes:
453     DCAE_INVENTORY_EVENT:
454       acceptedTypes:
455     SNMP_POLL:
456         acceptedTypes:
457         validForResourceTypes: *allResourceTypes
458     SNMP_TRAP:
459         acceptedTypes:
460         validForResourceTypes: *allResourceTypes
461
462 resourceInformationalArtifacts:
463     CHEF:
464         acceptedTypes:
465         validForResourceTypes: *allResourceTypes
466     PUPPET:
467         acceptedTypes:
468         validForResourceTypes: *allResourceTypes
469     SHELL:
470         acceptedTypes:
471         validForResourceTypes: *allResourceTypes
472     YANG:
473         acceptedTypes:
474         validForResourceTypes: *allResourceTypes
475     YANG_XML:
476         acceptedTypes:
477         validForResourceTypes: *allResourceTypes
478     HEAT:
479         acceptedTypes:
480         validForResourceTypes: *allResourceTypes
481     BPEL:
482         acceptedTypes:
483         validForResourceTypes: *allResourceTypes
484     DG_XML:
485         acceptedTypes:
486         validForResourceTypes: *allResourceTypes
487     MURANO_PKG:
488         acceptedTypes:
489         validForResourceTypes: *allResourceTypes
490     OTHER:
491         acceptedTypes:
492         validForResourceTypes: 
493             - VFC
494             - CVFC
495             - CP
496             - VL
497             - VF
498             - VFCMT
499             - Abstract
500             - PNF
501     SNMP_POLL:
502         acceptedTypes:
503         validForResourceTypes: *allResourceTypes
504     SNMP_TRAP:
505         acceptedTypes:
506         validForResourceTypes: *allResourceTypes
507     GUIDE:
508         acceptedTypes:
509         validForResourceTypes:
510             - VF
511             - VFC
512             - CVFC
513
514 resourceInformationalDeployedArtifacts:
515
516
517 requirementsToFulfillBeforeCert:
518
519 capabilitiesToConsumeBeforeCert:
520
521 unLoggedUrls:
522    - /sdc2/rest/healthCheck
523
524 cleanComponentsConfiguration:
525     cleanIntervalInMinutes: 1440
526     componentsToClean:
527        - Resource
528        - Service
529
530 artifactsIndex: resources
531
532 heatEnvArtifactHeader:
533     ""
534 heatEnvArtifactFooter:
535     ""
536
537 onboarding:
538     protocol: http
539     host: <%= @host_ip %>
540     port: <%= @catalog_port %>
541     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
542     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
543
544
545 # #GSS IDNS
546 switchoverDetector:
547     gBeFqdn:
548     gFeFqdn:
549     beVip: 1.2.3.4
550     feVip: 1.2.3.4
551     beResolveAttempts: 3
552     feResolveAttempts: 3
553     enabled: false
554     interval: 60
555     changePriorityUser: ecompasdc
556     changePriorityPassword: ecompasdc123
557     publishNetworkUrl:
558     publishNetworkBody: '{"note":"comment"}'
559     groups:
560       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
561       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
562
563 applicationL1Cache:
564     datatypes:
565         enabled: true
566         firstRunDelay: 10
567         pollIntervalInSec: 60
568
569 applicationL2Cache:
570     enabled: true
571     catalogL1Cache:
572         enabled: true
573         resourcesSizeInCache: 300
574         servicesSizeInCache: 200
575         productsSizeInCache: 100
576     queue:
577         syncIntervalInSecondes: 43200
578         waitOnShutDownInMinutes: 10
579         numberOfCacheWorkers: 4
580
581 toscaValidators:
582     stringMaxLength: 2500
583
584 disableAudit: false
585
586 vfModuleProperties:
587     min_vf_module_instances:
588         forBaseModule: 1
589         forNonBaseModule: 0
590     max_vf_module_instances:
591         forBaseModule: 1
592         forNonBaseModule:
593     initial_count:
594         forBaseModule: 1
595         forNonBaseModule: 0
596     vf_module_type:
597         forBaseModule: Base
598         forNonBaseModule: Expansion
599
600 genericAssetNodeTypes:
601   VFC: org.openecomp.resource.abstract.nodes.VFC
602   CVFC: org.openecomp.resource.abstract.nodes.VFC
603   VF : org.openecomp.resource.abstract.nodes.VF
604   PNF: org.openecomp.resource.abstract.nodes.PNF
605   Service: org.openecomp.resource.abstract.nodes.service
606