Sync Integ to Master
[sdc.git] / asdctool / sdc-cassandra-init / 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: 5.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: <%= @DC_NAME %>
72     reconnectTimeout : 30000
73     socketReadTimeout: <%= @socket_read_timeout %>
74     socketConnectTimeout: <%= @socket_connect_timeout %>
75     authenticate: true
76     username: asdc_user
77     password: Aa1234%^!
78     ssl: false
79     truststorePath : /config/.truststore
80     truststorePassword : Aa123456
81     keySpaces:
82         - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
83         - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
84         - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
85         - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
86         - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
87
88 #Application-specific settings of ES
89 elasticSearch:
90     # Mapping of index prefix to time-based frame. For example, if below is configured:
91     #
92     # - indexPrefix: auditingevents
93     #    creationPeriod: minute
94     #
95     # 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.
96     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
97     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
98     #
99     # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
100     #
101     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
102     #
103     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
104
105     indicesTimeFrequency:
106       - indexPrefix: auditingevents
107         creationPeriod: month
108       - indexPrefix: monitoring_events
109         creationPeriod: month
110
111 artifactTypes:
112    - CHEF
113    - PUPPET
114    - SHELL
115    - YANG
116    - YANG_XML
117    - HEAT
118    - BPEL
119    - DG_XML
120    - MURANO_PKG
121    - WORKFLOW
122    - NETWORK_CALL_FLOW
123    - TOSCA_TEMPLATE
124    - TOSCA_CSAR
125    - AAI_SERVICE_MODEL
126    - AAI_VF_MODEL
127    - AAI_VF_MODULE_MODEL
128    - AAI_VF_INSTANCE_MODEL
129    - OTHER
130    - SNMP_POLL
131    - SNMP_TRAP
132    - GUIDE
133
134 licenseTypes:
135    - User
136    - Installation
137    - CPU
138
139 #Deployment artifacts placeHolder
140 resourceTypes: &allResourceTypes
141   - VFC
142   - CP
143   - VL
144   - VF
145   - VFCMT
146   - Abstract
147   - CVFC
148
149 # validForResourceTypes usage
150 #     validForResourceTypes:
151 #        - VF
152 #        - VL
153 deploymentResourceArtifacts:
154 #  heat:
155 #      displayName: "Base HEAT Template"
156 #      type: HEAT
157 #      validForResourceTypes: *allResourceTypes
158 #  heatVol:
159 #      displayName: "Volume HEAT Template"
160 #      type: HEAT_VOL
161 #      validForResourceTypes: *allResourceTypes
162 #  heatNet:
163 #      displayName: "Network HEAT Template"
164 #      type: HEAT_NET
165 #      validForResourceTypes: *allResourceTypes
166
167 deploymentResourceInstanceArtifacts:
168   heatEnv:
169       displayName: "HEAT ENV"
170       type: HEAT_ENV
171       description: "Auto-generated HEAT Environment deployment artifact"
172       fileExtension: "env"
173   VfHeatEnv:
174       displayName: "VF HEAT ENV"
175       type: HEAT_ENV
176       description: "VF Auto-generated HEAT Environment deployment artifact"
177       fileExtension: "env"
178
179 #tosca artifacts placeholders
180 toscaArtifacts:
181   assetToscaTemplate:
182       artifactName: -template.yml
183       displayName: Tosca Template
184       type: TOSCA_TEMPLATE
185       description: TOSCA representation of the asset
186   assetToscaCsar:
187       artifactName: -csar.csar
188       displayName: Tosca Model
189       type: TOSCA_CSAR
190       description: TOSCA definition package of the asset
191
192 #Informational artifacts placeHolder
193 excludeResourceCategory:
194   - Generic
195 excludeResourceType:
196   - PNF  
197 informationalResourceArtifacts:
198   features:
199       displayName: Features
200       type: OTHER
201   capacity:
202       displayName: Capacity
203       type: OTHER
204   vendorTestResult:
205       displayName: Vendor Test Result
206       type: OTHER
207   testScripts:
208       displayName: Test Scripts
209       type: OTHER
210   CloudQuestionnaire:
211       displayName: Cloud Questionnaire (completed)
212       type: OTHER
213   HEATTemplateFromVendor:
214       displayName: HEAT Template from Vendor
215       type: HEAT
216   resourceSecurityTemplate:
217       displayName: Resource Security Template
218       type: OTHER
219
220 excludeServiceCategory:
221
222 informationalServiceArtifacts:
223   serviceArtifactPlan:
224       displayName: Service Artifact Plan
225       type: OTHER
226   summaryOfImpactsToECOMPElements:
227       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
228       type: OTHER
229   controlLoopFunctions:
230       displayName: Control Loop Functions
231       type: OTHER
232   dimensioningInfo:
233       displayName: Dimensioning Info
234       type: OTHER
235   affinityRules:
236       displayName: Affinity Rules
237       type: OTHER
238   operationalPolicies:
239       displayName: Operational Policies
240       type: OTHER
241   serviceSpecificPolicies:
242       displayName: Service-specific Policies
243       type: OTHER
244   engineeringRules:
245       displayName: Engineering Rules (ERD)
246       type: OTHER
247   distributionInstructions:
248       displayName: Distribution Instructions
249       type: OTHER
250   certificationTestResults:
251       displayName: TD Certification Test Results
252       type: OTHER
253   deploymentVotingRecord:
254       displayName: Deployment Voting Record
255       type: OTHER
256   serviceQuestionnaire:
257       displayName: Service Questionnaire
258       type: OTHER
259   serviceSecurityTemplate:
260       displayName: Service Security Template
261       type: OTHER
262
263 serviceApiArtifacts:
264   configuration:
265       displayName: Configuration
266       type: OTHER
267   instantiation:
268       displayName: Instantiation
269       type: OTHER
270   monitoring:
271       displayName: Monitoring
272       type: OTHER
273   reporting:
274       displayName: Reporting
275       type: OTHER
276   logging:
277       displayName: Logging
278       type: OTHER
279   testing:
280       displayName: Testing
281       type: OTHER
282
283 additionalInformationMaxNumberOfKeys: 50
284
285 systemMonitoring:
286     enabled: true
287     isProxy: false
288     probeIntervalInSeconds: 15
289
290 defaultHeatArtifactTimeoutMinutes: 60
291
292 serviceDeploymentArtifacts:
293     YANG_XML:
294         acceptedTypes:
295             - xml
296     VNF_CATALOG:
297         acceptedTypes:
298             - xml
299     MODEL_INVENTORY_PROFILE:
300         acceptedTypes:
301             - xml
302     MODEL_QUERY_SPEC:
303         acceptedTypes:
304             - xml
305     UCPE_LAYER_2_CONFIGURATION:
306         acceptedTypes:
307             - xml
308
309 #AAI Artifacts
310     AAI_SERVICE_MODEL:
311         acceptedTypes:
312             - xml
313     AAI_VF_MODULE_MODEL:
314         acceptedTypes:
315             - xml
316     AAI_VF_INSTANCE_MODEL:
317         acceptedTypes:
318             - xml
319     OTHER:
320         acceptedTypes:
321
322 resourceDeploymentArtifacts:
323     HEAT:
324         acceptedTypes:
325             - yaml
326             - yml
327         validForResourceTypes: *allResourceTypes
328     HEAT_VOL:
329         acceptedTypes:
330             - yaml
331             - yml
332         validForResourceTypes: *allResourceTypes
333     HEAT_NET:
334         acceptedTypes:
335             - yaml
336             - yml
337         validForResourceTypes: *allResourceTypes
338     HEAT_NESTED:
339         acceptedTypes:
340             - yaml
341             - yml
342         validForResourceTypes: *allResourceTypes
343     HEAT_ARTIFACT:
344         acceptedTypes:
345         validForResourceTypes: *allResourceTypes
346     YANG_XML:
347         acceptedTypes:
348             - xml
349         validForResourceTypes: *allResourceTypes
350     VNF_CATALOG:
351         acceptedTypes:
352             - xml
353         validForResourceTypes: *allResourceTypes
354     VF_LICENSE:
355         acceptedTypes:
356             - xml
357         validForResourceTypes: *allResourceTypes
358     VENDOR_LICENSE:
359         acceptedTypes:
360             - xml
361         validForResourceTypes: *allResourceTypes
362     MODEL_INVENTORY_PROFILE:
363         acceptedTypes:
364             - xml
365         validForResourceTypes: *allResourceTypes
366     MODEL_QUERY_SPEC:
367         acceptedTypes:
368             - xml
369         validForResourceTypes: *allResourceTypes
370     LIFECYCLE_OPERATIONS:
371         acceptedTypes:
372             - yaml
373             - yml
374         validForResourceTypes:
375             - VF
376             - VFC
377     VES_EVENTS:
378         acceptedTypes:
379             - yaml
380             - yml
381         validForResourceTypes: *allResourceTypes
382     PERFORMANCE_COUNTER:
383         acceptedTypes:
384             - csv
385         validForResourceTypes: *allResourceTypes
386     APPC_CONFIG:
387         acceptedTypes:
388         validForResourceTypes:
389             - VF
390     DCAE_TOSCA:
391         acceptedTypes:
392             - yml
393             - yaml
394         validForResourceTypes:
395             - VF
396             - VFCMT
397     DCAE_JSON:
398         acceptedTypes:
399             - json
400         validForResourceTypes:
401             - VF
402             - VFCMT
403     DCAE_POLICY:
404         acceptedTypes:
405             - emf
406         validForResourceTypes:
407             - VF
408             - VFCMT
409     DCAE_DOC:
410         acceptedTypes:
411         validForResourceTypes:
412             - VF
413             - VFCMT
414     DCAE_EVENT:
415         acceptedTypes:
416         validForResourceTypes:
417             - VF
418             - VFCMT
419     AAI_VF_MODEL:
420         acceptedTypes:
421             - xml
422         validForResourceTypes:
423             - VF
424     AAI_VF_MODULE_MODEL:
425         acceptedTypes:
426             - xml
427         validForResourceTypes:
428             - VF
429     OTHER:
430         acceptedTypes:
431         validForResourceTypes: *allResourceTypes
432     SNMP_POLL:
433         acceptedTypes:
434         validForResourceTypes: *allResourceTypes
435     SNMP_TRAP:
436         acceptedTypes:
437         validForResourceTypes: *allResourceTypes
438
439 resourceInstanceDeploymentArtifacts:
440     HEAT_ENV:
441         acceptedTypes:
442             - env
443     VF_MODULES_METADATA:
444         acceptedTypes:
445             - json
446     VES_EVENTS:
447         acceptedTypes:
448             - yaml
449             - yml
450     PERFORMANCE_COUNTER:
451         acceptedTypes:
452             - csv
453     DCAE_INVENTORY_TOSCA:
454         acceptedTypes:
455             - yml
456             - yaml
457     DCAE_INVENTORY_JSON:
458         acceptedTypes:
459             - json
460     DCAE_INVENTORY_POLICY:
461       acceptedTypes:
462             - emf
463     DCAE_INVENTORY_DOC:
464       acceptedTypes:
465     DCAE_INVENTORY_BLUEPRINT:
466       acceptedTypes:
467     DCAE_INVENTORY_EVENT:
468       acceptedTypes:
469     SNMP_POLL:
470         acceptedTypes:
471         validForResourceTypes: *allResourceTypes
472     SNMP_TRAP:
473         acceptedTypes:
474         validForResourceTypes: *allResourceTypes
475
476 resourceInformationalArtifacts:
477     CHEF:
478         acceptedTypes:
479         validForResourceTypes: *allResourceTypes
480     PUPPET:
481         acceptedTypes:
482         validForResourceTypes: *allResourceTypes
483     SHELL:
484         acceptedTypes:
485         validForResourceTypes: *allResourceTypes
486     YANG:
487         acceptedTypes:
488         validForResourceTypes: *allResourceTypes
489     YANG_XML:
490         acceptedTypes:
491         validForResourceTypes: *allResourceTypes
492     HEAT:
493         acceptedTypes:
494         validForResourceTypes: *allResourceTypes
495     BPEL:
496         acceptedTypes:
497         validForResourceTypes: *allResourceTypes
498     DG_XML:
499         acceptedTypes:
500         validForResourceTypes: *allResourceTypes
501     MURANO_PKG:
502         acceptedTypes:
503         validForResourceTypes: *allResourceTypes
504     OTHER:
505         acceptedTypes:
506         validForResourceTypes: 
507             - VFC
508             - CVFC
509             - CP
510             - VL
511             - VF
512             - VFCMT
513             - Abstract
514             - PNF
515     SNMP_POLL:
516         acceptedTypes:
517         validForResourceTypes: *allResourceTypes
518     SNMP_TRAP:
519         acceptedTypes:
520         validForResourceTypes: *allResourceTypes
521     GUIDE:
522         acceptedTypes:
523         validForResourceTypes:
524             - VF
525             - VFC
526             - CVFC
527
528 resourceInformationalDeployedArtifacts:
529
530 requirementsToFulfillBeforeCert:
531
532 capabilitiesToConsumeBeforeCert:
533
534 unLoggedUrls:
535    - /sdc2/rest/healthCheck
536
537 cleanComponentsConfiguration:
538     cleanIntervalInMinutes: 1440
539     componentsToClean:
540        - Resource
541        - Service
542
543 artifactsIndex: resources
544
545 heatEnvArtifactHeader: ""
546 heatEnvArtifactFooter: ""
547
548 onboarding:
549     protocol: http
550     host: <%= @host_ip %>
551     port: <%= @catalog_port %>
552     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
553     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
554
555 dcae:
556     protocol: http
557     host: <%= @host_ip %>
558     port: <%= @catalog_port %>
559     healthCheckUri: "/dcae/healthCheck"
560
561 # #GSS IDNS
562 switchoverDetector:
563     gBeFqdn:
564     gFeFqdn:
565     beVip: 1.2.3.4
566     feVip: 1.2.3.4
567     beResolveAttempts: 3
568     feResolveAttempts: 3
569     enabled: false
570     interval: 60
571     changePriorityUser: ecompasdc
572     changePriorityPassword: ecompasdc123
573     publishNetworkUrl:
574     publishNetworkBody: '{"note":"comment"}'
575     groups:
576       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
577       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
578
579 applicationL1Cache:
580     datatypes:
581         enabled: true
582         firstRunDelay: 10
583         pollIntervalInSec: 60
584
585 applicationL2Cache:
586     enabled: true
587     catalogL1Cache:
588         enabled: true
589         resourcesSizeInCache: 300
590         servicesSizeInCache: 200
591         productsSizeInCache: 100
592     queue:
593         syncIntervalInSecondes: 43200
594         waitOnShutDownInMinutes: 10
595         numberOfCacheWorkers: 4
596
597 toscaValidators:
598     stringMaxLength: 2500
599
600 disableAudit: false
601 vfModuleProperties:
602     min_vf_module_instances:
603         forBaseModule: 1
604         forNonBaseModule: 0
605     max_vf_module_instances:
606         forBaseModule: 1
607         forNonBaseModule:
608     initial_count:
609         forBaseModule: 1
610         forNonBaseModule: 0
611     vf_module_type:
612         forBaseModule: Base
613         forNonBaseModule: Expansion
614
615 genericAssetNodeTypes:
616   VFC: org.openecomp.resource.abstract.nodes.VFC
617   CVFC: org.openecomp.resource.abstract.nodes.VFC
618   VF : org.openecomp.resource.abstract.nodes.VF
619   PNF: org.openecomp.resource.abstract.nodes.PNF
620   Service: org.openecomp.resource.abstract.nodes.service
621
622 workloadContext: Production
623
624 environmentContext:
625     defaultValue: General_Revenue-Bearing
626     validValues:
627        - Critical_Revenue-Bearing
628        - Vital_Revenue-Bearing
629        - Essential_Revenue-Bearing
630        - Important_Revenue-Bearing
631        - Needed_Revenue-Bearing
632        - Useful_Revenue-Bearing
633        - General_Revenue-Bearing
634        - Critical_Non-Revenue
635        - Vital_Non-Revenue
636        - Essential_Non-Revenue
637        - Important_Non-Revenue
638        - Needed_Non-Revenue
639        - Useful_Non-Revenue
640        - General_Non-Revenue