re base code
[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 <% if node[:disableHttp] -%>
20 beProtocol: https
21 <% else %>
22 beProtocol: http
23 <% end -%>
24
25 # catalog backend ssl port
26 beSslPort: <%= @ssl_port %>
27 version: 1.0
28 released: 2012-11-30
29 toscaConformanceLevel: 8.0
30 minToscaConformanceLevel: 3.0
31
32 titanCfgFile: <%= @titan_Path %>/titan.properties
33 titanInMemoryGraph: false
34 titanLockTimeout: 1800
35 # The interval to try and reconnect to titan DB when it is down during ASDC startup:
36 titanReconnectIntervalInSeconds: 3
37
38 # The read timeout towards Titan DB when health check is invoked:
39 titanHealthCheckReadTimeout: 1
40
41 # The interval to try and reconnect to Elasticsearch when it is down during ASDC startup:
42
43 esReconnectIntervalInSeconds: 3
44 uebHealthCheckReconnectIntervalInSeconds: 15
45 uebHealthCheckReadTimeout: 4
46
47 # Protocols
48 protocols:
49    - http
50    - https
51
52 # Default imports
53 defaultImports:
54    - nodes:
55         file: nodes.yml
56    - datatypes:
57         file: data.yml
58    - capabilities:
59         file: capabilities.yml
60    - relationships:
61         file: relationships.yml
62    - groups:
63         file: groups.yml
64    - policies:
65         file: policies.yml
66
67 # Users
68 users:
69     tom: passwd
70     bob: passwd
71
72
73 cassandraConfig:
74     cassandraHosts: [<%= @cassandra_ip %>]
75     localDataCenter: <%= @DC_NAME %>
76     reconnectTimeout : 30000
77     socketReadTimeout: <%= @socket_read_timeout %>
78     socketConnectTimeout: <%= @socket_connect_timeout %>
79     authenticate: true
80     username: asdc_user
81     password: Aa1234%^!
82     ssl: false
83     truststorePath : /config/.truststore
84     truststorePassword : Aa123456
85     keySpaces:
86         - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
87         - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
88         - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
89         - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
90         - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
91
92 #Application-specific settings of ES
93 elasticSearch:
94     # Mapping of index prefix to time-based frame. For example, if below is configured:
95     #
96     # - indexPrefix: auditingevents
97     #    creationPeriod: minute
98     #
99     # 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.
100     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
101     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
102     #
103     # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
104     #
105     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
106     #
107     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
108
109     indicesTimeFrequency:
110       - indexPrefix: auditingevents
111         creationPeriod: month
112       - indexPrefix: monitoring_events
113         creationPeriod: month
114
115 artifactTypes:
116    - CHEF
117    - PUPPET
118    - SHELL
119    - YANG
120    - YANG_XML
121    - HEAT
122    - BPEL
123    - DG_XML
124    - MURANO_PKG
125    - WORKFLOW
126    - NETWORK_CALL_FLOW
127    - TOSCA_TEMPLATE
128    - TOSCA_CSAR
129    - AAI_SERVICE_MODEL
130    - AAI_VF_MODEL
131    - AAI_VF_MODULE_MODEL
132    - AAI_VF_INSTANCE_MODEL
133    - OTHER
134    - SNMP_POLL
135    - SNMP_TRAP
136    - GUIDE
137    - PLAN
138
139 licenseTypes:
140    - User
141    - Installation
142    - CPU
143
144 #Deployment artifacts placeHolder
145 resourceTypes: &allResourceTypes
146   - VFC
147   - CP
148   - VL
149   - VF
150   - VFCMT
151   - Abstract
152   - CVFC
153
154
155 deploymentResourceArtifacts:
156
157
158 deploymentResourceInstanceArtifacts:
159   heatEnv:
160       displayName: "HEAT ENV"
161       type: HEAT_ENV
162       description: "Auto-generated HEAT Environment deployment artifact"
163       fileExtension: "env"
164   VfHeatEnv:
165       displayName: "VF HEAT ENV"
166       type: HEAT_ENV
167       description: "VF Auto-generated HEAT Environment deployment artifact"
168       fileExtension: "env"
169
170 #tosca artifacts placeholders
171 toscaArtifacts:
172   assetToscaTemplate:
173       artifactName: -template.yml
174       displayName: Tosca Template
175       type: TOSCA_TEMPLATE
176       description: TOSCA representation of the asset
177   assetToscaCsar:
178       artifactName: -csar.csar
179       displayName: Tosca Model
180       type: TOSCA_CSAR
181       description: TOSCA definition package of the asset
182
183 #Informational artifacts placeHolder
184 excludeResourceCategory:
185   - Generic
186 excludeResourceType:
187   - PNF
188 informationalResourceArtifacts:
189   features:
190       displayName: Features
191       type: OTHER
192   capacity:
193       displayName: Capacity
194       type: OTHER
195   vendorTestResult:
196       displayName: Vendor Test Result
197       type: OTHER
198   testScripts:
199       displayName: Test Scripts
200       type: OTHER
201   CloudQuestionnaire:
202       displayName: Cloud Questionnaire (completed)
203       type: OTHER
204   HEATTemplateFromVendor:
205       displayName: HEAT Template from Vendor
206       type: HEAT
207   resourceSecurityTemplate:
208       displayName: Resource Security Template
209       type: OTHER
210
211 excludeServiceCategory:
212
213 informationalServiceArtifacts:
214   serviceArtifactPlan:
215       displayName: Service Artifact Plan
216       type: OTHER
217   summaryOfImpactsToECOMPElements:
218       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
219       type: OTHER
220   controlLoopFunctions:
221       displayName: Control Loop Functions
222       type: OTHER
223   dimensioningInfo:
224       displayName: Dimensioning Info
225       type: OTHER
226   affinityRules:
227       displayName: Affinity Rules
228       type: OTHER
229   operationalPolicies:
230       displayName: Operational Policies
231       type: OTHER
232   serviceSpecificPolicies:
233       displayName: Service-specific Policies
234       type: OTHER
235   engineeringRules:
236       displayName: Engineering Rules (ERD)
237       type: OTHER
238   distributionInstructions:
239       displayName: Distribution Instructions
240       type: OTHER
241   certificationTestResults:
242       displayName: TD Certification Test Results
243       type: OTHER
244   deploymentVotingRecord:
245       displayName: Deployment Voting Record
246       type: OTHER
247   serviceQuestionnaire:
248       displayName: Service Questionnaire
249       type: OTHER
250   serviceSecurityTemplate:
251       displayName: Service Security Template
252       type: OTHER
253
254 serviceApiArtifacts:
255   configuration:
256       displayName: Configuration
257       type: OTHER
258   instantiation:
259       displayName: Instantiation
260       type: OTHER
261   monitoring:
262       displayName: Monitoring
263       type: OTHER
264   reporting:
265       displayName: Reporting
266       type: OTHER
267   logging:
268       displayName: Logging
269       type: OTHER
270   testing:
271       displayName: Testing
272       type: OTHER
273
274 additionalInformationMaxNumberOfKeys: 50
275
276 systemMonitoring:
277     enabled: false
278     isProxy: false
279     probeIntervalInSeconds: 15
280
281 defaultHeatArtifactTimeoutMinutes: 60
282
283 serviceDeploymentArtifacts:
284     YANG_XML:
285         acceptedTypes:
286             - xml
287     VNF_CATALOG:
288         acceptedTypes:
289             - xml
290     MODEL_INVENTORY_PROFILE:
291         acceptedTypes:
292             - xml
293     MODEL_QUERY_SPEC:
294         acceptedTypes:
295             - xml
296
297 #AAI Artifacts
298     AAI_SERVICE_MODEL:
299         acceptedTypes:
300             - xml
301     AAI_VF_MODULE_MODEL:
302         acceptedTypes:
303             - xml
304     AAI_VF_INSTANCE_MODEL:
305         acceptedTypes:
306             - xml
307     UCPE_LAYER_2_CONFIGURATION:
308         acceptedTypes:
309             - xml
310     OTHER:
311         acceptedTypes:
312
313 #PLAN
314     PLAN:
315         acceptedTypes:
316             - xml
317
318 resourceDeploymentArtifacts:
319     HEAT:
320         acceptedTypes:
321             - yaml
322             - yml
323         validForResourceTypes: *allResourceTypes
324     HEAT_VOL:
325         acceptedTypes:
326             - yaml
327             - yml
328         validForResourceTypes: *allResourceTypes
329     HEAT_NET:
330         acceptedTypes:
331             - yaml
332             - yml
333         validForResourceTypes: *allResourceTypes
334     HEAT_NESTED:
335         acceptedTypes:
336             - yaml
337             - yml
338         validForResourceTypes: *allResourceTypes
339     HEAT_ARTIFACT:
340         acceptedTypes:
341         validForResourceTypes: *allResourceTypes
342     YANG_XML:
343         acceptedTypes:
344             - xml
345         validForResourceTypes: *allResourceTypes
346     VNF_CATALOG:
347         acceptedTypes:
348             - xml
349         validForResourceTypes: *allResourceTypes
350     VF_LICENSE:
351         acceptedTypes:
352             - xml
353         validForResourceTypes: *allResourceTypes
354     VENDOR_LICENSE:
355         acceptedTypes:
356             - xml
357         validForResourceTypes: *allResourceTypes
358     MODEL_INVENTORY_PROFILE:
359         acceptedTypes:
360             - xml
361         validForResourceTypes: *allResourceTypes
362     MODEL_QUERY_SPEC:
363         acceptedTypes:
364             - xml
365         validForResourceTypes: *allResourceTypes
366     LIFECYCLE_OPERATIONS:
367         acceptedTypes:
368             - yaml
369             - yml
370         validForResourceTypes:
371             - VF
372             - VFC
373     VES_EVENTS:
374         acceptedTypes:
375             - yaml
376             - yml
377         validForResourceTypes: *allResourceTypes
378     PERFORMANCE_COUNTER:
379         acceptedTypes:
380             - csv
381         validForResourceTypes: *allResourceTypes
382     APPC_CONFIG:
383         acceptedTypes:
384         validForResourceTypes:
385             - VF
386     DCAE_TOSCA:
387         acceptedTypes:
388             - yml
389             - yaml
390         validForResourceTypes:
391             - VF
392             - VFCMT
393     DCAE_JSON:
394         acceptedTypes:
395             - json
396         validForResourceTypes:
397             - VF
398             - VFCMT
399     DCAE_POLICY:
400         acceptedTypes:
401             - emf
402         validForResourceTypes:
403             - VF
404             - VFCMT
405     DCAE_DOC:
406         acceptedTypes:
407         validForResourceTypes:
408             - VF
409             - VFCMT
410     DCAE_EVENT:
411         acceptedTypes:
412         validForResourceTypes:
413             - VF
414             - VFCMT
415     AAI_VF_MODEL:
416         acceptedTypes:
417             - xml
418         validForResourceTypes:
419             - VF
420     AAI_VF_MODULE_MODEL:
421         acceptedTypes:
422             - xml
423         validForResourceTypes:
424             - VF
425     OTHER:
426         acceptedTypes:
427         validForResourceTypes: *allResourceTypes
428     SNMP_POLL:
429         acceptedTypes:
430         validForResourceTypes: *allResourceTypes
431     SNMP_TRAP:
432         acceptedTypes:
433         validForResourceTypes: *allResourceTypes
434
435 #PLAN
436     PLAN:
437         acceptedTypes:
438             - xml
439         validForResourceTypes:
440             - VF
441             - VFC
442
443 resourceInstanceDeploymentArtifacts:
444     HEAT_ENV:
445         acceptedTypes:
446             - env
447     VF_MODULES_METADATA:
448         acceptedTypes:
449             - json
450     VES_EVENTS:
451         acceptedTypes:
452             - yaml
453             - yml
454     PERFORMANCE_COUNTER:
455         acceptedTypes:
456             - csv
457     DCAE_INVENTORY_TOSCA:
458         acceptedTypes:
459             - yml
460             - yaml
461     DCAE_INVENTORY_JSON:
462         acceptedTypes:
463             - json
464     DCAE_INVENTORY_POLICY:
465       acceptedTypes:
466             - emf
467     DCAE_INVENTORY_DOC:
468       acceptedTypes:
469     DCAE_INVENTORY_BLUEPRINT:
470       acceptedTypes:
471     DCAE_INVENTORY_EVENT:
472       acceptedTypes:
473     SNMP_POLL:
474         acceptedTypes:
475         validForResourceTypes: *allResourceTypes
476     SNMP_TRAP:
477         acceptedTypes:
478         validForResourceTypes: *allResourceTypes
479
480 #PLAN
481     PLAN:
482         acceptedTypes:
483             - xml
484
485 resourceInformationalArtifacts:
486     CHEF:
487         acceptedTypes:
488         validForResourceTypes: *allResourceTypes
489     PUPPET:
490         acceptedTypes:
491         validForResourceTypes: *allResourceTypes
492     SHELL:
493         acceptedTypes:
494         validForResourceTypes: *allResourceTypes
495     YANG:
496         acceptedTypes:
497         validForResourceTypes: *allResourceTypes
498     YANG_XML:
499         acceptedTypes:
500         validForResourceTypes: *allResourceTypes
501     HEAT:
502         acceptedTypes:
503         validForResourceTypes: *allResourceTypes
504     BPEL:
505         acceptedTypes:
506         validForResourceTypes: *allResourceTypes
507     DG_XML:
508         acceptedTypes:
509         validForResourceTypes: *allResourceTypes
510     MURANO_PKG:
511         acceptedTypes:
512         validForResourceTypes: *allResourceTypes
513     OTHER:
514         acceptedTypes:
515         validForResourceTypes:
516             - VFC
517             - CVFC
518             - CP
519             - VL
520             - VF
521             - VFCMT
522             - Abstract
523             - PNF
524     SNMP_POLL:
525         acceptedTypes:
526         validForResourceTypes: *allResourceTypes
527     SNMP_TRAP:
528         acceptedTypes:
529         validForResourceTypes: *allResourceTypes
530     GUIDE:
531         acceptedTypes:
532         validForResourceTypes:
533             - VF
534             - VFC
535             - CVFC
536
537 resourceInformationalDeployedArtifacts:
538
539 requirementsToFulfillBeforeCert:
540
541 capabilitiesToConsumeBeforeCert:
542
543 unLoggedUrls:
544    - /sdc2/rest/healthCheck
545
546 cleanComponentsConfiguration:
547     cleanIntervalInMinutes: 1440
548     componentsToClean:
549        - Resource
550        - Service
551
552 artifactsIndex: resources
553
554 heatEnvArtifactHeader: ""
555 heatEnvArtifactFooter: ""
556
557 onboarding:
558     protocol: http
559     host: <%= @host_ip %>
560     port: <%= @catalog_port %>
561     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
562     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
563
564 dcae:
565     protocol: http
566     host: <%= @host_ip %>
567     port: <%= @catalog_port %>
568     healthCheckUri: "/dcae/healthCheck"
569
570 # #GSS IDNS
571 switchoverDetector:
572     gBeFqdn:
573     gFeFqdn:
574     beVip: 1.2.3.4
575     feVip: 1.2.3.4
576     beResolveAttempts: 3
577     feResolveAttempts: 3
578     enabled: false
579     interval: 60
580     changePriorityUser: ecompasdc
581     changePriorityPassword: ecompasdc123
582     publishNetworkUrl:
583     publishNetworkBody: '{"note":"comment"}'
584     groups:
585       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
586       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
587
588 applicationL1Cache:
589     datatypes:
590         enabled: true
591         firstRunDelay: 10
592         pollIntervalInSec: 60
593
594 applicationL2Cache:
595     enabled: false
596     catalogL1Cache:
597         enabled: false
598         resourcesSizeInCache: 300
599         servicesSizeInCache: 200
600         productsSizeInCache: 100
601     queue:
602         syncIntervalInSecondes: 43200
603         waitOnShutDownInMinutes: 10
604         numberOfCacheWorkers: 4
605
606 toscaValidators:
607     stringMaxLength: 2500
608
609 disableAudit: false
610 vfModuleProperties:
611     min_vf_module_instances:
612         forBaseModule: 1
613         forNonBaseModule: 0
614     max_vf_module_instances:
615         forBaseModule: 1
616         forNonBaseModule:
617     initial_count:
618         forBaseModule: 1
619         forNonBaseModule: 0
620     vf_module_type:
621         forBaseModule: Base
622         forNonBaseModule: Expansion
623
624 genericAssetNodeTypes:
625   VFC: org.openecomp.resource.abstract.nodes.VFC
626   CVFC: org.openecomp.resource.abstract.nodes.VFC
627   VF : org.openecomp.resource.abstract.nodes.VF
628   PNF: org.openecomp.resource.abstract.nodes.PNF
629   Service: org.openecomp.resource.abstract.nodes.service
630
631 workloadContext: Production
632
633 environmentContext:
634     defaultValue: General_Revenue-Bearing
635     validValues:
636        - Critical_Revenue-Bearing
637        - Vital_Revenue-Bearing
638        - Essential_Revenue-Bearing
639        - Important_Revenue-Bearing
640        - Needed_Revenue-Bearing
641        - Useful_Revenue-Bearing
642        - General_Revenue-Bearing
643        - Critical_Non-Revenue
644        - Vital_Non-Revenue
645        - Essential_Non-Revenue
646        - Important_Non-Revenue
647        - Needed_Non-Revenue
648        - Useful_Non-Revenue
649        - General_Non-Revenue
650
651 dmaapConsumerConfiguration:
652     hosts: localhost:3905
653     consumerGroup: sdc
654     consumerId: mama
655     timeoutMs: 15000
656     limit: 1
657     pollingInterval: 2
658     topic: topic
659     latitude: 32.109333
660     longitude: 34.855499
661     version: 1.0
662     serviceName: localhost/events
663     environment: TEST
664     partner: BOT_R
665     routeOffer: MR1
666     protocol: https
667     contenttype: application/json
668     dme2TraceOn: true
669     aftEnvironment: AFTUAT
670     aftDme2ConnectionTimeoutMs: 15000
671     aftDme2RoundtripTimeoutMs: 240000
672     aftDme2ReadTimeoutMs: 50000
673     dme2preferredRouterFilePath: DME2preferredRouter.txt
674     timeLimitForNotificationHandleMs: 120000
675     credential:
676         username: user
677         password:
678
679 dmeConfiguration:
680     dme2Search: DME2SEARCH
681     dme2Resolve: DME2RESOLVE
682
683 excludedPolicyTypesMapping:
684    # VF:
685     #  - a.b.c
686     #  - c.d.e
687     #CR:
688     #  - x.y.z
689
690 excludedGroupTypesMapping:
691     CR:
692        - org.openecomp.groups.VfModule
693        - org.openecomp.groups.heat.HeatStack
694        - tosca.groups.Root
695     VF:
696        - org.openecomp.groups.VfModule
697        - org.openecomp.groups.heat.HeatStack
698        - tosca.groups.Root
699     Service:
700        - org.openecomp.groups.VfModule
701        - org.openecomp.groups.heat.HeatStack
702        - tosca.groups.Root
703
704 healthStatusExclude:
705    - DE
706    - DMAPP
707    - DCAE