re base code
[sdc.git] / catalog-be / 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 # catalog backend hostname
9 beFqdn: <%= @catalog_ip %>
10
11 # catalog backend http port
12 beHttpPort: <%= @catalog_port %>
13
14 # catalog backend http context
15 beContext: /sdc/rest/config/get
16
17 # catalog backend protocol
18 <% if node[:disableHttp] -%>
19 beProtocol: https
20 <% else %>
21 beProtocol: http
22 <% end -%>
23
24 # catalog backend ssl port
25 beSslPort: <%= @ssl_port %>
26 version: 1.1.0
27 released: 2012-11-30
28 toscaConformanceLevel: 8.0
29 minToscaConformanceLevel: 3.0
30
31 titanCfgFile: /var/lib/jetty/config/catalog-be/titan.properties
32 titanInMemoryGraph: false
33 titanLockTimeout: 1800
34 # The interval to try and reconnect to titan DB when it is down during ASDC startup:
35 titanReconnectIntervalInSeconds: 3
36
37 # The read timeout towards Titan DB when health check is invoked:
38 titanHealthCheckReadTimeout: 1
39
40 # The interval to try and reconnect to Elasticsearch when it is down during ASDC startup:
41
42 esReconnectIntervalInSeconds: 3
43 uebHealthCheckReconnectIntervalInSeconds: 15
44 uebHealthCheckReadTimeout: 4
45
46 # Protocols
47 protocols:
48    - http
49    - https
50
51 # Default imports
52 defaultImports:
53    - nodes:
54         file: nodes.yml
55    - datatypes:
56         file: data.yml
57    - capabilities:
58         file: capabilities.yml
59    - relationships:
60         file: relationships.yml
61    - groups:
62         file: groups.yml
63    - policies:
64         file: policies.yml
65    - annotations:
66         file: annotations.yml
67
68 # Users
69 users:
70     tom: passwd
71     bob: passwd
72
73
74 cassandraConfig:
75     cassandraHosts: [<%= @cassandra_ip %>]
76     localDataCenter: <%= @DC_NAME %>
77     reconnectTimeout : 30000
78     socketReadTimeout: <%= @socket_read_timeout %>
79     socketConnectTimeout: <%= @socket_connect_timeout %>
80     authenticate: true
81     username: <%= @cassandra_usr %>
82     password: <%= @cassandra_pwd %>
83     ssl: <%= @cassandra_ssl_enabled %>
84     truststorePath : /var/lib/jetty/etc/truststore
85     truststorePassword : <%= @cassandra_truststore_password %>
86     keySpaces:
87         - { name: dox,           replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @REP_STRING %>']}
88         - { name: sdcaudit,      replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @REP_STRING %>']}
89         - { name: sdcartifact,   replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @REP_STRING %>']}
90         - { name: sdccomponent,  replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @REP_STRING %>']}
91         - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @REP_STRING %>']}
92
93 #Application-specific settings of ES
94 elasticSearch:
95     # Mapping of index prefix to time-based frame. For example, if below is configured:
96     #
97     # - indexPrefix: auditingevents
98     #    creationPeriod: minute
99     #
100     # 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.
101     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
102     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
103     #
104     # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
105     #
106     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
107     #
108     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
109
110     indicesTimeFrequency:
111       - indexPrefix: auditingevents
112         creationPeriod: month
113       - indexPrefix: monitoring_events
114         creationPeriod: month
115 artifactTypes:
116    - CHEF
117    - PUPPET
118    - SHELL
119    - YANG
120    - YANG_XML
121    - HEAT
122    - BPEL
123    - DG_XML
124    - MURANO_PKG
125    - WORKFLOW
126    - NETWORK_CALL_FLOW
127    - TOSCA_TEMPLATE
128    - TOSCA_CSAR
129    - AAI_SERVICE_MODEL
130    - AAI_VF_MODEL
131    - AAI_VF_MODULE_MODEL
132    - AAI_VF_INSTANCE_MODEL
133    - OTHER
134    - SNMP_POLL
135    - SNMP_TRAP
136    - GUIDE
137    - PLAN
138
139 licenseTypes:
140    - User
141    - Installation
142    - CPU
143
144 #Deployment artifacts placeHolder
145 resourceTypes: &allResourceTypes
146   - VFC
147   - CP
148   - VL
149   - VF
150   - CR
151   - VFCMT
152   - Abstract
153   - CVFC
154
155
156 deploymentResourceArtifacts:
157
158
159 deploymentResourceInstanceArtifacts:
160   heatEnv:
161       displayName: "HEAT ENV"
162       type: HEAT_ENV
163       description: "Auto-generated HEAT Environment deployment artifact"
164       fileExtension: "env"
165   VfHeatEnv:
166       displayName: "VF HEAT ENV"
167       type: HEAT_ENV
168       description: "VF Auto-generated HEAT Environment deployment artifact"
169       fileExtension: "env"
170
171 #tosca artifacts placeholders
172 toscaArtifacts:
173   assetToscaTemplate:
174       artifactName: -template.yml
175       displayName: Tosca Template
176       type: TOSCA_TEMPLATE
177       description: TOSCA representation of the asset
178   assetToscaCsar:
179       artifactName: -csar.csar
180       displayName: Tosca Model
181       type: TOSCA_CSAR
182       description: TOSCA definition package of the asset
183
184 #Informational artifacts placeHolder
185 excludeResourceCategory:
186   - Generic
187 excludeResourceType:
188   - PNF
189   - CR
190 informationalResourceArtifacts:
191   features:
192       displayName: Features
193       type: OTHER
194   capacity:
195       displayName: Capacity
196       type: OTHER
197   vendorTestResult:
198       displayName: Vendor Test Result
199       type: OTHER
200   testScripts:
201       displayName: Test Scripts
202       type: OTHER
203   CloudQuestionnaire:
204       displayName: Cloud Questionnaire (completed)
205       type: OTHER
206   HEATTemplateFromVendor:
207       displayName: HEAT Template from Vendor
208       type: HEAT
209   resourceSecurityTemplate:
210       displayName: Resource Security Template
211       type: OTHER
212
213 excludeServiceCategory:
214
215 informationalServiceArtifacts:
216   serviceArtifactPlan:
217       displayName: Service Artifact Plan
218       type: OTHER
219   summaryOfImpactsToECOMPElements:
220       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
221       type: OTHER
222   controlLoopFunctions:
223       displayName: Control Loop Functions
224       type: OTHER
225   dimensioningInfo:
226       displayName: Dimensioning Info
227       type: OTHER
228   affinityRules:
229       displayName: Affinity Rules
230       type: OTHER
231   operationalPolicies:
232       displayName: Operational Policies
233       type: OTHER
234   serviceSpecificPolicies:
235       displayName: Service-specific Policies
236       type: OTHER
237   engineeringRules:
238       displayName: Engineering Rules (ERD)
239       type: OTHER
240   distributionInstructions:
241       displayName: Distribution Instructions
242       type: OTHER
243   certificationTestResults:
244       displayName: TD Certification Test Results
245       type: OTHER
246   deploymentVotingRecord:
247       displayName: Deployment Voting Record
248       type: OTHER
249   serviceQuestionnaire:
250       displayName: Service Questionnaire
251       type: OTHER
252   serviceSecurityTemplate:
253       displayName: Service Security Template
254       type: OTHER
255
256 serviceApiArtifacts:
257   configuration:
258       displayName: Configuration
259       type: OTHER
260   instantiation:
261       displayName: Instantiation
262       type: OTHER
263   monitoring:
264       displayName: Monitoring
265       type: OTHER
266   reporting:
267       displayName: Reporting
268       type: OTHER
269   logging:
270       displayName: Logging
271       type: OTHER
272   testing:
273       displayName: Testing
274       type: OTHER
275
276
277 additionalInformationMaxNumberOfKeys: 50
278
279 systemMonitoring:
280     enabled: false
281     isProxy: false
282     probeIntervalInSeconds: 15
283 defaultHeatArtifactTimeoutMinutes: 60
284
285 serviceDeploymentArtifacts:
286     YANG_XML:
287         acceptedTypes:
288             - xml
289     VNF_CATALOG:
290         acceptedTypes:
291             - xml
292     MODEL_INVENTORY_PROFILE:
293         acceptedTypes:
294             - xml
295     MODEL_QUERY_SPEC:
296         acceptedTypes:
297             - xml
298     UCPE_LAYER_2_CONFIGURATION:
299         acceptedTypes:
300             - xml
301
302 #AAI Artifacts
303     AAI_SERVICE_MODEL:
304         acceptedTypes:
305             - xml
306     AAI_VF_MODULE_MODEL:
307         acceptedTypes:
308             - xml
309     AAI_VF_INSTANCE_MODEL:
310         acceptedTypes:
311             - xml
312     UCPE_LAYER_2_CONFIGURATION:
313         acceptedTypes:
314             - xml
315     OTHER:
316         acceptedTypes:
317
318 #PLAN
319     PLAN:
320         acceptedTypes:
321             - xml
322
323 resourceDeploymentArtifacts:
324     HEAT:
325         acceptedTypes:
326             - yaml
327             - yml
328         validForResourceTypes: *allResourceTypes
329     HEAT_VOL:
330         acceptedTypes:
331             - yaml
332             - yml
333         validForResourceTypes: *allResourceTypes
334     HEAT_NET:
335         acceptedTypes:
336             - yaml
337             - yml
338         validForResourceTypes: *allResourceTypes
339     HEAT_NESTED:
340         acceptedTypes:
341             - yaml
342             - yml
343         validForResourceTypes: *allResourceTypes
344     HEAT_ARTIFACT:
345         acceptedTypes:
346         validForResourceTypes: *allResourceTypes
347     YANG_XML:
348         acceptedTypes:
349             - xml
350         validForResourceTypes: *allResourceTypes
351     VNF_CATALOG:
352         acceptedTypes:
353             - xml
354         validForResourceTypes: *allResourceTypes
355     VF_LICENSE:
356         acceptedTypes:
357             - xml
358         validForResourceTypes: *allResourceTypes
359     VENDOR_LICENSE:
360         acceptedTypes:
361             - xml
362         validForResourceTypes: *allResourceTypes
363     MODEL_INVENTORY_PROFILE:
364         acceptedTypes:
365             - xml
366         validForResourceTypes: *allResourceTypes
367     MODEL_QUERY_SPEC:
368         acceptedTypes:
369             - xml
370         validForResourceTypes: *allResourceTypes
371     LIFECYCLE_OPERATIONS:
372         acceptedTypes:
373             - yaml
374             - yml
375         validForResourceTypes:
376             - VF
377             - VFC
378     VES_EVENTS:
379         acceptedTypes:
380             - yaml
381             - yml
382         validForResourceTypes: *allResourceTypes
383     PERFORMANCE_COUNTER:
384         acceptedTypes:
385             - csv
386         validForResourceTypes: *allResourceTypes
387     APPC_CONFIG:
388         acceptedTypes:
389         validForResourceTypes:
390             - VF
391     DCAE_TOSCA:
392         acceptedTypes:
393             - yml
394             - yaml
395         validForResourceTypes:
396             - VF
397             - VFCMT
398     DCAE_JSON:
399         acceptedTypes:
400             - json
401         validForResourceTypes:
402             - VF
403             - VFCMT
404     DCAE_POLICY:
405         acceptedTypes:
406             - emf
407         validForResourceTypes:
408             - VF
409             - VFCMT
410     DCAE_DOC:
411         acceptedTypes:
412         validForResourceTypes:
413             - VF
414             - VFCMT
415     DCAE_EVENT:
416         acceptedTypes:
417         validForResourceTypes:
418             - VF
419             - VFCMT
420     AAI_VF_MODEL:
421         acceptedTypes:
422             - xml
423         validForResourceTypes:
424             - VF
425     AAI_VF_MODULE_MODEL:
426         acceptedTypes:
427             - xml
428         validForResourceTypes:
429             - VF
430     OTHER:
431         acceptedTypes:
432         validForResourceTypes: *allResourceTypes
433     SNMP_POLL:
434         acceptedTypes:
435         validForResourceTypes: *allResourceTypes
436     SNMP_TRAP:
437         acceptedTypes:
438         validForResourceTypes: *allResourceTypes
439
440 #PLAN
441     PLAN:
442         acceptedTypes:
443             - xml
444         validForResourceTypes:
445             - VF
446             - VFC
447
448 resourceInstanceDeploymentArtifacts:
449     HEAT_ENV:
450         acceptedTypes:
451             - env
452     VF_MODULES_METADATA:
453         acceptedTypes:
454             - json
455     VES_EVENTS:
456         acceptedTypes:
457             - yaml
458             - yml
459     PERFORMANCE_COUNTER:
460         acceptedTypes:
461             - csv
462     DCAE_INVENTORY_TOSCA:
463         acceptedTypes:
464             - yml
465             - yaml
466     DCAE_INVENTORY_JSON:
467         acceptedTypes:
468             - json
469     DCAE_INVENTORY_POLICY:
470       acceptedTypes:
471             - emf
472     DCAE_INVENTORY_DOC:
473       acceptedTypes:
474     DCAE_INVENTORY_BLUEPRINT:
475       acceptedTypes:
476     DCAE_INVENTORY_EVENT:
477       acceptedTypes:
478     SNMP_POLL:
479         acceptedTypes:
480         validForResourceTypes: *allResourceTypes
481     SNMP_TRAP:
482         acceptedTypes:
483         validForResourceTypes: *allResourceTypes
484
485 #PLAN
486     PLAN:
487         acceptedTypes:
488             - xml
489
490 resourceInformationalArtifacts:
491     CHEF:
492         acceptedTypes:
493         validForResourceTypes: *allResourceTypes
494     PUPPET:
495         acceptedTypes:
496         validForResourceTypes: *allResourceTypes
497     SHELL:
498         acceptedTypes:
499         validForResourceTypes: *allResourceTypes
500     YANG:
501         acceptedTypes:
502         validForResourceTypes: *allResourceTypes
503     YANG_XML:
504         acceptedTypes:
505         validForResourceTypes: *allResourceTypes
506     HEAT:
507         acceptedTypes:
508         validForResourceTypes: *allResourceTypes
509     BPEL:
510         acceptedTypes:
511         validForResourceTypes: *allResourceTypes
512     DG_XML:
513         acceptedTypes:
514         validForResourceTypes: *allResourceTypes
515     MURANO_PKG:
516         acceptedTypes:
517         validForResourceTypes: *allResourceTypes
518     OTHER:
519         acceptedTypes:
520         validForResourceTypes:
521             - VFC
522             - CVFC
523             - CP
524             - VL
525             - VF
526             - CR
527             - VFCMT
528             - Abstract
529             - PNF
530     SNMP_POLL:
531         acceptedTypes:
532         validForResourceTypes: *allResourceTypes
533     SNMP_TRAP:
534         acceptedTypes:
535         validForResourceTypes: *allResourceTypes
536     GUIDE:
537         acceptedTypes:
538         validForResourceTypes:
539             - VF
540             - VFC
541             - CVFC
542
543 resourceInformationalDeployedArtifacts:
544
545
546 requirementsToFulfillBeforeCert:
547
548 capabilitiesToConsumeBeforeCert:
549
550 unLoggedUrls:
551    - /sdc2/rest/healthCheck
552
553 cleanComponentsConfiguration:
554     cleanIntervalInMinutes: 1440
555     componentsToClean:
556        - Resource
557        - Service
558
559 artifactsIndex: resources
560
561 heatEnvArtifactHeader: ""
562 heatEnvArtifactFooter: ""
563
564 onboarding:
565     host: <%= node['ONBOARDING_BE_VIP'] %>
566     <% if node[:disableHttp] -%>
567     protocol: https
568     port: <%= node['ONBOARDING_BE'][:https_port] %> 
569     <% else %>
570     protocol: http
571     port: <%= node['ONBOARDING_BE'][:http_port] %> 
572     <% end -%>
573     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
574     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
575
576 dcae:
577     host: <%= @dcae_be_vip %>
578     <% if node[:disableHttp] -%>
579     protocol: https
580     port: <%= node['DCAE']['BE'][:https_port] %>
581     <% else %>
582     protocol: http
583     port: <%= node['DCAE']['BE'][:http_port] %>
584     <% end -%>
585     healthCheckUri: "/dcae/healthCheck"
586
587 # #GSS IDNS
588 switchoverDetector:
589     gBeFqdn:
590     gFeFqdn:
591     beVip: 1.2.3.4
592     feVip: 1.2.3.4
593     beResolveAttempts: 3
594     feResolveAttempts: 3
595     enabled: false
596     interval: 60
597     changePriorityUser: ecompasdc
598     changePriorityPassword: ecompasdc123
599     publishNetworkUrl:
600     publishNetworkBody: '{"note":"comment"}'
601     groups:
602       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
603       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
604
605 applicationL1Cache:
606     datatypes:
607         enabled: true
608         firstRunDelay: 10
609         pollIntervalInSec: 60
610
611 applicationL2Cache:
612     enabled: false
613     catalogL1Cache:
614         enabled: false
615         resourcesSizeInCache: 300
616         servicesSizeInCache: 200
617         productsSizeInCache: 100
618     queue:
619         syncIntervalInSecondes: 43200
620         waitOnShutDownInMinutes: 10
621         numberOfCacheWorkers: 4
622
623 toscaValidators:
624     stringMaxLength: 2500
625
626 disableAudit: false
627
628 vfModuleProperties:
629     min_vf_module_instances:
630         forBaseModule: 1
631         forNonBaseModule: 0
632     max_vf_module_instances:
633         forBaseModule: 1
634         forNonBaseModule:
635     initial_count:
636         forBaseModule: 1
637         forNonBaseModule: 0
638     vf_module_type:
639         forBaseModule: Base
640         forNonBaseModule: Expansion
641
642 genericAssetNodeTypes:
643   VFC: org.openecomp.resource.abstract.nodes.VFC
644   CVFC: org.openecomp.resource.abstract.nodes.VFC
645   VF : org.openecomp.resource.abstract.nodes.VF
646   CR : org.openecomp.resource.abstract.nodes.CR
647   PNF: org.openecomp.resource.abstract.nodes.PNF
648   Service: org.openecomp.resource.abstract.nodes.service
649
650 workloadContext: Production
651
652 environmentContext:
653     defaultValue: General_Revenue-Bearing
654     validValues:
655        - Critical_Revenue-Bearing
656        - Vital_Revenue-Bearing
657        - Essential_Revenue-Bearing
658        - Important_Revenue-Bearing
659        - Needed_Revenue-Bearing
660        - Useful_Revenue-Bearing
661        - General_Revenue-Bearing
662        - Critical_Non-Revenue
663        - Vital_Non-Revenue
664        - Essential_Non-Revenue
665        - Important_Non-Revenue
666        - Needed_Non-Revenue
667        - Useful_Non-Revenue
668        - General_Non-Revenue
669
670 dmaapConsumerConfiguration:
671     hosts: localhost:3905
672     consumerGroup: sdc
673     consumerId: mama
674     timeoutMs: 15000
675     limit: 1
676     pollingInterval: 2
677     topic: topic
678     latitude: 32.109333
679     longitude: 34.855499
680     version: 1.0
681     serviceName: localhost/events
682     environment: TEST
683     partner: BOT_R
684     routeOffer: MR1
685     protocol: https
686     contenttype: application/json
687     dme2TraceOn: true
688     aftEnvironment: AFTUAT
689     aftDme2ConnectionTimeoutMs: 15000
690     aftDme2RoundtripTimeoutMs: 240000
691     aftDme2ReadTimeoutMs: 50000
692     dme2preferredRouterFilePath: DME2preferredRouter.txt
693     timeLimitForNotificationHandleMs: 120000
694     credential:
695         username: user
696         password:
697
698 dmeConfiguration:
699     dme2Search: DME2SEARCH
700     dme2Resolve: DME2RESOLVE
701
702 excludedPolicyTypesMapping:
703    # VF:
704     #  - a.b.c
705     #  - c.d.e
706     #CR:
707     #  - x.y.z
708
709 excludedGroupTypesMapping:
710     CR:
711        - org.openecomp.groups.VfModule
712        - org.openecomp.groups.heat.HeatStack
713        - tosca.groups.Root
714     PNF:
715        - org.openecomp.groups.VfModule
716        - org.openecomp.groups.heat.HeatStack
717        - tosca.groups.Root
718     VF:
719        - org.openecomp.groups.VfModule
720        - org.openecomp.groups.heat.HeatStack
721        - tosca.groups.Root
722     Service:
723        - org.openecomp.groups.VfModule
724        - org.openecomp.groups.heat.HeatStack
725        - tosca.groups.Root
726
727 healthStatusExclude:
728    - DE
729    - DMAAP
730    - DCAE