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