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