Configuration file runtime reload
[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 unLoggedUrls:
593    - /sdc2/rest/healthCheck
594
595 cleanComponentsConfiguration:
596     cleanIntervalInMinutes: 1440
597     componentsToClean:
598        - Resource
599        - Service
600
601 artifactsIndex: resources
602
603 heatEnvArtifactHeader: ""
604 heatEnvArtifactFooter: ""
605
606 onboarding:
607     protocol: http
608     host: <%= @host_ip %>
609     port: <%= @catalog_port %>
610     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
611     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
612
613 dcae:
614     protocol: http
615     host: <%= @host_ip %>
616     port: <%= @catalog_port %>
617     healthCheckUri: "/dcae/healthCheck"
618
619 # #GSS IDNS
620 switchoverDetector:
621     gBeFqdn:
622     gFeFqdn:
623     beVip: 1.2.3.4
624     feVip: 1.2.3.4
625     beResolveAttempts: 3
626     feResolveAttempts: 3
627     enabled: false
628     interval: 60
629     changePriorityUser: ecompasdc
630     changePriorityPassword: ecompasdc123
631     publishNetworkUrl:
632     publishNetworkBody: '{"note":"comment"}'
633     groups:
634       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
635       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
636
637 applicationL1Cache:
638     datatypes:
639         enabled: true
640         firstRunDelay: 10
641         pollIntervalInSec: 60
642
643 applicationL2Cache:
644     enabled: false
645     catalogL1Cache:
646         enabled: false
647         resourcesSizeInCache: 300
648         servicesSizeInCache: 200
649         productsSizeInCache: 100
650     queue:
651         syncIntervalInSecondes: 43200
652         waitOnShutDownInMinutes: 10
653         numberOfCacheWorkers: 4
654
655 toscaValidators:
656     stringMaxLength: 2500
657
658 disableAudit: false
659 vfModuleProperties:
660     min_vf_module_instances:
661         forBaseModule: 1
662         forNonBaseModule: 0
663     max_vf_module_instances:
664         forBaseModule: 1
665         forNonBaseModule:
666     initial_count:
667         forBaseModule: 1
668         forNonBaseModule: 0
669     vf_module_type:
670         forBaseModule: Base
671         forNonBaseModule: Expansion
672
673 genericAssetNodeTypes:
674   VFC: org.openecomp.resource.abstract.nodes.VFC
675   CVFC: org.openecomp.resource.abstract.nodes.VFC
676   VF : org.openecomp.resource.abstract.nodes.VF
677   PNF: org.openecomp.resource.abstract.nodes.PNF
678   Service: org.openecomp.resource.abstract.nodes.service
679
680 workloadContext: Production
681
682 environmentContext:
683     defaultValue: General_Revenue-Bearing
684     validValues:
685        - Critical_Revenue-Bearing
686        - Vital_Revenue-Bearing
687        - Essential_Revenue-Bearing
688        - Important_Revenue-Bearing
689        - Needed_Revenue-Bearing
690        - Useful_Revenue-Bearing
691        - General_Revenue-Bearing
692        - Critical_Non-Revenue
693        - Vital_Non-Revenue
694        - Essential_Non-Revenue
695        - Important_Non-Revenue
696        - Needed_Non-Revenue
697        - Useful_Non-Revenue
698        - General_Non-Revenue
699
700 gabConfig:
701   - artifactType: 'VES_EVENTS'
702     pathsAndNamesDefinitions:
703       -
704         friendlyName: "Action"
705         path: "event.action[2]"
706         searchable: "true"
707       -
708         friendlyName: "Comment"
709         path: "event.comment"
710         searchable: "true"
711       -
712         friendlyName: "Alarm Additional Information"
713         path: "event.structure.faultFields.structure.alarmAdditionalInformation.comment"
714         searchable: "true"
715
716 dmaapConsumerConfiguration:
717     hosts: localhost:3905
718     consumerGroup: sdc
719     consumerId: mama
720     timeoutMs: 15000
721     limit: 1
722     pollingInterval: 2
723     topic: topic
724     latitude: 32.109333
725     longitude: 34.855499
726     version: 1.0
727     serviceName: localhost/events
728     environment: TEST
729     partner: BOT_R
730     routeOffer: MR1
731     protocol: https
732     contenttype: application/json
733     dme2TraceOn: true
734     aftEnvironment: AFTUAT
735     aftDme2ConnectionTimeoutMs: 15000
736     aftDme2RoundtripTimeoutMs: 240000
737     aftDme2ReadTimeoutMs: 50000
738     dme2preferredRouterFilePath: DME2preferredRouter.txt
739     timeLimitForNotificationHandleMs: 120000
740     credential:
741         username: user
742         password:
743
744
745
746 excludedPolicyTypesMapping:
747    # VF:
748     #  - a.b.c
749     #  - c.d.e
750     #CR:
751     #  - x.y.z
752
753 excludedGroupTypesMapping:
754     CR:
755        - org.openecomp.groups.VfModule
756        - org.openecomp.groups.heat.HeatStack
757        - tosca.groups.Root
758     VF:
759        - org.openecomp.groups.VfModule
760        - org.openecomp.groups.heat.HeatStack
761        - tosca.groups.Root
762     Service:
763        - org.openecomp.groups.VfModule
764        - org.openecomp.groups.heat.HeatStack
765        - tosca.groups.Root
766
767 healthStatusExclude:
768    - DE
769    - DMAPP
770    - DCAE