Final commit to master merge from
[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: 5.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    - PLAN
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 #PLAN
309     PLAN:
310         acceptedTypes:
311             - xml
312
313 resourceDeploymentArtifacts:
314     HEAT:
315         acceptedTypes:
316             - yaml
317             - yml
318         validForResourceTypes: *allResourceTypes
319     HEAT_VOL:
320         acceptedTypes:
321             - yaml
322             - yml
323         validForResourceTypes: *allResourceTypes
324     HEAT_NET:
325         acceptedTypes:
326             - yaml
327             - yml
328         validForResourceTypes: *allResourceTypes
329     HEAT_NESTED:
330         acceptedTypes:
331             - yaml
332             - yml
333         validForResourceTypes: *allResourceTypes
334     HEAT_ARTIFACT:
335         acceptedTypes:
336         validForResourceTypes: *allResourceTypes
337     YANG_XML:
338         acceptedTypes:
339             - xml
340         validForResourceTypes: *allResourceTypes
341     VNF_CATALOG:
342         acceptedTypes:
343             - xml
344         validForResourceTypes: *allResourceTypes
345     VF_LICENSE:
346         acceptedTypes:
347             - xml
348         validForResourceTypes: *allResourceTypes
349     VENDOR_LICENSE:
350         acceptedTypes:
351             - xml
352         validForResourceTypes: *allResourceTypes
353     MODEL_INVENTORY_PROFILE:
354         acceptedTypes:
355             - xml
356         validForResourceTypes: *allResourceTypes
357     MODEL_QUERY_SPEC:
358         acceptedTypes:
359             - xml
360         validForResourceTypes: *allResourceTypes
361     LIFECYCLE_OPERATIONS:
362         acceptedTypes:
363             - yaml
364             - yml
365         validForResourceTypes:
366             - VF
367             - VFC
368     VES_EVENTS:
369         acceptedTypes:
370             - yaml
371             - yml
372         validForResourceTypes: *allResourceTypes
373     PERFORMANCE_COUNTER:
374         acceptedTypes:
375             - csv
376         validForResourceTypes: *allResourceTypes
377     APPC_CONFIG:
378         acceptedTypes:
379         validForResourceTypes:
380             - VF
381     DCAE_TOSCA:
382         acceptedTypes:
383             - yml
384             - yaml
385         validForResourceTypes:
386             - VF
387             - VFCMT
388     DCAE_JSON:
389         acceptedTypes:
390             - json
391         validForResourceTypes:
392             - VF
393             - VFCMT
394     DCAE_POLICY:
395         acceptedTypes:
396             - emf
397         validForResourceTypes:
398             - VF
399             - VFCMT
400     DCAE_DOC:
401         acceptedTypes:
402         validForResourceTypes:
403             - VF 
404             - VFCMT       
405     DCAE_EVENT:
406         acceptedTypes:
407         validForResourceTypes:
408             - VF
409             - VFCMT
410     AAI_VF_MODEL:
411         acceptedTypes:
412             - xml
413         validForResourceTypes:
414             - VF
415     AAI_VF_MODULE_MODEL:
416         acceptedTypes:
417             - xml
418         validForResourceTypes:
419             - VF
420     OTHER:
421         acceptedTypes:
422         validForResourceTypes: *allResourceTypes
423     SNMP_POLL:
424         acceptedTypes:
425         validForResourceTypes: *allResourceTypes
426     SNMP_TRAP:
427         acceptedTypes:
428         validForResourceTypes: *allResourceTypes
429
430 #PLAN
431     PLAN:
432         acceptedTypes:
433             - xml
434         validForResourceTypes:
435             - VF
436             - VFC
437
438 resourceInstanceDeploymentArtifacts:
439     HEAT_ENV:
440         acceptedTypes:
441             - env
442     VF_MODULES_METADATA:
443         acceptedTypes:
444             - json
445     VES_EVENTS:
446         acceptedTypes:
447             - yaml
448             - yml
449     PERFORMANCE_COUNTER:
450         acceptedTypes:
451             - csv
452     DCAE_INVENTORY_TOSCA:
453         acceptedTypes:
454             - yml
455             - yaml
456     DCAE_INVENTORY_JSON:
457         acceptedTypes:
458             - json
459     DCAE_INVENTORY_POLICY:
460       acceptedTypes:
461             - emf
462     DCAE_INVENTORY_DOC:
463       acceptedTypes:
464     DCAE_INVENTORY_BLUEPRINT:
465       acceptedTypes:
466     DCAE_INVENTORY_EVENT:
467       acceptedTypes:
468     SNMP_POLL:
469         acceptedTypes:
470         validForResourceTypes: *allResourceTypes
471     SNMP_TRAP:
472         acceptedTypes:
473         validForResourceTypes: *allResourceTypes
474
475 #PLAN
476     PLAN:
477         acceptedTypes:
478             - xml
479
480 resourceInformationalArtifacts:
481     CHEF:
482         acceptedTypes:
483         validForResourceTypes: *allResourceTypes
484     PUPPET:
485         acceptedTypes:
486         validForResourceTypes: *allResourceTypes
487     SHELL:
488         acceptedTypes:
489         validForResourceTypes: *allResourceTypes
490     YANG:
491         acceptedTypes:
492         validForResourceTypes: *allResourceTypes
493     YANG_XML:
494         acceptedTypes:
495         validForResourceTypes: *allResourceTypes
496     HEAT:
497         acceptedTypes:
498         validForResourceTypes: *allResourceTypes
499     BPEL:
500         acceptedTypes:
501         validForResourceTypes: *allResourceTypes
502     DG_XML:
503         acceptedTypes:
504         validForResourceTypes: *allResourceTypes
505     MURANO_PKG:
506         acceptedTypes:
507         validForResourceTypes: *allResourceTypes
508     OTHER:
509         acceptedTypes:
510         validForResourceTypes: 
511             - VFC
512             - CVFC
513             - CP
514             - VL
515             - VF
516             - VFCMT
517             - Abstract
518             - PNF
519     SNMP_POLL:
520         acceptedTypes:
521         validForResourceTypes: *allResourceTypes
522     SNMP_TRAP:
523         acceptedTypes:
524         validForResourceTypes: *allResourceTypes
525     GUIDE:
526         acceptedTypes:
527         validForResourceTypes:
528             - VF
529             - VFC
530             - CVFC
531
532 resourceInformationalDeployedArtifacts:
533
534
535 requirementsToFulfillBeforeCert:
536
537 capabilitiesToConsumeBeforeCert:
538
539 unLoggedUrls:
540    - /sdc2/rest/healthCheck
541
542 cleanComponentsConfiguration:
543     cleanIntervalInMinutes: 1440
544     componentsToClean:
545        - Resource
546        - Service
547
548 artifactsIndex: resources
549
550 heatEnvArtifactHeader: ""
551 heatEnvArtifactFooter: ""
552
553 onboarding:
554     protocol: http
555     host: <%= @host_ip %>
556     port: <%= @catalog_port %>
557     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
558     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
559
560 dcae:
561     protocol: http
562     host: <%= @host_ip %>
563     port: <%= @catalog_port %>
564     healthCheckUri: "/dcae/healthCheck"
565
566 # #GSS IDNS
567 switchoverDetector:
568     gBeFqdn:
569     gFeFqdn:
570     beVip: 1.2.3.4
571     feVip: 1.2.3.4
572     beResolveAttempts: 3
573     feResolveAttempts: 3
574     enabled: false
575     interval: 60
576     changePriorityUser: ecompasdc
577     changePriorityPassword: ecompasdc123
578     publishNetworkUrl:
579     publishNetworkBody: '{"note":"comment"}'
580     groups:
581       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
582       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
583
584 applicationL1Cache:
585     datatypes:
586         enabled: true
587         firstRunDelay: 10
588         pollIntervalInSec: 60
589
590 applicationL2Cache:
591     enabled: false
592     catalogL1Cache:
593         enabled: false
594         resourcesSizeInCache: 300
595         servicesSizeInCache: 200
596         productsSizeInCache: 100
597     queue:
598         syncIntervalInSecondes: 43200
599         waitOnShutDownInMinutes: 10
600         numberOfCacheWorkers: 4
601
602 toscaValidators:
603     stringMaxLength: 2500
604
605 disableAudit: false
606
607 vfModuleProperties:
608     min_vf_module_instances:
609         forBaseModule: 1
610         forNonBaseModule: 0
611     max_vf_module_instances:
612         forBaseModule: 1
613         forNonBaseModule:
614     initial_count:
615         forBaseModule: 1
616         forNonBaseModule: 0
617     vf_module_type:
618         forBaseModule: Base
619         forNonBaseModule: Expansion
620
621 genericAssetNodeTypes:
622   VFC: org.openecomp.resource.abstract.nodes.VFC
623   CVFC: org.openecomp.resource.abstract.nodes.VFC
624   VF : org.openecomp.resource.abstract.nodes.VF
625   PNF: org.openecomp.resource.abstract.nodes.PNF
626   Service: org.openecomp.resource.abstract.nodes.service
627
628 workloadContext: Production
629
630 environmentContext:
631     defaultValue: General_Revenue-Bearing
632     validValues:
633        - Critical_Revenue-Bearing
634        - Vital_Revenue-Bearing
635        - Essential_Revenue-Bearing
636        - Important_Revenue-Bearing
637        - Needed_Revenue-Bearing
638        - Useful_Revenue-Bearing
639        - General_Revenue-Bearing
640        - Critical_Non-Revenue
641        - Vital_Non-Revenue
642        - Essential_Non-Revenue
643        - Important_Non-Revenue
644        - Needed_Non-Revenue
645        - Useful_Non-Revenue
646        - General_Non-Revenue