[sdc] - latest code changes
[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: 3.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
45 # Protocols
46 protocols:
47    - http
48    - https
49
50 # Default imports
51 defaultImports:
52    - nodes:
53         file: nodes.yml
54    - datatypes:
55         file: data.yml
56    - capabilities:
57         file: capabilities.yml
58    - relationships:
59         file: relationships.yml
60    - groups:
61         file: groups.yml
62    - policies:
63         file: policies.yml
64
65 # Users
66 users:
67     tom: passwd
68     bob: passwd
69
70 neo4j:
71     host: neo4jhost
72     port: 7474
73     user: neo4j
74     password: "12345"
75
76 cassandraConfig:
77     cassandraHosts: ['localhost']
78     localDataCenter:
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
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 informationalResourceArtifacts:
199   features:
200       displayName: Features
201       type: OTHER
202   capacity:
203       displayName: Capacity
204       type: OTHER
205   vendorTestResult:
206       displayName: Vendor Test Result
207       type: OTHER
208   testScripts:
209       displayName: Test Scripts
210       type: OTHER
211   CloudQuestionnaire:
212       displayName: Cloud Questionnaire (completed)
213       type: OTHER
214   HEATTemplateFromVendor:
215       displayName: HEAT Template from Vendor
216       type: HEAT
217   resourceSecurityTemplate:
218       displayName: Resource Security Template
219       type: OTHER
220
221 excludeServiceCategory:
222
223 informationalServiceArtifacts:
224   serviceArtifactPlan:
225       displayName: Service Artifact Plan
226       type: OTHER
227   summaryOfImpactsToECOMPElements:
228       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
229       type: OTHER
230   controlLoopFunctions:
231       displayName: Control Loop Functions
232       type: OTHER
233   dimensioningInfo:
234       displayName: Dimensioning Info
235       type: OTHER
236   affinityRules:
237       displayName: Affinity Rules
238       type: OTHER
239   operationalPolicies:
240       displayName: Operational Policies
241       type: OTHER
242   serviceSpecificPolicies:
243       displayName: Service-specific Policies
244       type: OTHER
245   engineeringRules:
246       displayName: Engineering Rules (ERD)
247       type: OTHER
248   distributionInstructions:
249       displayName: Distribution Instructions
250       type: OTHER
251   certificationTestResults:
252       displayName: TD Certification Test Results
253       type: OTHER
254   deploymentVotingRecord:
255       displayName: Deployment Voting Record
256       type: OTHER
257   serviceQuestionnaire:
258       displayName: Service Questionnaire
259       type: OTHER
260   serviceSecurityTemplate:
261       displayName: Service Security Template
262       type: OTHER
263
264 serviceApiArtifacts:
265   configuration:
266       displayName: Configuration
267       type: OTHER
268   instantiation:
269       displayName: Instantiation
270       type: OTHER
271   monitoring:
272       displayName: Monitoring
273       type: OTHER
274   reporting:
275       displayName: Reporting
276       type: OTHER
277   logging:
278       displayName: Logging
279       type: OTHER
280   testing:
281       displayName: Testing
282       type: OTHER
283
284 additionalInformationMaxNumberOfKeys: 50
285
286 systemMonitoring:
287     enabled: false
288     isProxy: false
289     probeIntervalInSeconds: 15
290
291 defaultHeatArtifactTimeoutMinutes: 60
292
293 serviceDeploymentArtifacts:
294     YANG_XML:
295         acceptedTypes:
296             - xml
297     VNF_CATALOG:
298         acceptedTypes:
299             - xml
300     MODEL_INVENTORY_PROFILE:
301         acceptedTypes:
302             - xml
303     MODEL_QUERY_SPEC:
304         acceptedTypes:
305             - xml
306 #AAI Artifacts
307     AAI_SERVICE_MODEL:
308         acceptedTypes:
309             - xml
310     AAI_VF_MODULE_MODEL:
311         acceptedTypes:
312             - xml
313     AAI_VF_INSTANCE_MODEL:
314         acceptedTypes:
315             - xml 
316     OTHER:
317         acceptedTypes:
318
319 resourceDeploymentArtifacts:
320     HEAT:
321         acceptedTypes:
322             - yaml
323             - yml
324         validForResourceTypes: *allResourceTypes
325     HEAT_VOL:
326         acceptedTypes:
327             - yaml
328             - yml
329         validForResourceTypes: *allResourceTypes
330     HEAT_NET:
331         acceptedTypes:
332             - yaml
333             - yml
334         validForResourceTypes: *allResourceTypes
335     HEAT_NESTED:
336         acceptedTypes:
337             - yaml
338             - yml
339         validForResourceTypes: *allResourceTypes
340     HEAT_ARTIFACT:
341         acceptedTypes:
342         validForResourceTypes: *allResourceTypes
343     YANG_XML:
344         acceptedTypes:
345             - xml
346         validForResourceTypes: *allResourceTypes
347     VNF_CATALOG:
348         acceptedTypes:
349             - xml
350         validForResourceTypes: *allResourceTypes
351     VF_LICENSE:
352         acceptedTypes:
353             - xml
354         validForResourceTypes: *allResourceTypes
355     VENDOR_LICENSE:
356         acceptedTypes:
357             - xml
358         validForResourceTypes: *allResourceTypes
359     MODEL_INVENTORY_PROFILE:
360         acceptedTypes:
361             - xml
362         validForResourceTypes: *allResourceTypes
363     MODEL_QUERY_SPEC:
364         acceptedTypes:
365             - xml
366         validForResourceTypes: *allResourceTypes
367     LIFECYCLE_OPERATIONS:
368         acceptedTypes:
369             - yaml
370             - yml
371         validForResourceTypes:
372             - VF
373             - VFC
374     VES_EVENTS:
375         acceptedTypes:
376             - yaml
377             - yml
378         validForResourceTypes: *allResourceTypes
379     PERFORMANCE_COUNTER:
380         acceptedTypes:
381             - csv
382         validForResourceTypes: *allResourceTypes
383     APPC_CONFIG:
384         acceptedTypes:
385         validForResourceTypes:
386             - VF
387     DCAE_TOSCA:
388         acceptedTypes:
389             - yml
390             - yaml
391         validForResourceTypes:
392             - VF
393             - VFCMT
394     DCAE_JSON:
395         acceptedTypes:
396             - json
397         validForResourceTypes:
398             - VF
399             - VFCMT
400     DCAE_POLICY:
401         acceptedTypes:
402             - emf
403         validForResourceTypes:
404             - VF
405             - VFCMT
406     DCAE_DOC:
407         acceptedTypes:
408         validForResourceTypes:
409             - VF 
410             - VFCMT       
411     DCAE_EVENT:
412         acceptedTypes:
413         validForResourceTypes:
414             - VF
415             - VFCMT
416     AAI_VF_MODEL:
417         acceptedTypes:
418             - xml
419         validForResourceTypes:
420             - VF
421     AAI_VF_MODULE_MODEL:
422         acceptedTypes:
423             - xml
424         validForResourceTypes:
425             - VF
426     OTHER:
427         acceptedTypes:
428         validForResourceTypes: *allResourceTypes
429     SNMP_POLL:
430         acceptedTypes:
431         validForResourceTypes: *allResourceTypes
432     SNMP_TRAP:
433         acceptedTypes:
434         validForResourceTypes: *allResourceTypes
435
436 resourceInstanceDeploymentArtifacts:
437     HEAT_ENV:
438         acceptedTypes:
439             - env
440     VF_MODULES_METADATA:
441         acceptedTypes:
442             - json
443     VES_EVENTS:
444         acceptedTypes:
445             - yaml
446             - yml
447     PERFORMANCE_COUNTER:
448         acceptedTypes:
449             - csv
450     DCAE_INVENTORY_TOSCA:
451         acceptedTypes:
452             - yml
453             - yaml
454     DCAE_INVENTORY_JSON:
455         acceptedTypes:
456             - json
457     DCAE_INVENTORY_POLICY:
458       acceptedTypes:
459             - emf
460     DCAE_INVENTORY_DOC:
461       acceptedTypes:
462     DCAE_INVENTORY_BLUEPRINT:
463       acceptedTypes:
464     DCAE_INVENTORY_EVENT:
465       acceptedTypes:
466     SNMP_POLL:
467         acceptedTypes:
468         validForResourceTypes: *allResourceTypes
469     SNMP_TRAP:
470         acceptedTypes:
471         validForResourceTypes: *allResourceTypes
472
473 resourceInformationalArtifacts:
474     CHEF:
475         acceptedTypes:
476         validForResourceTypes: *allResourceTypes
477     PUPPET:
478         acceptedTypes:
479         validForResourceTypes: *allResourceTypes
480     SHELL:
481         acceptedTypes:
482         validForResourceTypes: *allResourceTypes
483     YANG:
484         acceptedTypes:
485         validForResourceTypes: *allResourceTypes
486     YANG_XML:
487         acceptedTypes:
488         validForResourceTypes: *allResourceTypes
489     HEAT:
490         acceptedTypes:
491         validForResourceTypes: *allResourceTypes
492     BPEL:
493         acceptedTypes:
494         validForResourceTypes: *allResourceTypes
495     DG_XML:
496         acceptedTypes:
497         validForResourceTypes: *allResourceTypes
498     MURANO_PKG:
499         acceptedTypes:
500         validForResourceTypes: *allResourceTypes
501     OTHER:
502         acceptedTypes:
503         validForResourceTypes: *allResourceTypes
504     SNMP_POLL:
505         acceptedTypes:
506         validForResourceTypes: *allResourceTypes
507     SNMP_TRAP:
508         acceptedTypes:
509         validForResourceTypes: *allResourceTypes
510     GUIDE:
511         acceptedTypes:
512         validForResourceTypes:
513             - VF
514             - VFC
515
516 resourceInformationalDeployedArtifacts:
517
518 requirementsToFulfillBeforeCert:
519
520 capabilitiesToConsumeBeforeCert:
521
522 unLoggedUrls:
523    - /sdc2/rest/healthCheck
524
525 cleanComponentsConfiguration:
526     cleanIntervalInMinutes: 1440
527     componentsToClean:
528        - Resource
529        - Service
530
531 artifactsIndex: resources
532
533 heatEnvArtifactHeader: ""
534 heatEnvArtifactFooter: ""
535
536 onboarding:
537     protocol: http
538     host: localhost
539     port: 8080
540     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
541
542 switchoverDetector:
543     gBeFqdn: AIO-BE.ecomp.idns.cip.com
544     gFeFqdn: AIO-FE.ecomp.idns.cip.com
545     beVip: 0.0.0.0
546     feVip: 0.0.0.0
547     beResolveAttempts: 3
548     feResolveAttempts: 3
549     enabled: false
550     interval: 60
551     changePriorityUser: ecompasdc
552     changePriorityPassword: ecompasdc123
553     publishNetworkUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/update_network?user=root"
554     publishNetworkBody: '{"note":"publish network"}'
555     groups:
556       beSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com?user=root",
557                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"}'}
558       feSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com?user=root",
559                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"}'}
560
561 applicationL1Cache:
562     datatypes:
563         enabled: true
564         firstRunDelay: 10
565         pollIntervalInSec: 60
566
567 applicationL2Cache:
568     enabled: true
569     catalogL1Cache:
570         enabled: true
571         resourcesSizeInCache: 300
572         servicesSizeInCache: 200
573         productsSizeInCache: 100
574     queue:
575         syncIntervalInSecondes: 43200
576         waitOnShutDownInMinutes: 10
577         numberOfCacheWorkers: 4
578
579 toscaValidators:
580     stringMaxLength: 2500
581
582 disableAudit: false
583
584 vfModuleProperties:
585     min_vf_module_instances:
586         forBaseModule: 1
587         forNonBaseModule: 0
588     max_vf_module_instances:
589         forBaseModule: 1
590         forNonBaseModule:
591     initial_count:
592         forBaseModule: 1
593         forNonBaseModule: 0
594     vf_module_type:
595         forBaseModule: Base
596         forNonBaseModule: Expansion
597
598 genericAssetNodeTypes:
599   VFC: org.openecomp.resource.abstract.nodes.VFC
600   VF : org.openecomp.resource.abstract.nodes.VF
601   Service: org.openecomp.resource.abstract.nodes.service