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