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