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