cd5c58957de61239c877529d9defe1cb61b9aeff
[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
9
10 # catalog backend hostname
11 beFqdn: sdccatalog.att.com
12
13 # catalog backend http port
14 beHttpPort: 8080
15
16 # catalog backend http context
17 beContext: /sdc/rest/config/get
18
19 # catalog backend protocol
20 beProtocol: http
21
22 # catalog backend ssl port
23 beSslPort: 8443
24
25 version: 1.0
26 released: 2012-11-30
27 toscaConformanceLevel: 3.0
28
29 titanCfgFile: /home/vagrant/catalog-be/config/catalog-be/titan.properties
30 titanInMemoryGraph: true
31 titanLockTimeout: 600
32 titanReconnectIntervalInSeconds: 3
33 titanHealthCheckReadTimeout: 1
34 esReconnectIntervalInSeconds: 3
35 uebHealthCheckReconnectIntervalInSeconds: 15
36 uebHealthCheckReadTimeout: 4
37
38 # Protocols
39 protocols:
40    - http
41    - https
42
43 # Users
44 users:
45     tom: passwd
46     bob: passwd
47     
48 neo4j:
49     host: neo4jhost
50     port: 7474
51     user: neo4j
52     password: "12345"
53     
54
55 #Application-specific settings of ES
56 elasticSearch:
57     # Mapping of index prefix to time-based frame. For example, if below is configured:
58     #
59     # - indexPrefix: auditingevents
60     #    creationPeriod: minute
61     #
62     # 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.
63     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
64     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
65     #
66     # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
67     #
68     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
69     #
70     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
71
72     indicesTimeFrequency:
73       - indexPrefix: auditingevents
74         creationPeriod: month
75       - indexPrefix: monitoring_events
76         creationPeriod: month
77
78 artifactTypes:
79    - CHEF
80    - PUPPET
81    - SHELL
82    - YANG
83    - YANG_XML
84    - HEAT
85    - BPEL
86    - DG_XML
87    - MURANO_PKG
88    - WORKFLOW
89    - NETWORK_CALL_FLOW
90    - TOSCA_TEMPLATE
91    - TOSCA_CSAR
92    - AAI_SERVICE_MODEL
93    - AAI_VF_MODEL
94    - AAI_VF_MODULE_MODEL
95    - AAI_VF_INSTANCE_MODEL
96    - OTHER
97    - SNMP_POLL
98    - SNMP_TRAP
99    - GUIDE
100
101 licenseTypes:
102    - User
103    - Installation
104    - CPU
105
106 #Deployment artifacts placeHolder
107 resourceTypes: &allResourceTypes
108   - VFC
109   - CP
110   - VL
111   - VF
112   - VFCMT
113  
114 # validForResourceTypes usage
115 #     validForResourceTypes:
116 #        - VF
117 #        - VL
118 deploymentResourceArtifacts:
119 #  heat:
120 #      displayName: "Base HEAT Template"
121 #      type: HEAT
122 #      validForResourceTypes: *allResourceTypes
123 #  heatVol:
124 #      displayName: "Volume HEAT Template"
125 #      type: HEAT_VOL
126 #      validForResourceTypes: *allResourceTypes
127 #  heatNet:
128 #      displayName: "Network HEAT Template"
129 #      type: HEAT_NET
130 #      validForResourceTypes: *allResourceTypes
131   
132 deploymentResourceInstanceArtifacts:
133   heatEnv:
134       displayName: "HEAT ENV"
135       type: HEAT_ENV
136       description: "Auto-generated HEAT Environment deployment artifact"
137       fileExtension: "env"
138       
139 #tosca artifacts placeholders
140 toscaArtifacts:
141   assetToscaTemplate:
142       artifactName: -template.yml
143       displayName: Tosca Template
144       type: TOSCA_TEMPLATE
145       description: TOSCA representation of the asset
146   assetToscaCsar:
147       artifactName: -csar.csar
148       displayName: Tosca Model
149       type: TOSCA_CSAR
150       description: TOSCA definition package of the asset
151
152 #Informational artifacts placeHolder
153 excludeResourceCategory:
154   - Generic
155 informationalResourceArtifacts:
156   features:
157       displayName: Features
158       type: OTHER
159   capacity:
160       displayName: Capacity
161       type: OTHER
162   vendorTestResult:
163       displayName: Vendor Test Result
164       type: OTHER
165   testScripts:
166       displayName: Test Scripts
167       type: OTHER
168   CloudQuestionnaire:
169       displayName: Cloud Questionnaire (completed)
170       type: OTHER
171   HEATTemplateFromVendor:
172       displayName: HEAT Template from Vendor
173       type: HEAT
174   resourceSecurityTemplate:
175       displayName: Resource Security Template
176       type: OTHER
177             
178 excludeServiceCategory:
179
180 informationalServiceArtifacts:
181   serviceArtifactPlan:
182       displayName: Service Artifact Plan
183       type: OTHER
184   summaryOfImpactsToECOMPElements:
185       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
186       type: OTHER
187   controlLoopFunctions:
188       displayName: Control Loop Functions
189       type: OTHER
190   dimensioningInfo:
191       displayName: Dimensioning Info
192       type: OTHER
193   affinityRules:
194       displayName: Affinity Rules
195       type: OTHER
196   operationalPolicies:
197       displayName: Operational Policies
198       type: OTHER
199   serviceSpecificPolicies:
200       displayName: Service-specific Policies
201       type: OTHER
202   engineeringRules:
203       displayName: Engineering Rules (ERD)
204       type: OTHER
205   distributionInstructions:
206       displayName: Distribution Instructions
207       type: OTHER
208   certificationTestResults:
209       displayName: TD Certification Test Results
210       type: OTHER
211   deploymentVotingRecord:
212       displayName: Deployment Voting Record
213       type: OTHER
214   serviceQuestionnaire:
215       displayName: Service Questionnaire
216       type: OTHER
217   serviceSecurityTemplate:
218       displayName: Service Security Template
219       type: OTHER
220       
221 serviceApiArtifacts:
222   configuration:
223       displayName: Configuration
224       type: OTHER
225   instantiation:
226       displayName: Instantiation
227       type: OTHER
228   monitoring:
229       displayName: Monitoring
230       type: OTHER
231   reporting:
232       displayName: Reporting
233       type: OTHER
234   logging:
235       displayName: Logging
236       type: OTHER
237   testing:
238       displayName: Testing
239       type: OTHER
240
241
242 additionalInformationMaxNumberOfKeys: 50
243
244 systemMonitoring:
245     enabled: false
246     isProxy: false
247     probeIntervalInSeconds: 15
248
249 defaultHeatArtifactTimeoutMinutes: 60
250
251 serviceDeploymentArtifacts:
252     YANG_XML:
253         acceptedTypes:
254             - xml
255     VNF_CATALOG:
256         acceptedTypes:
257             - xml
258     MODEL_INVENTORY_PROFILE:
259         acceptedTypes:
260             - xml
261     MODEL_QUERY_SPEC:
262         acceptedTypes:
263             - xml
264     AAI_SERVICE_MODEL:
265         acceptedTypes:
266             - xml
267     AAI_VF_MODULE_MODEL:
268         acceptedTypes:
269             - xml
270     AAI_VF_INSTANCE_MODEL:
271         acceptedTypes:
272             - xml 
273     OTHER:
274         acceptedTypes:
275
276 resourceDeploymentArtifacts:
277     HEAT:
278         acceptedTypes:
279             - yaml
280             - yml
281         validForResourceTypes: *allResourceTypes
282     HEAT_VOL:
283         acceptedTypes:
284             - yaml
285             - yml
286         validForResourceTypes: *allResourceTypes
287     HEAT_NESTED:
288         acceptedTypes:
289             - yaml
290             - yml
291         validForResourceTypes: *allResourceTypes
292     HEAT_ARTIFACT:
293         acceptedTypes:
294         validForResourceTypes: *allResourceTypes
295     HEAT_NET:
296         acceptedTypes:
297             - yaml
298             - yml
299         validForResourceTypes: *allResourceTypes
300     YANG_XML:
301         acceptedTypes:
302             - xml
303         validForResourceTypes: *allResourceTypes
304     VNF_CATALOG:
305         acceptedTypes:
306             - xml
307         validForResourceTypes: *allResourceTypes
308     VF_LICENSE:
309         acceptedTypes:
310             - xml
311         validForResourceTypes: *allResourceTypes
312     VENDOR_LICENSE:
313         acceptedTypes:
314             - xml
315         validForResourceTypes: *allResourceTypes
316     MODEL_INVENTORY_PROFILE:
317         acceptedTypes:
318             - xml
319         validForResourceTypes: *allResourceTypes
320     MODEL_QUERY_SPEC:
321         acceptedTypes:
322             - xml
323         validForResourceTypes: *allResourceTypes
324     APPC_CONFIG:
325         acceptedTypes:
326         validForResourceTypes:
327             - VF
328     AAI_VF_MODEL:
329         acceptedTypes:
330             - xml
331         validForResourceTypes:
332             - VF
333     AAI_VF_MODULE_MODEL:
334         acceptedTypes:
335             - xml
336         validForResourceTypes:
337             - VF
338     OTHER:
339         acceptedTypes:
340         validForResourceTypes: *allResourceTypes
341     SNMP_POLL:
342         acceptedTypes:
343         validForResourceTypes: *allResourceTypes
344     SNMP_TRAP:
345         acceptedTypes:
346         validForResourceTypes: *allResourceTypes
347         
348 resourceInstanceDeploymentArtifacts:
349     HEAT_ENV:
350         acceptedTypes:
351             - env
352     VF_MODULES_METADATA:
353         acceptedTypes:
354             - json
355     SNMP_POLL:
356         acceptedTypes:
357         validForResourceTypes: *allResourceTypes
358     SNMP_TRAP:
359         acceptedTypes:
360         validForResourceTypes: *allResourceTypes
361
362 resourceInformationalArtifacts:
363     CHEF:
364         acceptedTypes:
365         validForResourceTypes: *allResourceTypes
366     PUPPET:
367         acceptedTypes:
368         validForResourceTypes: *allResourceTypes
369     SHELL:
370         acceptedTypes:
371         validForResourceTypes: *allResourceTypes
372     YANG:
373         acceptedTypes:
374         validForResourceTypes: *allResourceTypes
375     YANG_XML:
376         acceptedTypes:
377         validForResourceTypes: *allResourceTypes
378     HEAT:
379         acceptedTypes:
380         validForResourceTypes: *allResourceTypes
381     BPEL:
382         acceptedTypes:
383         validForResourceTypes: *allResourceTypes
384     DG_XML:
385         acceptedTypes:
386         validForResourceTypes: *allResourceTypes
387     MURANO_PKG:
388         acceptedTypes:
389         validForResourceTypes: *allResourceTypes
390     OTHER:
391         acceptedTypes:
392         validForResourceTypes: *allResourceTypes
393     SNMP_POLL:
394         acceptedTypes:
395         validForResourceTypes: *allResourceTypes
396     SNMP_TRAP:
397         acceptedTypes:
398         validForResourceTypes: *allResourceTypes
399     GUIDE:
400         acceptedTypes:
401         validForResourceTypes:
402             - VF
403             - VFC
404
405 resourceInformationalDeployedArtifacts:
406
407
408 requirementsToFulfillBeforeCert:
409      CP:
410        - tosca.capabilities.network.Bindable
411
412 capabilitiesToConsumeBeforeCert:
413             
414 unLoggedUrls:
415    - /sdc2/rest/healthCheck
416
417 cleanComponentsConfiguration:
418     cleanIntervalInMinutes: 1440
419     componentsToClean:
420        - Resource
421        - Service
422
423 artifactsIndex: resources
424
425 cassandraConfig:
426     cassandraHosts: ['localhost']
427     localDataCenter:
428     reconnectTimeout : 30000
429     authenticate: false
430     username: koko
431     password: bobo
432     ssl: false
433     truststorePath : /path/path
434     truststorePassword : 123123
435     keySpaces:
436         - { name: sdcaudit, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
437         - { name: sdcartifact, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
438        
439 switchoverDetector:
440     gBeFqdn: AIO-BE.ecomp.idns.com
441     gFeFqdn: AIO-FE.ecomp.idns.com
442     beVip: 0.0.0.0
443     feVip: 0.0.0.0
444     beResolveAttempts: 3
445     feResolveAttempts: 3
446     enabled: false
447     interval: 60
448     changePriorityUser: ecompasdc
449     changePriorityPassword: ecompasdc123
450     publishNetworkUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/update_network?user=root"
451     publishNetworkBody: '{"note":"publish network"}'
452     groups:
453       beSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com?user=root",
454                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"}'}
455       feSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com?user=root",
456                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"}'}
457     
458        
459 heatEnvArtifactHeader: ""
460 heatEnvArtifactFooter: ""
461
462 onboarding:
463     protocol: http
464     host: localhost
465     port: 8080
466     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
467
468 applicationL1Cache:
469     datatypes:
470         enabled: true
471         firstRunDelay: 10
472         pollIntervalInSec: 60
473
474 applicationL2Cache:
475     enabled: false
476     catalogL1Cache:
477         enabled: true
478         resourcesSizeInCache: 300
479         servicesSizeInCache: 200
480         productsSizeInCache: 100
481     queue:
482         syncIntervalInSecondes: 60
483         waitOnShutDownInMinutes: 30
484         numberOfCacheWorkers: 4
485 genericAssetNodeTypes:
486   VFC: org.openecomp.resource.abstract.nodes.VFC
487   VF : org.openecomp.resource.abstract.nodes.VF
488   Service: org.openecomp.resource.abstract.nodes.service
489