[sdc] update code of sdc
[sdc.git] / sdc-os-chef / sdc-backend / chef-repo / cookbooks / sdc-catalog-be / templates / default / BE-configuration.yaml.erb
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 # catalog backend hostname
10 beFqdn: <%= @host_ip %>
11
12 # catalog backend http port
13 beHttpPort: <%= @catalog_port %>
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: <%= @ssl_port %>
23 version: 1.0
24 released: 2012-11-30
25 toscaConformanceLevel: 3.0
26 minToscaConformanceLevel: 3.0
27
28 titanCfgFile: /var/lib/jetty/config/catalog-be/titan.properties
29 titanInMemoryGraph: false
30 titanLockTimeout: 1800
31 # The interval to try and reconnect to titan DB when it is down during ASDC startup:
32 titanReconnectIntervalInSeconds: 3
33
34 # The read timeout towards Titan DB when health check is invoked:
35 titanHealthCheckReadTimeout: 1
36
37 # The interval to try and reconnect to Elasticsearch when it is down during ASDC startup:
38
39 esReconnectIntervalInSeconds: 3
40 uebHealthCheckReconnectIntervalInSeconds: 15
41 uebHealthCheckReadTimeout: 4
42
43 # Protocols
44 protocols:
45    - http
46    - https
47
48 # Default imports
49 defaultImports:
50    - nodes:
51         file: nodes.yml
52    - datatypes:
53         file: data.yml
54    - capabilities:
55         file: capabilities.yml
56    - relationships:
57         file: relationships.yml
58    - groups:
59         file: groups.yml
60    - policies:
61         file: policies.yml
62 # Users
63 users:
64     tom: passwd
65     bob: passwd
66
67
68 cassandraConfig:
69     cassandraHosts: [<%= @cassandra_ip %>]
70     localDataCenter:
71     reconnectTimeout : 30000
72     authenticate: true
73     username: asdc_user
74     password: Aa1234%^!
75     ssl: false
76     truststorePath : /config/.truststore
77     truststorePassword : Aa123456
78     keySpaces:
79         - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
80         - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
81         - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
82         - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
83
84 #Application-specific settings of ES
85 elasticSearch:
86     # Mapping of index prefix to time-based frame. For example, if below is configured:
87     #
88     # - indexPrefix: auditingevents
89     #    creationPeriod: minute
90     #
91     # 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.
92     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
93     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
94     #
95     # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
96     #
97     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
98     #
99     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
100
101     indicesTimeFrequency:
102       - indexPrefix: auditingevents
103         creationPeriod: month
104       - indexPrefix: monitoring_events
105         creationPeriod: month
106 artifactTypes:
107    - CHEF
108    - PUPPET
109    - SHELL
110    - YANG
111    - YANG_XML
112    - HEAT
113    - BPEL
114    - DG_XML
115    - MURANO_PKG
116    - WORKFLOW
117    - NETWORK_CALL_FLOW
118    - TOSCA_TEMPLATE
119    - TOSCA_CSAR
120    - AAI_SERVICE_MODEL
121    - AAI_VF_MODEL
122    - AAI_VF_MODULE_MODEL
123    - AAI_VF_INSTANCE_MODEL
124    - OTHER
125    - SNMP_POLL
126    - SNMP_TRAP
127    - GUIDE
128
129
130 licenseTypes:
131    - User
132    - Installation
133    - CPU
134
135 #Deployment artifacts placeHolder
136 resourceTypes: &allResourceTypes
137   - VFC
138   - CP
139   - VL
140   - VF
141   - VFCMT
142   - Abstract
143
144 # validForResourceTypes usage
145 #     validForResourceTypes:
146 #        - VF
147 #        - VL
148 deploymentResourceArtifacts:
149
150
151 deploymentResourceInstanceArtifacts:
152   heatEnv:
153       displayName: "HEAT ENV"
154       type: HEAT_ENV
155       description: "Auto-generated HEAT Environment deployment artifact"
156       fileExtension: "env"
157   VfHeatEnv:
158       displayName: "VF HEAT ENV"
159       type: HEAT_ENV
160       description: "VF Auto-generated HEAT Environment deployment artifact"
161       fileExtension: "env"
162
163 #tosca artifacts placeholders
164 toscaArtifacts:
165   assetToscaTemplate:
166       artifactName: -template.yml
167       displayName: Tosca Template
168       type: TOSCA_TEMPLATE
169       description: TOSCA representation of the asset
170   assetToscaCsar:
171       artifactName: -csar.csar
172       displayName: Tosca Model
173       type: TOSCA_CSAR
174       description: TOSCA definition package of the asset
175
176 #Informational artifacts placeHolder
177 excludeResourceCategory:
178   - Generic
179 informationalResourceArtifacts:
180   features:
181       displayName: Features
182       type: OTHER
183   capacity:
184       displayName: Capacity
185       type: OTHER
186   vendorTestResult:
187       displayName: Vendor Test Result
188       type: OTHER
189   testScripts:
190       displayName: Test Scripts
191       type: OTHER
192   CloudQuestionnaire:
193       displayName: Cloud Questionnaire (completed)
194       type: OTHER
195   HEATTemplateFromVendor:
196       displayName: HEAT Template from Vendor
197       type: HEAT
198   resourceSecurityTemplate:
199       displayName: Resource Security Template
200       type: OTHER
201
202 excludeServiceCategory:
203
204 informationalServiceArtifacts:
205   serviceArtifactPlan:
206       displayName: Service Artifact Plan
207       type: OTHER
208   summaryOfImpactsToECOMPElements:
209       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
210       type: OTHER
211   controlLoopFunctions:
212       displayName: Control Loop Functions
213       type: OTHER
214   dimensioningInfo:
215       displayName: Dimensioning Info
216       type: OTHER
217   affinityRules:
218       displayName: Affinity Rules
219       type: OTHER
220   operationalPolicies:
221       displayName: Operational Policies
222       type: OTHER
223   serviceSpecificPolicies:
224       displayName: Service-specific Policies
225       type: OTHER
226   engineeringRules:
227       displayName: Engineering Rules (ERD)
228       type: OTHER
229   distributionInstructions:
230       displayName: Distribution Instructions
231       type: OTHER
232   certificationTestResults:
233       displayName: TD Certification Test Results
234       type: OTHER
235   deploymentVotingRecord:
236       displayName: Deployment Voting Record
237       type: OTHER
238   serviceQuestionnaire:
239       displayName: Service Questionnaire
240       type: OTHER
241   serviceSecurityTemplate:
242       displayName: Service Security Template
243       type: OTHER
244
245 serviceApiArtifacts:
246   configuration:
247       displayName: Configuration
248       type: OTHER
249   instantiation:
250       displayName: Instantiation
251       type: OTHER
252   monitoring:
253       displayName: Monitoring
254       type: OTHER
255   reporting:
256       displayName: Reporting
257       type: OTHER
258   logging:
259       displayName: Logging
260       type: OTHER
261   testing:
262       displayName: Testing
263       type: OTHER
264
265
266 additionalInformationMaxNumberOfKeys: 50
267
268 systemMonitoring:
269     enabled: true
270     isProxy: false
271     probeIntervalInSeconds: 15
272 defaultHeatArtifactTimeoutMinutes: 60
273
274 serviceDeploymentArtifacts:
275     YANG_XML:
276         acceptedTypes:
277             - xml
278     VNF_CATALOG:
279         acceptedTypes:
280             - xml
281     MODEL_INVENTORY_PROFILE:
282         acceptedTypes:
283             - xml
284     MODEL_QUERY_SPEC:
285         acceptedTypes:
286             - xml
287     AAI_SERVICE_MODEL:
288         acceptedTypes:
289             - xml
290     AAI_VF_MODULE_MODEL:
291         acceptedTypes:
292             - xml
293     AAI_VF_INSTANCE_MODEL:
294         acceptedTypes:
295             - xml
296     OTHER:
297         acceptedTypes:
298
299
300 resourceDeploymentArtifacts:
301     HEAT:
302         acceptedTypes:
303             - yaml
304             - yml
305         validForResourceTypes: *allResourceTypes
306     HEAT_VOL:
307         acceptedTypes:
308             - yaml
309             - yml
310         validForResourceTypes: *allResourceTypes
311     HEAT_NET:
312         acceptedTypes:
313             - yaml
314             - yml
315         validForResourceTypes: *allResourceTypes
316     HEAT_NESTED:
317         acceptedTypes:
318             - yaml
319             - yml
320         validForResourceTypes: *allResourceTypes
321     HEAT_ARTIFACT:
322         acceptedTypes:
323         validForResourceTypes: *allResourceTypes
324     YANG_XML:
325         acceptedTypes:
326             - xml
327         validForResourceTypes: *allResourceTypes
328     VNF_CATALOG:
329         acceptedTypes:
330             - xml
331         validForResourceTypes: *allResourceTypes
332     VF_LICENSE:
333         acceptedTypes:
334             - xml
335         validForResourceTypes: *allResourceTypes
336     VENDOR_LICENSE:
337         acceptedTypes:
338             - xml
339         validForResourceTypes: *allResourceTypes
340     MODEL_INVENTORY_PROFILE:
341         acceptedTypes:
342             - xml
343         validForResourceTypes: *allResourceTypes
344     MODEL_QUERY_SPEC:
345         acceptedTypes:
346             - xml
347         validForResourceTypes: *allResourceTypes
348     LIFECYCLE_OPERATIONS:
349         acceptedTypes:
350             - yaml
351             - yml
352         validForResourceTypes:
353             - VF
354             - VFC
355     VES_EVENTS:
356         acceptedTypes:
357             - yaml
358             - yml
359         validForResourceTypes: *allResourceTypes
360     PERFORMANCE_COUNTER:
361         acceptedTypes:
362             - csv
363         validForResourceTypes: *allResourceTypes
364     APPC_CONFIG:
365         acceptedTypes:
366         validForResourceTypes:
367             - VF
368     #DCAE Artifacts
369     DCAE_TOSCA:
370         acceptedTypes:
371             - yml
372             - yaml
373         validForResourceTypes:
374             - VF
375             - VFCMT
376     DCAE_JSON:
377         acceptedTypes:
378             - json
379         validForResourceTypes:
380             - VF
381             - VFCMT
382     DCAE_POLICY:
383         acceptedTypes:
384             - emf
385         validForResourceTypes:
386             - VF
387             - VFCMT
388     DCAE_DOC:
389         acceptedTypes:
390         validForResourceTypes:
391             - VF
392             - VFCMT
393     DCAE_EVENT:
394         acceptedTypes:
395         validForResourceTypes:
396             - VF
397             - VFCMT
398 #AAI Artifacts
399     AAI_VF_MODEL:
400         acceptedTypes:
401             - xml
402         validForResourceTypes:
403             - VF
404     AAI_VF_MODULE_MODEL:
405         acceptedTypes:
406             - xml
407         validForResourceTypes:
408             - VF
409     OTHER:
410         acceptedTypes:
411         validForResourceTypes: *allResourceTypes
412     SNMP_POLL:
413         acceptedTypes:
414         validForResourceTypes: *allResourceTypes
415     SNMP_TRAP:
416         acceptedTypes:
417         validForResourceTypes: *allResourceTypes
418
419 resourceInstanceDeploymentArtifacts:
420     HEAT_ENV:
421         acceptedTypes:
422             - env
423     VF_MODULES_METADATA:
424         acceptedTypes:
425             - json
426     VES_EVENTS:
427         acceptedTypes:
428             - yaml
429             - yml
430     PERFORMANCE_COUNTER:
431         acceptedTypes:
432             - csv
433 #DCAE_VF Instance Artifacts
434     DCAE_INVENTORY_TOSCA:
435         acceptedTypes:
436             - yml
437             - yaml
438     DCAE_INVENTORY_JSON:
439         acceptedTypes:
440             - json
441     DCAE_INVENTORY_POLICY:
442       acceptedTypes:
443             - emf
444     DCAE_INVENTORY_DOC:
445       acceptedTypes:
446     DCAE_INVENTORY_BLUEPRINT:
447       acceptedTypes:
448     DCAE_INVENTORY_EVENT:
449       acceptedTypes:
450     SNMP_POLL:
451         acceptedTypes:
452         validForResourceTypes: *allResourceTypes
453     SNMP_TRAP:
454         acceptedTypes:
455         validForResourceTypes: *allResourceTypes
456
457 resourceInformationalArtifacts:
458     CHEF:
459         acceptedTypes:
460         validForResourceTypes: *allResourceTypes
461     PUPPET:
462         acceptedTypes:
463         validForResourceTypes: *allResourceTypes
464     SHELL:
465         acceptedTypes:
466         validForResourceTypes: *allResourceTypes
467     YANG:
468         acceptedTypes:
469         validForResourceTypes: *allResourceTypes
470     YANG_XML:
471         acceptedTypes:
472         validForResourceTypes: *allResourceTypes
473     HEAT:
474         acceptedTypes:
475         validForResourceTypes: *allResourceTypes
476     BPEL:
477         acceptedTypes:
478         validForResourceTypes: *allResourceTypes
479     DG_XML:
480         acceptedTypes:
481         validForResourceTypes: *allResourceTypes
482     MURANO_PKG:
483         acceptedTypes:
484         validForResourceTypes: *allResourceTypes
485     OTHER:
486         acceptedTypes:
487         validForResourceTypes: *allResourceTypes
488     SNMP_POLL:
489         acceptedTypes:
490         validForResourceTypes: *allResourceTypes
491     SNMP_TRAP:
492         acceptedTypes:
493         validForResourceTypes: *allResourceTypes
494     GUIDE:
495         acceptedTypes:
496         validForResourceTypes:
497             - VF
498             - VFC
499
500 resourceInformationalDeployedArtifacts:
501
502
503 requirementsToFulfillBeforeCert:
504
505 capabilitiesToConsumeBeforeCert:
506
507 unLoggedUrls:
508    - /sdc2/rest/healthCheck
509
510 cleanComponentsConfiguration:
511     cleanIntervalInMinutes: 1440
512     componentsToClean:
513        - Resource
514        - Service
515
516 artifactsIndex: resources
517
518 heatEnvArtifactHeader:
519     ""
520 heatEnvArtifactFooter:
521     ""
522
523 onboarding:
524     protocol: http
525     host: <%= @host_ip %>
526     port: <%= @catalog_port %>
527     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
528
529
530 # #GSS IDNS
531 switchoverDetector:
532     gBeFqdn:
533     gFeFqdn:
534     beVip: 1.2.3.4
535     feVip: 1.2.3.4
536     beResolveAttempts: 3
537     feResolveAttempts: 3
538     enabled: false
539     interval: 60
540     changePriorityUser: ecompasdc
541     changePriorityPassword: ecompasdc123
542     publishNetworkUrl:
543     publishNetworkBody: '{"note":"comment"}'
544     groups:
545       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
546       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
547
548 applicationL1Cache:
549     datatypes:
550         enabled: true
551         firstRunDelay: 10
552         pollIntervalInSec: 60
553
554 applicationL2Cache:
555     enabled: true
556     catalogL1Cache:
557         enabled: true
558         resourcesSizeInCache: 300
559         servicesSizeInCache: 200
560         productsSizeInCache: 100
561     queue:
562         syncIntervalInSecondes: 43200
563         waitOnShutDownInMinutes: 10
564         numberOfCacheWorkers: 4
565
566 toscaValidators:
567     stringMaxLength: 2500
568
569 disableAudit: false
570
571 vfModuleProperties:
572     min_vf_module_instances:
573         forBaseModule: 1
574         forNonBaseModule: 0
575     max_vf_module_instances:
576         forBaseModule: 1
577         forNonBaseModule:
578     initial_count:
579         forBaseModule: 1
580         forNonBaseModule: 0
581     vf_module_type:
582         forBaseModule: Base
583         forNonBaseModule: Expansion
584
585 genericAssetNodeTypes:
586   VFC: org.openecomp.resource.abstract.nodes.VFC
587   VF : org.openecomp.resource.abstract.nodes.VF
588   Service: org.openecomp.resource.abstract.nodes.service