[SDC] rebase 1710 code
[sdc.git] / catalog-be / 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: localhost
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: 4.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     localDataCenter: datacenter1
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   - CVFC
151
152 # validForResourceTypes usage
153 #     validForResourceTypes:
154 #        - VF
155 #        - VL
156 deploymentResourceArtifacts:
157 #  heat:
158 #      displayName: "Base HEAT Template"
159 #      type: HEAT
160 #      validForResourceTypes: *allResourceTypes
161 #  heatVol:
162 #      displayName: "Volume HEAT Template"
163 #      type: HEAT_VOL
164 #      validForResourceTypes: *allResourceTypes
165 #  heatNet:
166 #      displayName: "Network HEAT Template"
167 #      type: HEAT_NET
168 #      validForResourceTypes: *allResourceTypes
169
170 deploymentResourceInstanceArtifacts:
171   heatEnv:
172       displayName: "HEAT ENV"
173       type: HEAT_ENV
174       description: "Auto-generated HEAT Environment deployment artifact"
175       fileExtension: "env"
176   VfHeatEnv:
177       displayName: "VF HEAT ENV"
178       type: HEAT_ENV
179       description: "VF Auto-generated HEAT Environment deployment artifact"
180       fileExtension: "env"
181
182 #tosca artifacts placeholders
183 toscaArtifacts:
184   assetToscaTemplate:
185       artifactName: -template.yml
186       displayName: Tosca Template
187       type: TOSCA_TEMPLATE
188       description: TOSCA representation of the asset
189   assetToscaCsar:
190       artifactName: -csar.csar
191       displayName: Tosca Model
192       type: TOSCA_CSAR
193       description: TOSCA definition package of the asset
194
195
196 #Informational artifacts placeHolder
197 excludeResourceCategory:
198   - Generic
199 excludeResourceType:
200   - PNF  
201 informationalResourceArtifacts:
202   features:
203       displayName: Features
204       type: OTHER
205   capacity:
206       displayName: Capacity
207       type: OTHER
208   vendorTestResult:
209       displayName: Vendor Test Result
210       type: OTHER
211   testScripts:
212       displayName: Test Scripts
213       type: OTHER
214   CloudQuestionnaire:
215       displayName: Cloud Questionnaire (completed)
216       type: OTHER
217   HEATTemplateFromVendor:
218       displayName: HEAT Template from Vendor
219       type: HEAT
220   resourceSecurityTemplate:
221       displayName: Resource Security Template
222       type: OTHER
223
224 excludeServiceCategory:
225
226 informationalServiceArtifacts:
227   serviceArtifactPlan:
228       displayName: Service Artifact Plan
229       type: OTHER
230   summaryOfImpactsToECOMPElements:
231       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
232       type: OTHER
233   controlLoopFunctions:
234       displayName: Control Loop Functions
235       type: OTHER
236   dimensioningInfo:
237       displayName: Dimensioning Info
238       type: OTHER
239   affinityRules:
240       displayName: Affinity Rules
241       type: OTHER
242   operationalPolicies:
243       displayName: Operational Policies
244       type: OTHER
245   serviceSpecificPolicies:
246       displayName: Service-specific Policies
247       type: OTHER
248   engineeringRules:
249       displayName: Engineering Rules (ERD)
250       type: OTHER
251   distributionInstructions:
252       displayName: Distribution Instructions
253       type: OTHER
254   certificationTestResults:
255       displayName: TD Certification Test Results
256       type: OTHER
257   deploymentVotingRecord:
258       displayName: Deployment Voting Record
259       type: OTHER
260   serviceQuestionnaire:
261       displayName: Service Questionnaire
262       type: OTHER
263   serviceSecurityTemplate:
264       displayName: Service Security Template
265       type: OTHER
266
267 serviceApiArtifacts:
268   configuration:
269       displayName: Configuration
270       type: OTHER
271   instantiation:
272       displayName: Instantiation
273       type: OTHER
274   monitoring:
275       displayName: Monitoring
276       type: OTHER
277   reporting:
278       displayName: Reporting
279       type: OTHER
280   logging:
281       displayName: Logging
282       type: OTHER
283   testing:
284       displayName: Testing
285       type: OTHER
286
287 additionalInformationMaxNumberOfKeys: 50
288
289 systemMonitoring:
290     enabled: false
291     isProxy: false
292     probeIntervalInSeconds: 15
293
294 defaultHeatArtifactTimeoutMinutes: 60
295
296 serviceDeploymentArtifacts:
297     YANG_XML:
298         acceptedTypes:
299             - xml
300     VNF_CATALOG:
301         acceptedTypes:
302             - xml
303     MODEL_INVENTORY_PROFILE:
304         acceptedTypes:
305             - xml
306     MODEL_QUERY_SPEC:
307         acceptedTypes:
308             - xml
309 #AAI Artifacts
310     AAI_SERVICE_MODEL:
311         acceptedTypes:
312             - xml
313     AAI_VF_MODULE_MODEL:
314         acceptedTypes:
315             - xml
316     AAI_VF_INSTANCE_MODEL:
317         acceptedTypes:
318             - xml 
319     OTHER:
320         acceptedTypes:
321
322 resourceDeploymentArtifacts:
323     HEAT:
324         acceptedTypes:
325             - yaml
326             - yml
327         validForResourceTypes: *allResourceTypes
328     HEAT_VOL:
329         acceptedTypes:
330             - yaml
331             - yml
332         validForResourceTypes: *allResourceTypes
333     HEAT_NET:
334         acceptedTypes:
335             - yaml
336             - yml
337         validForResourceTypes: *allResourceTypes
338     HEAT_NESTED:
339         acceptedTypes:
340             - yaml
341             - yml
342         validForResourceTypes: *allResourceTypes
343     HEAT_ARTIFACT:
344         acceptedTypes:
345         validForResourceTypes: *allResourceTypes
346     YANG_XML:
347         acceptedTypes:
348             - xml
349         validForResourceTypes: *allResourceTypes
350     VNF_CATALOG:
351         acceptedTypes:
352             - xml
353         validForResourceTypes: *allResourceTypes
354     VF_LICENSE:
355         acceptedTypes:
356             - xml
357         validForResourceTypes: *allResourceTypes
358     VENDOR_LICENSE:
359         acceptedTypes:
360             - xml
361         validForResourceTypes: *allResourceTypes
362     MODEL_INVENTORY_PROFILE:
363         acceptedTypes:
364             - xml
365         validForResourceTypes: *allResourceTypes
366     MODEL_QUERY_SPEC:
367         acceptedTypes:
368             - xml
369         validForResourceTypes: *allResourceTypes
370     LIFECYCLE_OPERATIONS:
371         acceptedTypes:
372             - yaml
373             - yml
374         validForResourceTypes:
375             - VF
376             - VFC
377     VES_EVENTS:
378         acceptedTypes:
379             - yaml
380             - yml
381         validForResourceTypes: *allResourceTypes
382     PERFORMANCE_COUNTER:
383         acceptedTypes:
384             - csv
385         validForResourceTypes: *allResourceTypes
386     APPC_CONFIG:
387         acceptedTypes:
388         validForResourceTypes:
389             - VF
390     DCAE_TOSCA:
391         acceptedTypes:
392             - yml
393             - yaml
394         validForResourceTypes:
395             - VF
396             - VFCMT
397     DCAE_JSON:
398         acceptedTypes:
399             - json
400         validForResourceTypes:
401             - VF
402             - VFCMT
403     DCAE_POLICY:
404         acceptedTypes:
405             - emf
406         validForResourceTypes:
407             - VF
408             - VFCMT
409     DCAE_DOC:
410         acceptedTypes:
411         validForResourceTypes:
412             - VF 
413             - VFCMT       
414     DCAE_EVENT:
415         acceptedTypes:
416         validForResourceTypes:
417             - VF
418             - VFCMT
419     AAI_VF_MODEL:
420         acceptedTypes:
421             - xml
422         validForResourceTypes:
423             - VF
424     AAI_VF_MODULE_MODEL:
425         acceptedTypes:
426             - xml
427         validForResourceTypes:
428             - VF
429     OTHER:
430         acceptedTypes:
431         validForResourceTypes: *allResourceTypes
432     SNMP_POLL:
433         acceptedTypes:
434         validForResourceTypes: *allResourceTypes
435     SNMP_TRAP:
436         acceptedTypes:
437         validForResourceTypes: *allResourceTypes
438
439 resourceInstanceDeploymentArtifacts:
440     HEAT_ENV:
441         acceptedTypes:
442             - env
443     VF_MODULES_METADATA:
444         acceptedTypes:
445             - json
446     VES_EVENTS:
447         acceptedTypes:
448             - yaml
449             - yml
450     PERFORMANCE_COUNTER:
451         acceptedTypes:
452             - csv
453     DCAE_INVENTORY_TOSCA:
454         acceptedTypes:
455             - yml
456             - yaml
457     DCAE_INVENTORY_JSON:
458         acceptedTypes:
459             - json
460     DCAE_INVENTORY_POLICY:
461       acceptedTypes:
462             - emf
463     DCAE_INVENTORY_DOC:
464       acceptedTypes:
465     DCAE_INVENTORY_BLUEPRINT:
466       acceptedTypes:
467     DCAE_INVENTORY_EVENT:
468       acceptedTypes:
469     SNMP_POLL:
470         acceptedTypes:
471         validForResourceTypes: *allResourceTypes
472     SNMP_TRAP:
473         acceptedTypes:
474         validForResourceTypes: *allResourceTypes
475
476 resourceInformationalArtifacts:
477     CHEF:
478         acceptedTypes:
479         validForResourceTypes: *allResourceTypes
480     PUPPET:
481         acceptedTypes:
482         validForResourceTypes: *allResourceTypes
483     SHELL:
484         acceptedTypes:
485         validForResourceTypes: *allResourceTypes
486     YANG:
487         acceptedTypes:
488         validForResourceTypes: *allResourceTypes
489     YANG_XML:
490         acceptedTypes:
491         validForResourceTypes: *allResourceTypes
492     HEAT:
493         acceptedTypes:
494         validForResourceTypes: *allResourceTypes
495     BPEL:
496         acceptedTypes:
497         validForResourceTypes: *allResourceTypes
498     DG_XML:
499         acceptedTypes:
500         validForResourceTypes: *allResourceTypes
501     MURANO_PKG:
502         acceptedTypes:
503         validForResourceTypes: *allResourceTypes
504     OTHER:
505         acceptedTypes:
506         validForResourceTypes: 
507             - VFC
508             - CVFC
509             - CP
510             - VL
511             - VF
512             - VFCMT
513             - Abstract
514             - PNF
515     SNMP_POLL:
516         acceptedTypes:
517         validForResourceTypes: *allResourceTypes
518     SNMP_TRAP:
519         acceptedTypes:
520         validForResourceTypes: *allResourceTypes
521     GUIDE:
522         acceptedTypes:
523         validForResourceTypes:
524             - VF
525             - VFC
526             - CVFC
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 switchoverDetector:
556     gBeFqdn: AIO-BE.ecomp.idns.cip.com
557     gFeFqdn: AIO-FE.ecomp.idns.cip.com
558     beVip: 0.0.0.0
559     feVip: 0.0.0.0
560     beResolveAttempts: 3
561     feResolveAttempts: 3
562     enabled: false
563     interval: 60
564     changePriorityUser: ecompasdc
565     changePriorityPassword: ecompasdc123
566     publishNetworkUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/update_network?user=root"
567     publishNetworkBody: '{"note":"publish network"}'
568     groups:
569       beSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com?user=root",
570                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"}'}
571       feSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com?user=root",
572                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"}'}
573
574 applicationL1Cache:
575     datatypes:
576         enabled: true
577         firstRunDelay: 10
578         pollIntervalInSec: 60
579
580 applicationL2Cache:
581     enabled: true
582     catalogL1Cache:
583         enabled: true
584         resourcesSizeInCache: 300
585         servicesSizeInCache: 200
586         productsSizeInCache: 100
587     queue:
588         syncIntervalInSecondes: 43200
589         waitOnShutDownInMinutes: 10
590         numberOfCacheWorkers: 4
591
592 toscaValidators:
593     stringMaxLength: 2500
594
595 disableAudit: false
596
597 vfModuleProperties:
598     min_vf_module_instances:
599         forBaseModule: 1
600         forNonBaseModule: 0
601     max_vf_module_instances:
602         forBaseModule: 1
603         forNonBaseModule:
604     initial_count:
605         forBaseModule: 1
606         forNonBaseModule: 0
607     vf_module_type:
608         forBaseModule: Base
609         forNonBaseModule: Expansion
610
611 genericAssetNodeTypes:
612   VFC: org.openecomp.resource.abstract.nodes.VFC
613   CVFC: 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