[sdc] - configuration alignment between os-chef
[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   - CVFC
145
146 # validForResourceTypes usage
147 #     validForResourceTypes:
148 #        - VF
149 #        - VL
150 deploymentResourceArtifacts:
151
152
153 deploymentResourceInstanceArtifacts:
154   heatEnv:
155       displayName: "HEAT ENV"
156       type: HEAT_ENV
157       description: "Auto-generated HEAT Environment deployment artifact"
158       fileExtension: "env"
159   VfHeatEnv:
160       displayName: "VF HEAT ENV"
161       type: HEAT_ENV
162       description: "VF Auto-generated HEAT Environment deployment artifact"
163       fileExtension: "env"
164
165 #tosca artifacts placeholders
166 toscaArtifacts:
167   assetToscaTemplate:
168       artifactName: -template.yml
169       displayName: Tosca Template
170       type: TOSCA_TEMPLATE
171       description: TOSCA representation of the asset
172   assetToscaCsar:
173       artifactName: -csar.csar
174       displayName: Tosca Model
175       type: TOSCA_CSAR
176       description: TOSCA definition package of the asset
177
178 #Informational artifacts placeHolder
179 excludeResourceCategory:
180   - Generic
181 excludeResourceType:
182   - PNF  
183 informationalResourceArtifacts:
184   features:
185       displayName: Features
186       type: OTHER
187   capacity:
188       displayName: Capacity
189       type: OTHER
190   vendorTestResult:
191       displayName: Vendor Test Result
192       type: OTHER
193   testScripts:
194       displayName: Test Scripts
195       type: OTHER
196   CloudQuestionnaire:
197       displayName: Cloud Questionnaire (completed)
198       type: OTHER
199   HEATTemplateFromVendor:
200       displayName: HEAT Template from Vendor
201       type: HEAT
202   resourceSecurityTemplate:
203       displayName: Resource Security Template
204       type: OTHER
205
206 excludeServiceCategory:
207
208 informationalServiceArtifacts:
209   serviceArtifactPlan:
210       displayName: Service Artifact Plan
211       type: OTHER
212   summaryOfImpactsToECOMPElements:
213       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
214       type: OTHER
215   controlLoopFunctions:
216       displayName: Control Loop Functions
217       type: OTHER
218   dimensioningInfo:
219       displayName: Dimensioning Info
220       type: OTHER
221   affinityRules:
222       displayName: Affinity Rules
223       type: OTHER
224   operationalPolicies:
225       displayName: Operational Policies
226       type: OTHER
227   serviceSpecificPolicies:
228       displayName: Service-specific Policies
229       type: OTHER
230   engineeringRules:
231       displayName: Engineering Rules (ERD)
232       type: OTHER
233   distributionInstructions:
234       displayName: Distribution Instructions
235       type: OTHER
236   certificationTestResults:
237       displayName: TD Certification Test Results
238       type: OTHER
239   deploymentVotingRecord:
240       displayName: Deployment Voting Record
241       type: OTHER
242   serviceQuestionnaire:
243       displayName: Service Questionnaire
244       type: OTHER
245   serviceSecurityTemplate:
246       displayName: Service Security Template
247       type: OTHER
248
249 serviceApiArtifacts:
250   configuration:
251       displayName: Configuration
252       type: OTHER
253   instantiation:
254       displayName: Instantiation
255       type: OTHER
256   monitoring:
257       displayName: Monitoring
258       type: OTHER
259   reporting:
260       displayName: Reporting
261       type: OTHER
262   logging:
263       displayName: Logging
264       type: OTHER
265   testing:
266       displayName: Testing
267       type: OTHER
268
269
270 additionalInformationMaxNumberOfKeys: 50
271
272 systemMonitoring:
273     enabled: false
274     isProxy: false
275     probeIntervalInSeconds: 15
276 defaultHeatArtifactTimeoutMinutes: 60
277
278 serviceDeploymentArtifacts:
279     YANG_XML:
280         acceptedTypes:
281             - xml
282     VNF_CATALOG:
283         acceptedTypes:
284             - xml
285     MODEL_INVENTORY_PROFILE:
286         acceptedTypes:
287             - xml
288     MODEL_QUERY_SPEC:
289         acceptedTypes:
290             - xml
291     UCPE_LAYER_2_CONFIGURATION:
292         acceptedTypes:
293             - xml
294
295 #AAI Artifacts
296     AAI_SERVICE_MODEL:
297         acceptedTypes:
298             - xml
299     AAI_VF_MODULE_MODEL:
300         acceptedTypes:
301             - xml
302     AAI_VF_INSTANCE_MODEL:
303         acceptedTypes:
304             - xml 
305     OTHER:
306         acceptedTypes:
307
308 resourceDeploymentArtifacts:
309     HEAT:
310         acceptedTypes:
311             - yaml
312             - yml
313         validForResourceTypes: *allResourceTypes
314     HEAT_VOL:
315         acceptedTypes:
316             - yaml
317             - yml
318         validForResourceTypes: *allResourceTypes
319     HEAT_NET:
320         acceptedTypes:
321             - yaml
322             - yml
323         validForResourceTypes: *allResourceTypes
324     HEAT_NESTED:
325         acceptedTypes:
326             - yaml
327             - yml
328         validForResourceTypes: *allResourceTypes
329     HEAT_ARTIFACT:
330         acceptedTypes:
331         validForResourceTypes: *allResourceTypes
332     YANG_XML:
333         acceptedTypes:
334             - xml
335         validForResourceTypes: *allResourceTypes
336     VNF_CATALOG:
337         acceptedTypes:
338             - xml
339         validForResourceTypes: *allResourceTypes
340     VF_LICENSE:
341         acceptedTypes:
342             - xml
343         validForResourceTypes: *allResourceTypes
344     VENDOR_LICENSE:
345         acceptedTypes:
346             - xml
347         validForResourceTypes: *allResourceTypes
348     MODEL_INVENTORY_PROFILE:
349         acceptedTypes:
350             - xml
351         validForResourceTypes: *allResourceTypes
352     MODEL_QUERY_SPEC:
353         acceptedTypes:
354             - xml
355         validForResourceTypes: *allResourceTypes
356     LIFECYCLE_OPERATIONS:
357         acceptedTypes:
358             - yaml
359             - yml
360         validForResourceTypes:
361             - VF
362             - VFC
363     VES_EVENTS:
364         acceptedTypes:
365             - yaml
366             - yml
367         validForResourceTypes: *allResourceTypes
368     PERFORMANCE_COUNTER:
369         acceptedTypes:
370             - csv
371         validForResourceTypes: *allResourceTypes
372     APPC_CONFIG:
373         acceptedTypes:
374         validForResourceTypes:
375             - VF
376     DCAE_TOSCA:
377         acceptedTypes:
378             - yml
379             - yaml
380         validForResourceTypes:
381             - VF
382             - VFCMT
383     DCAE_JSON:
384         acceptedTypes:
385             - json
386         validForResourceTypes:
387             - VF
388             - VFCMT
389     DCAE_POLICY:
390         acceptedTypes:
391             - emf
392         validForResourceTypes:
393             - VF
394             - VFCMT
395     DCAE_DOC:
396         acceptedTypes:
397         validForResourceTypes:
398             - VF 
399             - VFCMT       
400     DCAE_EVENT:
401         acceptedTypes:
402         validForResourceTypes:
403             - VF
404             - VFCMT
405     AAI_VF_MODEL:
406         acceptedTypes:
407             - xml
408         validForResourceTypes:
409             - VF
410     AAI_VF_MODULE_MODEL:
411         acceptedTypes:
412             - xml
413         validForResourceTypes:
414             - VF
415     OTHER:
416         acceptedTypes:
417         validForResourceTypes: *allResourceTypes
418     SNMP_POLL:
419         acceptedTypes:
420         validForResourceTypes: *allResourceTypes
421     SNMP_TRAP:
422         acceptedTypes:
423         validForResourceTypes: *allResourceTypes
424
425 resourceInstanceDeploymentArtifacts:
426     HEAT_ENV:
427         acceptedTypes:
428             - env
429     VF_MODULES_METADATA:
430         acceptedTypes:
431             - json
432     VES_EVENTS:
433         acceptedTypes:
434             - yaml
435             - yml
436     PERFORMANCE_COUNTER:
437         acceptedTypes:
438             - csv
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 heatEnvArtifactFooter: ""
534
535 onboarding:
536     protocol: http
537     host: <%= @host_ip %>
538     port: <%= @catalog_port %>
539     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
540     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
541
542
543 # #GSS IDNS
544 switchoverDetector:
545     gBeFqdn:
546     gFeFqdn:
547     beVip: 1.2.3.4
548     feVip: 1.2.3.4
549     beResolveAttempts: 3
550     feResolveAttempts: 3
551     enabled: false
552     interval: 60
553     changePriorityUser: ecompasdc
554     changePriorityPassword: ecompasdc123
555     publishNetworkUrl:
556     publishNetworkBody: '{"note":"comment"}'
557     groups:
558       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
559       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
560
561 applicationL1Cache:
562     datatypes:
563         enabled: true
564         firstRunDelay: 10
565         pollIntervalInSec: 60
566
567 applicationL2Cache:
568     enabled: false
569     catalogL1Cache:
570         enabled: false
571         resourcesSizeInCache: 300
572         servicesSizeInCache: 200
573         productsSizeInCache: 100
574     queue:
575         syncIntervalInSecondes: 43200
576         waitOnShutDownInMinutes: 10
577         numberOfCacheWorkers: 4
578
579 toscaValidators:
580     stringMaxLength: 2500
581
582 disableAudit: false
583
584 vfModuleProperties:
585     min_vf_module_instances:
586         forBaseModule: 1
587         forNonBaseModule: 0
588     max_vf_module_instances:
589         forBaseModule: 1
590         forNonBaseModule:
591     initial_count:
592         forBaseModule: 1
593         forNonBaseModule: 0
594     vf_module_type:
595         forBaseModule: Base
596         forNonBaseModule: Expansion
597
598 genericAssetNodeTypes:
599   VFC: org.openecomp.resource.abstract.nodes.VFC
600   CVFC: org.openecomp.resource.abstract.nodes.VFC
601   VF : org.openecomp.resource.abstract.nodes.VF
602   PNF: org.openecomp.resource.abstract.nodes.PNF
603   Service: org.openecomp.resource.abstract.nodes.service