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