[SDC] rebase 1710 code
[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:
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     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 Artifacts
370     DCAE_TOSCA:
371         acceptedTypes:
372             - yml
373             - yaml
374         validForResourceTypes:
375             - VF
376             - VFCMT
377     DCAE_JSON:
378         acceptedTypes:
379             - json
380         validForResourceTypes:
381             - VF
382             - VFCMT
383     DCAE_POLICY:
384         acceptedTypes:
385             - emf
386         validForResourceTypes:
387             - VF
388             - VFCMT
389     DCAE_DOC:
390         acceptedTypes:
391         validForResourceTypes:
392             - VF
393             - VFCMT
394     DCAE_EVENT:
395         acceptedTypes:
396         validForResourceTypes:
397             - VF
398             - VFCMT
399 #AAI Artifacts
400     AAI_VF_MODEL:
401         acceptedTypes:
402             - xml
403         validForResourceTypes:
404             - VF
405     AAI_VF_MODULE_MODEL:
406         acceptedTypes:
407             - xml
408         validForResourceTypes:
409             - VF
410     OTHER:
411         acceptedTypes:
412         validForResourceTypes: *allResourceTypes
413     SNMP_POLL:
414         acceptedTypes:
415         validForResourceTypes: *allResourceTypes
416     SNMP_TRAP:
417         acceptedTypes:
418         validForResourceTypes: *allResourceTypes
419
420 resourceInstanceDeploymentArtifacts:
421     HEAT_ENV:
422         acceptedTypes:
423             - env
424     VF_MODULES_METADATA:
425         acceptedTypes:
426             - json
427     VES_EVENTS:
428         acceptedTypes:
429             - yaml
430             - yml
431     PERFORMANCE_COUNTER:
432         acceptedTypes:
433             - csv
434 #DCAE_VF Instance Artifacts
435     DCAE_INVENTORY_TOSCA:
436         acceptedTypes:
437             - yml
438             - yaml
439     DCAE_INVENTORY_JSON:
440         acceptedTypes:
441             - json
442     DCAE_INVENTORY_POLICY:
443       acceptedTypes:
444             - emf
445     DCAE_INVENTORY_DOC:
446       acceptedTypes:
447     DCAE_INVENTORY_BLUEPRINT:
448       acceptedTypes:
449     DCAE_INVENTORY_EVENT:
450       acceptedTypes:
451     SNMP_POLL:
452         acceptedTypes:
453         validForResourceTypes: *allResourceTypes
454     SNMP_TRAP:
455         acceptedTypes:
456         validForResourceTypes: *allResourceTypes
457
458 resourceInformationalArtifacts:
459     CHEF:
460         acceptedTypes:
461         validForResourceTypes: *allResourceTypes
462     PUPPET:
463         acceptedTypes:
464         validForResourceTypes: *allResourceTypes
465     SHELL:
466         acceptedTypes:
467         validForResourceTypes: *allResourceTypes
468     YANG:
469         acceptedTypes:
470         validForResourceTypes: *allResourceTypes
471     YANG_XML:
472         acceptedTypes:
473         validForResourceTypes: *allResourceTypes
474     HEAT:
475         acceptedTypes:
476         validForResourceTypes: *allResourceTypes
477     BPEL:
478         acceptedTypes:
479         validForResourceTypes: *allResourceTypes
480     DG_XML:
481         acceptedTypes:
482         validForResourceTypes: *allResourceTypes
483     MURANO_PKG:
484         acceptedTypes:
485         validForResourceTypes: *allResourceTypes
486     OTHER:
487         acceptedTypes:
488         validForResourceTypes: *allResourceTypes
489     SNMP_POLL:
490         acceptedTypes:
491         validForResourceTypes: *allResourceTypes
492     SNMP_TRAP:
493         acceptedTypes:
494         validForResourceTypes: *allResourceTypes
495     GUIDE:
496         acceptedTypes:
497         validForResourceTypes:
498             - VF
499             - VFC
500
501 resourceInformationalDeployedArtifacts:
502
503
504 requirementsToFulfillBeforeCert:
505
506 capabilitiesToConsumeBeforeCert:
507
508 unLoggedUrls:
509    - /sdc2/rest/healthCheck
510
511 cleanComponentsConfiguration:
512     cleanIntervalInMinutes: 1440
513     componentsToClean:
514        - Resource
515        - Service
516
517 artifactsIndex: resources
518
519 heatEnvArtifactHeader:
520     ""
521 heatEnvArtifactFooter:
522     ""
523
524 onboarding:
525     protocol: http
526     host: <%= @host_ip %>
527     port: <%= @catalog_port %>
528     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
529     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
530
531
532 # #GSS IDNS
533 switchoverDetector:
534     gBeFqdn:
535     gFeFqdn:
536     beVip: 1.2.3.4
537     feVip: 1.2.3.4
538     beResolveAttempts: 3
539     feResolveAttempts: 3
540     enabled: false
541     interval: 60
542     changePriorityUser: ecompasdc
543     changePriorityPassword: ecompasdc123
544     publishNetworkUrl:
545     publishNetworkBody: '{"note":"comment"}'
546     groups:
547       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
548       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
549
550 applicationL1Cache:
551     datatypes:
552         enabled: true
553         firstRunDelay: 10
554         pollIntervalInSec: 60
555
556 applicationL2Cache:
557     enabled: true
558     catalogL1Cache:
559         enabled: true
560         resourcesSizeInCache: 300
561         servicesSizeInCache: 200
562         productsSizeInCache: 100
563     queue:
564         syncIntervalInSecondes: 43200
565         waitOnShutDownInMinutes: 10
566         numberOfCacheWorkers: 4
567
568 toscaValidators:
569     stringMaxLength: 2500
570
571 disableAudit: false
572
573 vfModuleProperties:
574     min_vf_module_instances:
575         forBaseModule: 1
576         forNonBaseModule: 0
577     max_vf_module_instances:
578         forBaseModule: 1
579         forNonBaseModule:
580     initial_count:
581         forBaseModule: 1
582         forNonBaseModule: 0
583     vf_module_type:
584         forBaseModule: Base
585         forNonBaseModule: Expansion
586
587 genericAssetNodeTypes:
588   VFC: org.openecomp.resource.abstract.nodes.VFC
589   VF : org.openecomp.resource.abstract.nodes.VF
590   Service: org.openecomp.resource.abstract.nodes.service