[SDC] rebase 1710 code
[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     VNF_CATALOG:
300         acceptedTypes:
301             - xml
302     MODEL_INVENTORY_PROFILE:
303         acceptedTypes:
304             - xml
305     MODEL_QUERY_SPEC:
306         acceptedTypes:
307             - xml
308 #AAI Artifacts
309     AAI_SERVICE_MODEL:
310         acceptedTypes:
311             - xml
312     AAI_VF_MODULE_MODEL:
313         acceptedTypes:
314             - xml
315     AAI_VF_INSTANCE_MODEL:
316         acceptedTypes:
317             - xml 
318     OTHER:
319         acceptedTypes:
320
321 resourceDeploymentArtifacts:
322     HEAT:
323         acceptedTypes:
324             - yaml
325             - yml
326         validForResourceTypes: *allResourceTypes
327     HEAT_VOL:
328         acceptedTypes:
329             - yaml
330             - yml
331         validForResourceTypes: *allResourceTypes
332     HEAT_NET:
333         acceptedTypes:
334             - yaml
335             - yml
336         validForResourceTypes: *allResourceTypes
337     HEAT_NESTED:
338         acceptedTypes:
339             - yaml
340             - yml
341         validForResourceTypes: *allResourceTypes
342     HEAT_ARTIFACT:
343         acceptedTypes:
344         validForResourceTypes: *allResourceTypes
345     YANG_XML:
346         acceptedTypes:
347             - xml
348         validForResourceTypes: *allResourceTypes
349     VNF_CATALOG:
350         acceptedTypes:
351             - xml
352         validForResourceTypes: *allResourceTypes
353     VF_LICENSE:
354         acceptedTypes:
355             - xml
356         validForResourceTypes: *allResourceTypes
357     VENDOR_LICENSE:
358         acceptedTypes:
359             - xml
360         validForResourceTypes: *allResourceTypes
361     MODEL_INVENTORY_PROFILE:
362         acceptedTypes:
363             - xml
364         validForResourceTypes: *allResourceTypes
365     MODEL_QUERY_SPEC:
366         acceptedTypes:
367             - xml
368         validForResourceTypes: *allResourceTypes
369     LIFECYCLE_OPERATIONS:
370         acceptedTypes:
371             - yaml
372             - yml
373         validForResourceTypes:
374             - VF
375             - VFC
376     VES_EVENTS:
377         acceptedTypes:
378             - yaml
379             - yml
380         validForResourceTypes: *allResourceTypes
381     PERFORMANCE_COUNTER:
382         acceptedTypes:
383             - csv
384         validForResourceTypes: *allResourceTypes
385     APPC_CONFIG:
386         acceptedTypes:
387         validForResourceTypes:
388             - VF
389     DCAE_TOSCA:
390         acceptedTypes:
391             - yml
392             - yaml
393         validForResourceTypes:
394             - VF
395             - VFCMT
396     DCAE_JSON:
397         acceptedTypes:
398             - json
399         validForResourceTypes:
400             - VF
401             - VFCMT
402     DCAE_POLICY:
403         acceptedTypes:
404             - emf
405         validForResourceTypes:
406             - VF
407             - VFCMT
408     DCAE_DOC:
409         acceptedTypes:
410         validForResourceTypes:
411             - VF 
412             - VFCMT       
413     DCAE_EVENT:
414         acceptedTypes:
415         validForResourceTypes:
416             - VF
417             - VFCMT
418     AAI_VF_MODEL:
419         acceptedTypes:
420             - xml
421         validForResourceTypes:
422             - VF
423     AAI_VF_MODULE_MODEL:
424         acceptedTypes:
425             - xml
426         validForResourceTypes:
427             - VF
428     OTHER:
429         acceptedTypes:
430         validForResourceTypes: *allResourceTypes
431     SNMP_POLL:
432         acceptedTypes:
433         validForResourceTypes: *allResourceTypes
434     SNMP_TRAP:
435         acceptedTypes:
436         validForResourceTypes: *allResourceTypes
437
438 resourceInstanceDeploymentArtifacts:
439     HEAT_ENV:
440         acceptedTypes:
441             - env
442     VF_MODULES_METADATA:
443         acceptedTypes:
444             - json
445     VES_EVENTS:
446         acceptedTypes:
447             - yaml
448             - yml
449     PERFORMANCE_COUNTER:
450         acceptedTypes:
451             - csv
452     DCAE_INVENTORY_TOSCA:
453         acceptedTypes:
454             - yml
455             - yaml
456     DCAE_INVENTORY_JSON:
457         acceptedTypes:
458             - json
459     DCAE_INVENTORY_POLICY:
460       acceptedTypes:
461             - emf
462     DCAE_INVENTORY_DOC:
463       acceptedTypes:
464     DCAE_INVENTORY_BLUEPRINT:
465       acceptedTypes:
466     DCAE_INVENTORY_EVENT:
467       acceptedTypes:
468     SNMP_POLL:
469         acceptedTypes:
470         validForResourceTypes: *allResourceTypes
471     SNMP_TRAP:
472         acceptedTypes:
473         validForResourceTypes: *allResourceTypes
474
475 resourceInformationalArtifacts:
476     CHEF:
477         acceptedTypes:
478         validForResourceTypes: *allResourceTypes
479     PUPPET:
480         acceptedTypes:
481         validForResourceTypes: *allResourceTypes
482     SHELL:
483         acceptedTypes:
484         validForResourceTypes: *allResourceTypes
485     YANG:
486         acceptedTypes:
487         validForResourceTypes: *allResourceTypes
488     YANG_XML:
489         acceptedTypes:
490         validForResourceTypes: *allResourceTypes
491     HEAT:
492         acceptedTypes:
493         validForResourceTypes: *allResourceTypes
494     BPEL:
495         acceptedTypes:
496         validForResourceTypes: *allResourceTypes
497     DG_XML:
498         acceptedTypes:
499         validForResourceTypes: *allResourceTypes
500     MURANO_PKG:
501         acceptedTypes:
502         validForResourceTypes: *allResourceTypes
503     OTHER:
504         acceptedTypes:
505         validForResourceTypes: 
506             - VFC
507             - CP
508             - VL
509             - VF
510             - VFCMT
511             - Abstract
512             - PNF
513     SNMP_POLL:
514         acceptedTypes:
515         validForResourceTypes: *allResourceTypes
516     SNMP_TRAP:
517         acceptedTypes:
518         validForResourceTypes: *allResourceTypes
519     GUIDE:
520         acceptedTypes:
521         validForResourceTypes:
522             - VF
523             - VFC
524
525 resourceInformationalDeployedArtifacts:
526
527 requirementsToFulfillBeforeCert:
528
529 capabilitiesToConsumeBeforeCert:
530
531 unLoggedUrls:
532    - /sdc2/rest/healthCheck
533
534 cleanComponentsConfiguration:
535     cleanIntervalInMinutes: 1440
536     componentsToClean:
537        - Resource
538        - Service
539
540 artifactsIndex: resources
541
542 heatEnvArtifactHeader: ""
543 heatEnvArtifactFooter: ""
544
545 onboarding:
546     protocol: http
547     host: localhost
548     port: 8080
549     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
550     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
551
552
553 switchoverDetector:
554     gBeFqdn: AIO-BE.ecomp.idns.cip.com
555     gFeFqdn: AIO-FE.ecomp.idns.cip.com
556     beVip: 0.0.0.0
557     feVip: 0.0.0.0
558     beResolveAttempts: 3
559     feResolveAttempts: 3
560     enabled: false
561     interval: 60
562     changePriorityUser: ecompasdc
563     changePriorityPassword: ecompasdc123
564     publishNetworkUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/update_network?user=root"
565     publishNetworkBody: '{"note":"publish network"}'
566     groups:
567       beSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com?user=root",
568                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"}'}
569       feSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com?user=root",
570                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"}'}
571
572 applicationL1Cache:
573     datatypes:
574         enabled: false
575         firstRunDelay: 10
576         pollIntervalInSec: 60
577
578 applicationL2Cache:
579     enabled: true
580     catalogL1Cache:
581         enabled: true
582         resourcesSizeInCache: 300
583         servicesSizeInCache: 200
584         productsSizeInCache: 100
585     queue:
586         syncIntervalInSecondes: 60
587         waitOnShutDownInMinutes: 30
588         numberOfCacheWorkers: 4
589
590 toscaValidators:
591     stringMaxLength: 2500
592
593 disableAudit: false
594
595 vfModuleProperties:
596     min_vf_module_instances:
597         forBaseModule: 1
598         forNonBaseModule: 0
599     max_vf_module_instances:
600         forBaseModule: 1
601         forNonBaseModule:
602     initial_count:
603         forBaseModule: 1
604         forNonBaseModule: 0
605     vf_module_type:
606         forBaseModule: Base
607         forNonBaseModule: Expansion
608
609 genericAssetNodeTypes:
610   VFC: org.openecomp.resource.abstract.nodes.VFC
611   VF : org.openecomp.resource.abstract.nodes.VF
612   PNF: org.openecomp.resource.abstract.nodes.PNF
613   Service: org.openecomp.resource.abstract.nodes.service