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