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